blink 0.1.50 → 0.1.52
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/dist/api/index.cjs +4 -2
- package/dist/api/index.d.cts +50 -1
- package/dist/api/index.d.ts +50 -1
- package/dist/api/index.js +4 -2
- package/dist/cli/chunk-ByIbJXPc.js +1 -0
- package/dist/cli/dev-DD1tf2AT.js +1625 -0
- package/dist/cli/devtools-D6beCbGn.js +91 -0
- package/dist/cli/esm-DiE8Xvft.js +1 -0
- package/dist/cli/execAsync-Cr3GNTA4.js +1 -0
- package/dist/cli/getMachineId-bsd-CY-GIKzh.js +1 -0
- package/dist/cli/getMachineId-darwin-BvUyLisY.js +2 -0
- package/dist/cli/getMachineId-linux-CaBhu4UD.js +1 -0
- package/dist/cli/getMachineId-unsupported-DsibGvjs.js +1 -0
- package/dist/cli/getMachineId-win-_QXKq1ge.js +1 -0
- package/dist/cli/index.js +36 -2040
- package/dist/cli/main-CiEwxfsi.js +138 -0
- package/dist/cli/undici-0ADe8h0l.js +94 -0
- package/dist/cli/undici-DjSrZtb9.js +1 -0
- package/dist/cli/wrapper-B4vDwpOq.js +6 -0
- package/package.json +2 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import{__commonJSMin as e,__toESM as t}from"./chunk-ByIbJXPc.js";import{wrapper_default as n}from"./wrapper-B4vDwpOq.js";const r=global;r.WebSocket||=n,r.window||=global,r.self||=global,r.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:`InternalApp`,isEnabled:!0,isValid:!0},{type:2,value:`InternalAppContext`,isEnabled:!0,isValid:!0},{type:2,value:`InternalStdoutContext`,isEnabled:!0,isValid:!0},{type:2,value:`InternalStderrContext`,isEnabled:!0,isValid:!0},{type:2,value:`InternalStdinContext`,isEnabled:!0,isValid:!0},{type:2,value:`InternalFocusContext`,isEnabled:!0,isValid:!0}];var i=e(((exports,t)=>{(function(n,r){typeof exports==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof exports==`object`?exports.ReactDevToolsBackend=r():n.ReactDevToolsBackend=r()})(self,()=>(()=>{var e={786:((e,t,n)=>{var r;
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-debug-tools.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
function i(e){"@babel/helpers - typeof";return i=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},i(e)}var a=n(206),o=n(189),s=Object.assign,c=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,l=Symbol.for(`react.context`),u=Symbol.for(`react.memo_cache_sentinel`),d=Object.prototype.hasOwnProperty,f=[],p=null;function m(){if(p===null){var e=new Map;try{if(x.useContext({_currentValue:null}),x.useState(null),x.useReducer(function(e){return e},null),x.useRef(null),typeof x.useCacheRefresh==`function`&&x.useCacheRefresh(),x.useLayoutEffect(function(){}),x.useInsertionEffect(function(){}),x.useEffect(function(){}),x.useImperativeHandle(void 0,function(){return null}),x.useDebugValue(null),x.useCallback(function(){}),x.useTransition(),x.useSyncExternalStore(function(){return function(){}},function(){return null},function(){return null}),x.useDeferredValue(null),x.useMemo(function(){return null}),x.useOptimistic(null,function(e){return e}),x.useFormState(function(e){return e},null),x.useActionState(function(e){return e},null),x.useHostTransitionStatus(),typeof x.useMemoCache==`function`&&x.useMemoCache(0),typeof x.use==`function`){x.use({$$typeof:l,_currentValue:null}),x.use({then:function(){},status:`fulfilled`,value:null});try{x.use({then:function(){}})}catch{}}x.useId(),typeof x.useEffectEvent==`function`&&x.useEffectEvent(function(){})}finally{var t=f;f=[]}for(var n=0;n<t.length;n++){var r=t[n];e.set(r.primitive,a.parse(r.stackError))}p=e}return p}var h=null,g=null,_=null;function v(){var e=g;return e!==null&&(g=e.next),e}function y(e){if(h===null)return e._currentValue;if(_===null)throw Error(`Context reads do not line up with context dependencies. This is a bug in React Debug Tools.`);return d.call(_,`memoizedValue`)?(e=_.memoizedValue,_=_.next):e=e._currentValue,e}var b=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`."),x={readContext:y,use:function(e){if(e!==null&&i(e)===`object`){if(typeof e.then==`function`){switch(e.status){case`fulfilled`:var t=e.value;return f.push({displayName:null,primitive:`Promise`,stackError:Error(),value:t,debugInfo:e._debugInfo===void 0?null:e._debugInfo,dispatcherHookName:`Use`}),t;case`rejected`:throw e.reason}throw f.push({displayName:null,primitive:`Unresolved`,stackError:Error(),value:e,debugInfo:e._debugInfo===void 0?null:e._debugInfo,dispatcherHookName:`Use`}),b}if(e.$$typeof===l)return t=y(e),f.push({displayName:e.displayName||`Context`,primitive:`Context (use)`,stackError:Error(),value:t,debugInfo:null,dispatcherHookName:`Use`}),t}throw Error(`An unsupported type was passed to use(): `+String(e))},useCallback:function(e){var t=v();return f.push({displayName:null,primitive:`Callback`,stackError:Error(),value:t===null?e:t.memoizedState[0],debugInfo:null,dispatcherHookName:`Callback`}),e},useContext:function(e){var t=y(e);return f.push({displayName:e.displayName||null,primitive:`Context`,stackError:Error(),value:t,debugInfo:null,dispatcherHookName:`Context`}),t},useEffect:function(e){v(),f.push({displayName:null,primitive:`Effect`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`Effect`})},useImperativeHandle:function(e){v();var t=void 0;e!==null&&i(e)===`object`&&(t=e.current),f.push({displayName:null,primitive:`ImperativeHandle`,stackError:Error(),value:t,debugInfo:null,dispatcherHookName:`ImperativeHandle`})},useLayoutEffect:function(e){v(),f.push({displayName:null,primitive:`LayoutEffect`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`LayoutEffect`})},useInsertionEffect:function(e){v(),f.push({displayName:null,primitive:`InsertionEffect`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`InsertionEffect`})},useMemo:function(e){var t=v();return e=t===null?e():t.memoizedState[0],f.push({displayName:null,primitive:`Memo`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`Memo`}),e},useReducer:function(e,t,n){return e=v(),t=e===null?n===void 0?t:n(t):e.memoizedState,f.push({displayName:null,primitive:`Reducer`,stackError:Error(),value:t,debugInfo:null,dispatcherHookName:`Reducer`}),[t,function(){}]},useRef:function(e){var t=v();return e=t===null?{current:e}:t.memoizedState,f.push({displayName:null,primitive:`Ref`,stackError:Error(),value:e.current,debugInfo:null,dispatcherHookName:`Ref`}),e},useState:function(e){var t=v();return e=t===null?typeof e==`function`?e():e:t.memoizedState,f.push({displayName:null,primitive:`State`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`State`}),[e,function(){}]},useDebugValue:function(e,t){f.push({displayName:null,primitive:`DebugValue`,stackError:Error(),value:typeof t==`function`?t(e):e,debugInfo:null,dispatcherHookName:`DebugValue`})},useDeferredValue:function(e){var t=v();return e=t===null?e:t.memoizedState,f.push({displayName:null,primitive:`DeferredValue`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`DeferredValue`}),e},useTransition:function(){var e=v();return v(),e=e===null?!1:e.memoizedState,f.push({displayName:null,primitive:`Transition`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`Transition`}),[e,function(){}]},useSyncExternalStore:function(e,t){return v(),v(),e=t(),f.push({displayName:null,primitive:`SyncExternalStore`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`SyncExternalStore`}),e},useId:function(){var e=v();return e=e===null?``:e.memoizedState,f.push({displayName:null,primitive:`Id`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`Id`}),e},useHostTransitionStatus:function(){var e=y({_currentValue:null});return f.push({displayName:null,primitive:`HostTransitionStatus`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`HostTransitionStatus`}),e},useFormState:function(e,t){var n=v();v(),v(),e=Error();var r=null,a=null;if(n!==null)if(t=n.memoizedState,i(t)===`object`&&t!==null&&typeof t.then==`function`)switch(t.status){case`fulfilled`:var o=t.value;r=t._debugInfo===void 0?null:t._debugInfo;break;case`rejected`:a=t.reason;break;default:a=b,r=t._debugInfo===void 0?null:t._debugInfo,o=t}else o=t;else o=t;if(f.push({displayName:null,primitive:`FormState`,stackError:e,value:o,debugInfo:r,dispatcherHookName:`FormState`}),a!==null)throw a;return[o,function(){},!1]},useActionState:function(e,t){var n=v();v(),v(),e=Error();var r=null,a=null;if(n!==null)if(t=n.memoizedState,i(t)===`object`&&t!==null&&typeof t.then==`function`)switch(t.status){case`fulfilled`:var o=t.value;r=t._debugInfo===void 0?null:t._debugInfo;break;case`rejected`:a=t.reason;break;default:a=b,r=t._debugInfo===void 0?null:t._debugInfo,o=t}else o=t;else o=t;if(f.push({displayName:null,primitive:`ActionState`,stackError:e,value:o,debugInfo:r,dispatcherHookName:`ActionState`}),a!==null)throw a;return[o,function(){},!1]},useOptimistic:function(e){var t=v();return e=t===null?e:t.memoizedState,f.push({displayName:null,primitive:`Optimistic`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`Optimistic`}),[e,function(){}]},useMemoCache:function(e){var t=h;if(t==null||(t=t.updateQueue==null?null:t.updateQueue.memoCache,t==null))return[];var n=t.data[t.index];if(n===void 0){n=t.data[t.index]=Array(e);for(var r=0;r<e;r++)n[r]=u}return t.index++,n},useCacheRefresh:function(){var e=v();return f.push({displayName:null,primitive:`CacheRefresh`,stackError:Error(),value:e===null?function(){}:e.memoizedState,debugInfo:null,dispatcherHookName:`CacheRefresh`}),function(){}},useEffectEvent:function(e){return v(),f.push({displayName:null,primitive:`EffectEvent`,stackError:Error(),value:e,debugInfo:null,dispatcherHookName:`EffectEvent`}),e}},S={get:function(e,t){if(e.hasOwnProperty(t))return e[t];throw e=Error(`Missing method in Dispatcher: `+t),e.name=`ReactDebugToolsUnsupportedHookError`,e}},C=typeof Proxy>`u`?x:new Proxy(x,S),w=0;function T(e,t,n){var r=t[n].source,i=0;a:for(;i<e.length;i++)if(e[i].source===r){for(var a=n+1,o=i+1;a<t.length&&o<e.length;a++,o++)if(e[o].source!==t[a].source)continue a;return i}return-1}function E(e,t){return e=D(e),t===`HostTransitionStatus`?e===t||e===`FormStatus`:e===t}function D(e){if(!e)return``;var t=e.lastIndexOf(`[as `);if(t!==-1)return D(e.slice(t+4,-1));if(t=e.lastIndexOf(`.`),t=t===-1?0:t+1,e.slice(t).startsWith(`unstable_`)&&(t+=9),e.slice(t).startsWith(`experimental_`)&&(t+=13),e.slice(t,t+3)===`use`){if(e.length-t===3)return`Use`;t+=3}return e.slice(t)}function O(e,t){for(var n=[],r=null,i=n,o=0,s=[],c=0;c<t.length;c++){var l=t[c],u=e,d=a.parse(l.stackError);b:{var f=d,p=T(f,u,w);if(p!==-1)u=p;else{for(var h=0;h<u.length&&5>h;h++)if(p=T(f,u,h),p!==-1){w=h,u=p;break b}u=-1}}b:{if(f=d,p=m().get(l.primitive),p!==void 0){for(h=0;h<p.length&&h<f.length;h++)if(p[h].source!==f[h].source){h<f.length-1&&E(f[h].functionName,l.dispatcherHookName)&&h++,h<f.length-1&&E(f[h].functionName,l.dispatcherHookName)&&h++,f=h;break b}}f=-1}if(d=u===-1||f===-1||2>u-f?f===-1?[null,null]:[d[f-1],null]:[d[f-1],d.slice(f,u-1)],f=d[0],d=d[1],u=l.displayName,u===null&&f!==null&&(u=D(f.functionName)||D(l.dispatcherHookName)),d!==null){if(f=0,r!==null){for(;f<d.length&&f<r.length&&d[d.length-f-1].source===r[r.length-f-1].source;)f++;for(r=r.length-1;r>f;r--)i=s.pop()}for(r=d.length-f-1;1<=r;r--)f=[],p=d[r],p={id:null,isStateEditable:!1,name:D(d[r-1].functionName),value:void 0,subHooks:f,debugInfo:null,hookSource:{lineNumber:p.lineNumber,columnNumber:p.columnNumber,functionName:p.functionName,fileName:p.fileName}},i.push(p),s.push(i),i=f;r=d}f=l.primitive,p=l.debugInfo,l={id:f===`Context`||f===`Context (use)`||f===`DebugValue`||f===`Promise`||f===`Unresolved`||f===`HostTransitionStatus`?null:o++,isStateEditable:f===`Reducer`||f===`State`,name:u||f,value:l.value,subHooks:[],debugInfo:p,hookSource:null},u={lineNumber:null,functionName:null,fileName:null,columnNumber:null},d&&1<=d.length&&(d=d[0],u.lineNumber=d.lineNumber,u.functionName=d.functionName,u.fileName=d.fileName,u.columnNumber=d.columnNumber),l.hookSource=u,i.push(l)}return k(n,null),n}function k(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];i.name===`DebugValue`&&i.subHooks.length===0?(e.splice(r,1),r--,n.push(i)):k(i.subHooks,i)}t!==null&&(n.length===1?t.value=n[0].value:1<n.length&&(t.value=n.map(function(e){return e.value})))}function A(e){if(e!==b){if(e instanceof Error&&e.name===`ReactDebugToolsUnsupportedHookError`)throw e;var t=Error(`Error rendering inspected component`,{cause:e});throw t.name=`ReactDebugToolsRenderError`,t.cause=e,t}}function j(e,t,n){n??=c;var r=n.H;n.H=C;try{var i=Error();e(t)}catch(e){A(e)}finally{e=f,f=[],n.H=r}return n=a.parse(i),O(n,e)}function M(e){e.forEach(function(e,t){return t._currentValue=e})}r=j,t.inspectHooksOfFiber=function(e,t){if(t??=c,e.tag!==0&&e.tag!==15&&e.tag!==11)throw Error(`Unknown Fiber. Needs to be a function component to inspect hooks.`);if(m(),g=e.memoizedState,h=e,d.call(h,`dependencies`)){var n=h.dependencies;_=n===null?null:n.firstContext}else if(d.call(h,`dependencies_old`))n=h.dependencies_old,_=n===null?null:n.firstContext;else if(d.call(h,`dependencies_new`))n=h.dependencies_new,_=n===null?null:n.firstContext;else if(d.call(h,`contextDependencies`))n=h.contextDependencies,_=n===null?null:n.first;else throw Error(`Unsupported React version. This is a bug in React Debug Tools.`);n=e.type;var r=e.memoizedProps;if(n!==e.elementType&&n&&n.defaultProps){r=s({},r);var i=n.defaultProps;for(o in i)r[o]===void 0&&(r[o]=i[o])}var o=new Map;try{if(_!==null&&!d.call(_,`memoizedValue`))for(i=e;i;){if(i.tag===10){var l=i.type;l._context!==void 0&&(l=l._context),o.has(l)||(o.set(l,l._currentValue),l._currentValue=i.memoizedProps.value)}i=i.return}if(e.tag===11){var u=n.render;l=r;var p=e.ref;e=t;var v=e.H;e.H=C;try{var y=Error();u(l,p)}catch(e){A(e)}finally{var b=f;f=[],e.H=v}var x=a.parse(y);return O(x,b)}return j(n,r,t)}finally{_=g=h=null,M(o)}}}),987:((e,t,n)=>{e.exports=n(786)}),126:((e,t,n)=>{var r=n(169);
|
|
12
|
+
/**
|
|
13
|
+
* @license React
|
|
14
|
+
* react.production.js
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
function i(e){"@babel/helpers - typeof";return i=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},i(e)}var a=Symbol.for(`react.transitional.element`),o=Symbol.for(`react.portal`),s=Symbol.for(`react.fragment`),c=Symbol.for(`react.strict_mode`),l=Symbol.for(`react.profiler`),u=Symbol.for(`react.consumer`),d=Symbol.for(`react.context`),f=Symbol.for(`react.forward_ref`),p=Symbol.for(`react.suspense`),m=Symbol.for(`react.suspense_list`),h=Symbol.for(`react.memo`),g=Symbol.for(`react.lazy`),_=Symbol.for(`react.activity`),v=Symbol.for(`react.postpone`),y=Symbol.for(`react.view_transition`),b=Symbol.iterator;function x(e){return e===null||i(e)!==`object`?null:(e=b&&e[b]||e[`@@iterator`],typeof e==`function`?e:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,w={};function T(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||S}T.prototype.isReactComponent={},T.prototype.setState=function(e,t){if(i(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`)},T.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function E(){}E.prototype=T.prototype;function D(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||S}var O=D.prototype=new E;O.constructor=D,C(O,T.prototype),O.isPureReactComponent=!0;var k=Array.isArray;function A(){}var j={H:null,A:null,T:null,S:null,G:null},M=Object.prototype.hasOwnProperty;function N(e,t,n,r,i,o){return n=o.ref,{$$typeof:a,type:e,key:t,ref:n===void 0?null:n,props:o}}function P(e,t){return N(e.type,t,void 0,void 0,void 0,e.props)}function F(e){return i(e)===`object`&&e!==null&&e.$$typeof===a}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var I=/\/+/g;function L(e,t){return i(e)===`object`&&e!==null&&e.key!=null?ee(``+e.key):t.toString(36)}function te(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(A,A):(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 R(e,t,n,r,s){var c=i(e);(c===`undefined`||c===`boolean`)&&(e=null);var l=!1;if(e===null)l=!0;else switch(c){case`bigint`:case`string`:case`number`:l=!0;break;case`object`:switch(e.$$typeof){case a:case o:l=!0;break;case g:return l=e._init,R(l(e._payload),t,n,r,s)}}if(l)return s=s(e),l=r===``?`.`+L(e,0):r,k(s)?(n=``,l!=null&&(n=l.replace(I,`$&/`)+`/`),R(s,t,n,``,function(e){return e})):s!=null&&(F(s)&&(s=P(s,n+(s.key==null||e&&e.key===s.key?``:(``+s.key).replace(I,`$&/`)+`/`)+l)),t.push(s)),1;l=0;var u=r===``?`.`:r+`:`;if(k(e))for(var d=0;d<e.length;d++)r=e[d],c=u+L(r,d),l+=R(r,t,n,c,s);else if(d=x(e),typeof d==`function`)for(e=d.call(e),d=0;!(r=e.next()).done;)r=r.value,c=u+L(r,d++),l+=R(r,t,n,c,s);else if(c===`object`){if(typeof e.then==`function`)return R(te(e),t,n,r,s);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 l}function z(e,t,n){if(e==null)return e;var r=[],i=0;return R(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function B(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}function ne(e,t){return j.H.useOptimistic(e,t)}var re=typeof reportError==`function`?reportError:function(e){if((typeof window>`u`?`undefined`:i(window))===`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:i(e)===`object`&&e!==null&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if((r===void 0?`undefined`:i(r))===`object`&&typeof r.emit==`function`){r.emit(`uncaughtException`,e);return}console.error(e)};function ie(e){var t=j.T,n={};n.types=t===null?null:t.types,n.gesture=null,j.T=n;try{var r=e(),a=j.S;a!==null&&a(n,r),i(r)===`object`&&r!==null&&typeof r.then==`function`&&r.then(A,re)}catch(e){re(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),j.T=t}}function ae(e){var t=j.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else ie(ae.bind(null,e))}t.Children={map:z,forEach:function(e,t,n){z(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return z(e,function(){t++}),t},toArray:function(e){return z(e,function(e){return e})||[]},only:function(e){if(!F(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},t.Component=T,t.Fragment=s,t.Profiler=l,t.PureComponent=D,t.StrictMode=c,t.Suspense=p,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return j.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=C({},e.props),i=e.key,a=void 0;if(t!=null)for(o in t.ref!==void 0&&(a=void 0),t.key!==void 0&&(i=``+t.key),t)!M.call(t,o)||o===`key`||o===`__self`||o===`__source`||o===`ref`&&t.ref===void 0||(r[o]=t[o]);var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];r.children=s}return N(e.type,i,void 0,void 0,a,r)},t.createContext=function(e){return e={$$typeof:d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:u,_context:e},e},t.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)M.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return N(e,a,void 0,void 0,null,i)},t.createRef=function(){return{current:null}},t.experimental_useEffectEvent=function(e){return j.H.useEffectEvent(e)},t.experimental_useOptimistic=function(e,t){return ne(e,t)},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=F,t.lazy=function(e){return{$$typeof:g,_payload:{_status:-1,_result:e},_init:B}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:t===void 0?null:t}},t.startTransition=ie,t.unstable_Activity=_,t.unstable_SuspenseList=m,t.unstable_ViewTransition=y,t.unstable_addTransitionType=ae,t.unstable_getCacheForType=function(e){var t=j.A;return t?t.getCacheForType(e):e()},t.unstable_postpone=function(e){throw e=Error(e),e.$$typeof=v,e},t.unstable_startGestureTransition=function(e,t,n){if(e==null)throw Error(`A Timeline is required as the first argument to startGestureTransition.`);var r=j.T,i={types:null};i.gesture=e,j.T=i;try{t();var a=j.G;if(a!==null)return a(i,e,n)}catch(e){re(e)}finally{j.T=r}return A},t.unstable_useCacheRefresh=function(){return j.H.useCacheRefresh()},t.use=function(e){return j.H.use(e)},t.useActionState=function(e,t,n){return j.H.useActionState(e,t,n)},t.useCallback=function(e,t){return j.H.useCallback(e,t)},t.useContext=function(e){return j.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return j.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return j.H.useEffect(e,t)},t.useId=function(){return j.H.useId()},t.useImperativeHandle=function(e,t,n){return j.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return j.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return j.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return j.H.useMemo(e,t)},t.useOptimistic=ne,t.useReducer=function(e,t,n){return j.H.useReducer(e,t,n)},t.useRef=function(e){return j.H.useRef(e)},t.useState=function(e){return j.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return j.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return j.H.useTransition()},t.version=`19.2.0-experimental-5d87cd22-20250704`}),189:((e,t,n)=>{e.exports=n(126)}),206:(function(e,t,n){var r,i,a;function o(e){"@babel/helpers - typeof";return o=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},o(e)}(function(o,s){i=[n(430)],r=s,a=typeof r==`function`?r.apply(t,i):r,a!==void 0&&(e.exports=a)})(this,function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(e.stacktrace!==void 0||e[`opera#sourceloc`]!==void 0)return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw Error(`Cannot parse given Error object`)},extractLocation:function(e){if(e.indexOf(`:`)===-1)return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/,n=t.exec(e.replace(/[()]/g,``));return[n[1],n[2]||void 0,n[3]||void 0]},parseV8OrIE:function(t){var r=t.stack.split(`
|
|
22
|
+
`).filter(function(e){return!!e.match(n)},this);return r.map(function(t){t.indexOf(`(eval `)>-1&&(t=t.replace(/eval code/g,`eval`).replace(/(\(eval at [^()]*)|(\),.*$)/g,``));var n=t.replace(/^\s+/,``).replace(/\(eval code/g,`(`),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/);n=r?n.replace(r[0],``):n;var i=n.split(/\s+/).slice(1),a=this.extractLocation(r?r[1]:i.pop()),o=i.join(` `)||void 0,s=[`eval`,`<anonymous>`].indexOf(a[0])>-1?void 0:a[0];return new e({functionName:o,fileName:s,lineNumber:a[1],columnNumber:a[2],source:t})},this)},parseFFOrSafari:function(t){var n=t.stack.split(`
|
|
23
|
+
`).filter(function(e){return!e.match(r)},this);return n.map(function(t){if(t.indexOf(` > eval`)>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,`:$1`)),t.indexOf(`@`)===-1&&t.indexOf(`:`)===-1)return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,a=this.extractLocation(t.replace(n,``));return new e({functionName:i,fileName:a[0],lineNumber:a[1],columnNumber:a[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf(`
|
|
24
|
+
`)>-1&&e.message.split(`
|
|
25
|
+
`).length>e.stacktrace.split(`
|
|
26
|
+
`).length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split(`
|
|
27
|
+
`),i=[],a=2,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new e({fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split(`
|
|
28
|
+
`),i=[],a=0,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera11:function(n){var r=n.stack.split(`
|
|
29
|
+
`).filter(function(e){return!!e.match(t)&&!e.match(/^Error created at/)},this);return r.map(function(t){var n=t.split(`@`),r=this.extractLocation(n.pop()),i=n.shift()||``,a=i.replace(/<anonymous function(: (\w+))?>/,`$2`).replace(/\([^)]*\)/g,``)||void 0,o;i.match(/\(([^)]*)\)/)&&(o=i.replace(/^[^(]+\(([^)]*)\)$/,`$1`));var s=o===void 0||o===`[arguments not available]`?void 0:o.split(`,`);return new e({functionName:a,args:s,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:t})},this)}}})}),730:((e,t,n)=>{function r(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var o=n(695),s=Symbol(`max`),c=Symbol(`length`),l=Symbol(`lengthCalculator`),u=Symbol(`allowStale`),d=Symbol(`maxAge`),f=Symbol(`dispose`),p=Symbol(`noDisposeOnSet`),m=Symbol(`lruList`),h=Symbol(`cache`),g=Symbol(`updateAgeOnGet`),_=function(){return 1},v=function(){function e(t){if(r(this,e),typeof t==`number`&&(t={max:t}),t||={},t.max&&(typeof t.max!=`number`||t.max<0))throw TypeError(`max must be a non-negative number`);this[s]=t.max||1/0;var n=t.length||_;if(this[l]=typeof n==`function`?n:_,this[u]=t.stale||!1,t.maxAge&&typeof t.maxAge!=`number`)throw TypeError(`maxAge must be a number`);this[d]=t.maxAge||0,this[f]=t.dispose,this[p]=t.noDisposeOnSet||!1,this[g]=t.updateAgeOnGet||!1,this.reset()}return a(e,[{key:`max`,get:function(){return this[s]},set:function(e){if(typeof e!=`number`||e<0)throw TypeError(`max must be a non-negative number`);this[s]=e||1/0,x(this)}},{key:`allowStale`,get:function(){return this[u]},set:function(e){this[u]=!!e}},{key:`maxAge`,get:function(){return this[d]},set:function(e){if(typeof e!=`number`)throw TypeError(`maxAge must be a non-negative number`);this[d]=e,x(this)}},{key:`lengthCalculator`,get:function(){return this[l]},set:function(e){var t=this;typeof e!=`function`&&(e=_),e!==this[l]&&(this[l]=e,this[c]=0,this[m].forEach(function(e){e.length=t[l](e.value,e.key),t[c]+=e.length})),x(this)}},{key:`length`,get:function(){return this[c]}},{key:`itemCount`,get:function(){return this[m].length}},{key:`rforEach`,value:function(e,t){t||=this;for(var n=this[m].tail;n!==null;){var r=n.prev;w(this,e,n,t),n=r}}},{key:`forEach`,value:function(e,t){t||=this;for(var n=this[m].head;n!==null;){var r=n.next;w(this,e,n,t),n=r}}},{key:`keys`,value:function(){return this[m].toArray().map(function(e){return e.key})}},{key:`values`,value:function(){return this[m].toArray().map(function(e){return e.value})}},{key:`reset`,value:function(){var e=this;this[f]&&this[m]&&this[m].length&&this[m].forEach(function(t){return e[f](t.key,t.value)}),this[h]=new Map,this[m]=new o,this[c]=0}},{key:`dump`,value:function(){var e=this;return this[m].map(function(t){return b(e,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}}).toArray().filter(function(e){return e})}},{key:`dumpLru`,value:function(){return this[m]}},{key:`set`,value:function(e,t,n){if(n||=this[d],n&&typeof n!=`number`)throw TypeError(`maxAge must be a number`);var r=n?Date.now():0,i=this[l](t,e);if(this[h].has(e)){if(i>this[s])return S(this,this[h].get(e)),!1;var a=this[h].get(e),o=a.value;return this[f]&&(this[p]||this[f](e,o.value)),o.now=r,o.maxAge=n,o.value=t,this[c]+=i-o.length,o.length=i,this.get(e),x(this),!0}var u=new C(e,t,i,r,n);return u.length>this[s]?(this[f]&&this[f](e,t),!1):(this[c]+=u.length,this[m].unshift(u),this[h].set(e,this[m].head),x(this),!0)}},{key:`has`,value:function(e){if(!this[h].has(e))return!1;var t=this[h].get(e).value;return!b(this,t)}},{key:`get`,value:function(e){return y(this,e,!0)}},{key:`peek`,value:function(e){return y(this,e,!1)}},{key:`pop`,value:function(){var e=this[m].tail;return e?(S(this,e),e.value):null}},{key:`del`,value:function(e){S(this,this[h].get(e))}},{key:`load`,value:function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(i===0)this.set(r.k,r.v);else{var a=i-t;a>0&&this.set(r.k,r.v,a)}}}},{key:`prune`,value:function(){var e=this;this[h].forEach(function(t,n){return y(e,n,!1)})}}])}(),y=function(e,t,n){var r=e[h].get(t);if(r){var i=r.value;if(b(e,i)){if(S(e,r),!e[u])return}else n&&(e[g]&&(r.value.now=Date.now()),e[m].unshiftNode(r));return i.value}},b=function(e,t){if(!t||!t.maxAge&&!e[d])return!1;var n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[d]&&n>e[d]},x=function(e){if(e[c]>e[s])for(var t=e[m].tail;e[c]>e[s]&&t!==null;){var n=t.prev;S(e,t),t=n}},S=function(e,t){if(t){var n=t.value;e[f]&&e[f](n.key,n.value),e[c]-=n.length,e[h].delete(n.key),e[m].removeNode(t)}},C=a(function e(t,n,i,a,o){r(this,e),this.key=t,this.value=n,this.length=i,this.now=a,this.maxAge=o||0}),w=function(e,t,n,r){var i=n.value;b(e,i)&&(S(e,n),e[u]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=v}),169:(e=>{var t=e.exports={},n,r;function i(){throw Error(`setTimeout has not been defined`)}function a(){throw Error(`clearTimeout has not been defined`)}(function(){try{n=typeof setTimeout==`function`?setTimeout:i}catch{n=i}try{r=typeof clearTimeout==`function`?clearTimeout:a}catch{r=a}})();function o(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch{try{return n.call(null,e,0)}catch{return n.call(this,e,0)}}}function s(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch{try{return r.call(null,e)}catch{return r.call(this,e)}}}var c=[],l=!1,u,d=-1;function f(){!l||!u||(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=o(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,s(e)}}t.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),c.length===1&&!l&&o(p)};function m(e,t){this.fun=e,this.array=t}m.prototype.run=function(){this.fun.apply(null,this.array)},t.title=`browser`,t.browser=!0,t.env={},t.argv=[],t.version=``,t.versions={};function h(){}t.on=h,t.addListener=h,t.once=h,t.off=h,t.removeListener=h,t.removeAllListeners=h,t.emit=h,t.prependListener=h,t.prependOnceListener=h,t.listeners=function(e){return[]},t.binding=function(e){throw Error(`process.binding is not supported`)},t.cwd=function(){return`/`},t.chdir=function(e){throw Error(`process.chdir is not supported`)},t.umask=function(){return 0}}),430:(function(e,t){var n,r,i;function a(e){"@babel/helpers - typeof";return a=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},a(e)}(function(a,o){r=[],n=o,i=typeof n==`function`?n.apply(t,r):n,i!==void 0&&(e.exports=i)})(this,function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=[`isConstructor`,`isEval`,`isNative`,`isToplevel`],i=[`columnNumber`,`lineNumber`],a=[`fileName`,`functionName`,`source`],o=[`args`],s=r.concat(i,a,o);function c(e){if(e)for(var n=0;n<s.length;n++)e[s[n]]!==void 0&&this[`set`+t(s[n])](e[s[n]])}c.prototype={getArgs:function(){return this.args},setArgs:function(e){if(Object.prototype.toString.call(e)!==`[object Array]`)throw TypeError(`Args must be an Array`);this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof c)this.evalOrigin=e;else if(e instanceof Object)this.evalOrigin=new c(e);else throw TypeError(`Eval Origin must be an Object or StackFrame`)},toString:function(){var e=this.getFileName()||``,t=this.getLineNumber()||``,n=this.getColumnNumber()||``,r=this.getFunctionName()||``;return this.getIsEval()?e?`[eval] (`+e+`:`+t+`:`+n+`)`:`[eval]:`+t+`:`+n:r?r+` (`+e+`:`+t+`:`+n+`)`:e+`:`+t+`:`+n}},c.fromString=function(e){var t=e.indexOf(`(`),n=e.lastIndexOf(`)`),r=e.substring(0,t),i=e.substring(t+1,n).split(`,`),a=e.substring(n+1);if(a.indexOf(`@`)===0)var o=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a,``),s=o[1],l=o[2],u=o[3];return new c({functionName:r,args:i||void 0,fileName:s,lineNumber:l||void 0,columnNumber:u||void 0})};for(var l=0;l<r.length;l++)c.prototype[`get`+t(r[l])]=n(r[l]),c.prototype[`set`+t(r[l])]=function(e){return function(t){this[e]=!!t}}(r[l]);for(var u=0;u<i.length;u++)c.prototype[`get`+t(i[u])]=n(i[u]),c.prototype[`set`+t(i[u])]=function(t){return function(n){if(!e(n))throw TypeError(t+` must be a Number`);this[t]=Number(n)}}(i[u]);for(var d=0;d<a.length;d++)c.prototype[`get`+t(a[d])]=n(a[d]),c.prototype[`set`+t(a[d])]=function(e){return function(t){this[e]=String(t)}}(a[d]);return c})}),476:(e=>{e.exports=function(e){e.prototype[Symbol.iterator]=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head;case 1:if(!t){e.next=7;break}return e.next=4,t.value;case 4:t=t.next,e.next=1;break;case 7:case`end`:return e.stop()}},e,this)})}}),695:((e,t,n)=>{e.exports=r,r.Node=s,r.create=r;function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach==`function`)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}r.prototype.removeNode=function(e){if(e.list!==this)throw Error(`removing node which does not belong to this list`);var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||=e,this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||=e,this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t||=this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t||=this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value},r.prototype.map=function(e,t){t||=this;for(var n=new r,i=this.head;i!==null;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t||=this;for(var n=new r,i=this.tail;i!==null;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw TypeError(`Reduce of empty list with no initial value`);for(var i=0;r!==null;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw TypeError(`Reduce of empty list with no initial value`);for(var i=this.length-1;r!==null;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){t||=this.length,t<0&&(t+=this.length),e||=0,e<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,a=this.head;a!==null&&i<e;i++)a=a.next;for(;a!==null&&i<t;i++,a=a.next)n.push(a.value);return n},r.prototype.sliceReverse=function(e,t){t||=this.length,t<0&&(t+=this.length),e||=0,e<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,a=this.tail;a!==null&&i>t;i--)a=a.prev;for(;a!==null&&i>e;i--,a=a.prev)n.push(a.value);return n},r.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,r=this.head;r!==null&&n<e;n++)r=r.next;for(var a=[],n=0;r&&n<t;n++)a.push(r.value),r=this.removeNode(r);r===null&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev);for(var n=2;n<arguments.length;n++)r=i(this,r,arguments[n]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function i(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function a(e,t){e.tail=new s(t,e.tail,null,e),e.head||=e.tail,e.length++}function o(e,t){e.head=new s(t,null,e.head,e),e.tail||=e.head,e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{n(476)(r)}catch{}})},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,`__esModule`,{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{connectToDevTools:()=>Cs,connectWithCustomMessagingProtocol:()=>ws,initialize:()=>Ss});function e(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=function(){function t(){e(this,t),a(this,`listenersMap`,new Map)}return i(t,[{key:`addListener`,value:function(e,t){var n=this.listenersMap.get(e);if(n===void 0)this.listenersMap.set(e,[t]);else{var r=n.indexOf(t);r<0&&n.push(t)}}},{key:`emit`,value:function(e){var t=this.listenersMap.get(e);if(t!==void 0){var n=[...arguments].slice(1);if(t.length===1){var r=t[0];r.apply(null,n)}else{for(var i=!1,a=null,o=Array.from(t),s=0;s<o.length;s++){var c=o[s];try{c.apply(null,n)}catch(e){a===null&&(i=!0,a=e)}}if(i)throw a}}}},{key:`removeAllListeners`,value:function(){this.listenersMap.clear()}},{key:`removeListener`,value:function(e,t){var n=this.listenersMap.get(e);if(n!==void 0){var r=n.indexOf(t);r>=0&&n.splice(r,1)}}}])}(),s=!1,c=1,l=2,u=3,d=4,f=5,p=6,m=7,h=1,g=2,_=`React::DevTools::lastSelection`,v=`\x1B[2;38;2;124;124;124m%s\x1B[0m`,y=`\x1B[2;38;2;124;124;124m%s %o\x1B[0m`;function b(e){"@babel/helpers - typeof";return b=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},b(e)}function x(e,t){return E(e)||T(e,t)||C(e,t)||S()}function S(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
30
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(e,t){if(e){if(typeof e==`string`)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}}function w(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function T(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function E(e){if(Array.isArray(e))return e}var D=function(e,t){var n=k(e),r=k(t),i=n.pop(),a=r.pop(),o=P(n,r);return o===0?i&&a?P(i.split(`.`),a.split(`.`)):i||a?i?-1:1:0:o},O=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,k=function(e){if(typeof e!=`string`)throw TypeError(`Invalid argument expected string`);var t=e.match(O);if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},A=function(e){return e===`*`||e===`x`||e===`X`},j=function(e){var t=parseInt(e,10);return isNaN(t)?e:t},M=function(e,t){return b(e)===b(t)?[e,t]:[String(e),String(t)]},N=function(e,t){if(A(e)||A(t))return 0;var n=M(j(e),j(t)),r=x(n,2),i=r[0],a=r[1];return i>a?1:i<a?-1:0},P=function(e,t){for(var n=0;n<Math.max(e.length,t.length);n++){var r=N(e[n]||`0`,t[n]||`0`);if(r!==0)return r}return 0},F=n(730),ee=n.n(F),I=!0;function L(e){"@babel/helpers - typeof";return L=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},L(e)}var te=Symbol.for(`react.element`),R=I?Symbol.for(`react.transitional.element`):te,z=Symbol.for(`react.portal`),B=Symbol.for(`react.fragment`),ne=Symbol.for(`react.strict_mode`),re=Symbol.for(`react.profiler`),ie=Symbol.for(`react.consumer`),ae=Symbol.for(`react.context`),oe=Symbol.for(`react.forward_ref`),se=Symbol.for(`react.suspense`),ce=Symbol.for(`react.suspense_list`),le=Symbol.for(`react.memo`),ue=Symbol.for(`react.lazy`),de=Symbol.for(`react.tracing_marker`),fe=Symbol.for(`react.view_transition`);Symbol.iterator,Symbol.asyncIterator;var pe=1,me=2,he=5,ge=6,_e=7,ve=8,ye=9,be=10,xe=11,Se=12,Ce=13,we=14,Te=15,Ee=16,De=17,Oe=1,ke=2,Ae=3,je=4,Me=5,Ne=1,Pe=Array.isArray;let Fe=Pe;n(169);function Ie(e){"@babel/helpers - typeof";return Ie=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ie(e)}function Le(e){return Ve(e)||Be(e)||ze(e)||Re()}function Re(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
31
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ze(e,t){if(e){if(typeof e==`string`)return He(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return He(e,t)}}function Be(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Ve(e){if(Array.isArray(e))return He(e)}function He(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ue=Object.prototype.hasOwnProperty,We=new WeakMap,Ge=new(ee())({max:1e3}),Ke=Symbol.for(`react.provider`);function qe(e,t){return e.toString()>t.toString()?1:t.toString()>e.toString()?-1:0}function Je(e){for(var t=new Set,n=e,r=function(){var e=[].concat(Le(Object.keys(n)),Le(Object.getOwnPropertySymbols(n))),r=Object.getOwnPropertyDescriptors(n);e.forEach(function(e){r[e].enumerable&&t.add(e)}),n=Object.getPrototypeOf(n)};n!=null;)r();return t}function Ye(e,t,n,r){var i=e?.displayName;return i||`${n}(${Xe(t,r)})`}function Xe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`Anonymous`,n=We.get(e);if(n!=null)return n;var r=t;return typeof e.displayName==`string`?r=e.displayName:typeof e.name==`string`&&e.name!==``&&(r=e.name),We.set(e,r),r}var Ze=0;function V(){return++Ze}function Qe(e,t,n){for(var r=``,i=t;i<=n;i++)r+=String.fromCodePoint(e[i]);return r}function $e(e,t){return((e&1023)<<10)+(t&1023)+65536}function et(e){var t=Ge.get(e);if(t!==void 0)return t;for(var n=[],r=0,i;r<e.length;)i=e.charCodeAt(r),(i&63488)==55296?n.push($e(i,e.charCodeAt(++r))):n.push(i),++r;return Ge.set(e,n),n}function tt(e){for(var t=e[0],n=e[1],r=[`operations for renderer:${t} and root:${n}`],i=2,a=[null],o=e[i++],s=i+o;i<s;){var h=e[i++],g=Qe(e,i,i+h-1);a.push(g),i+=h}for(;i<e.length;){var _=e[i];switch(_){case c:var v=e[i+1],y=e[i+2];if(i+=3,y===xe)r.push(`Add new root node ${v}`),i++,i++,i++,i++;else{var b=e[i];i++,i++;var x=e[i],S=a[x];i++,i++,r.push(`Add node ${v} (${S||`null`}) as child of ${b}`)}break;case l:var C=e[i+1];i+=2;for(var w=0;w<C;w++){var T=e[i];i+=1,r.push(`Remove node ${T}`)}break;case p:i+=1,r.push(`Remove root ${n}`);break;case m:var E=e[i+1],D=e[i+1];i+=3,r.push(`Mode ${D} set for subtree with root ${E}`);break;case u:var O=e[i+1],k=e[i+2];i+=3;var A=e.slice(i,i+k);i+=k,r.push(`Re-order node ${O} children ${A.join(`,`)}`);break;case d:i+=3;break;case f:var j=e[i+1],M=e[i+2],N=e[i+3];i+=4,r.push(`Node ${j} has ${M} errors and ${N} warnings`);break;default:throw Error(`Unsupported Bridge operation "${_}"`)}}console.log(r.join(`
|
|
32
|
+
`))}function nt(){return[{type:Oe,value:_e,isEnabled:!0}]}function rt(e){return Array.isArray(e)?e.filter(function(e){return e.type!==Ae}):e}function it(e,t){if(e===null)return{formattedDisplayName:null,hocDisplayNames:null,compiledWithForget:!1};if(e.startsWith(`Forget(`)){var n=e.slice(7,e.length-1),r=it(n,t),i=r.formattedDisplayName,a=r.hocDisplayNames;return{formattedDisplayName:i,hocDisplayNames:a,compiledWithForget:!0}}var o=null;switch(t){case ElementTypeClass:case ElementTypeForwardRef:case ElementTypeFunction:case ElementTypeMemo:case ElementTypeVirtual:if(e.indexOf(`(`)>=0){var s=e.match(/[^()]+/g);s!=null&&(e=s.pop(),o=s)}break;default:break}return{formattedDisplayName:e,hocDisplayNames:o,compiledWithForget:!1}}function at(e,t){return t.reduce(function(e,t){if(e){if(Ue.call(e,t))return e[t];if(typeof e[Symbol.iterator]==`function`)return Array.from(e)[t]}return null},e)}function ot(e,t){var n=t.length,r=t[n-1];if(e!=null){var i=at(e,t.slice(0,n-1));i&&(Fe(i)?i.splice(r,1):delete i[r])}}function st(e,t,n){var r=t.length;if(e!=null){var i=at(e,t.slice(0,r-1));if(i){var a=t[r-1],o=n[r-1];i[o]=i[a],Fe(i)?i.splice(a,1):delete i[a]}}}function ct(e,t,n){var r=t.length,i=t[r-1];if(e!=null){var a=at(e,t.slice(0,r-1));a&&(a[i]=n)}}function lt(e){if(`name`in e&&`message`in e)for(;e;){if(Object.prototype.toString.call(e)===`[object Error]`)return!0;e=Object.getPrototypeOf(e)}return!1}function ut(e){if(e===null)return`null`;if(e===void 0)return`undefined`;if(typeof HTMLElement<`u`&&e instanceof HTMLElement)return`html_element`;var t=Ie(e);switch(t){case`bigint`:return`bigint`;case`boolean`:return`boolean`;case`function`:return`function`;case`number`:return Number.isNaN(e)?`nan`:Number.isFinite(e)?`number`:`infinity`;case`object`:if(e.$$typeof===R||e.$$typeof===te)return`react_element`;if(Fe(e))return`array`;if(ArrayBuffer.isView(e))return Ue.call(e.constructor,`BYTES_PER_ELEMENT`)?`typed_array`:`data_view`;if(e.constructor&&e.constructor.name===`ArrayBuffer`)return`array_buffer`;if(typeof e[Symbol.iterator]==`function`){var n=e[Symbol.iterator]();if(n)return n===e?`opaque_iterator`:`iterator`}else if(e.constructor&&e.constructor.name===`RegExp`)return`regexp`;else if(typeof e.then==`function`)return`thenable`;else if(lt(e))return`error`;else{var r=Object.prototype.toString.call(e);if(r===`[object Date]`)return`date`;if(r===`[object HTMLAllCollection]`)return`html_all_collection`}return mt(e)?`object`:`class_instance`;case`string`:return`string`;case`symbol`:return`symbol`;case`undefined`:return Object.prototype.toString.call(e)===`[object HTMLAllCollection]`?`html_all_collection`:`undefined`;default:return`unknown`}}function dt(e){if(Ie(e)===`object`&&e!==null){var t=e.$$typeof;switch(t){case R:case te:var n=e.type;switch(n){case B:case re:case ne:case se:case ce:case fe:return n;default:var r=n&&n.$$typeof;switch(r){case ae:case oe:case ue:case le:return r;case ie:return r;default:return t}}case z:return t}}}function ft(e){var t=dt(e);switch(t){case ie:return`ContextConsumer`;case Ke:return`ContextProvider`;case ae:return`Context`;case oe:return`ForwardRef`;case B:return`Fragment`;case ue:return`Lazy`;case le:return`Memo`;case z:return`Portal`;case re:return`Profiler`;case ne:return`StrictMode`;case se:return`Suspense`;case ce:return`SuspenseList`;case fe:return`ViewTransition`;case de:return`TracingMarker`;default:var n=e.type;return typeof n==`string`?n:typeof n==`function`?Xe(n,`Anonymous`):n==null?`Element`:`NotImplementedInDevtools`}}var pt=50;function H(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pt;return e.length>t?e.slice(0,t)+`…`:e}function U(e,t){if(e!=null&&Ue.call(e,_t.type))return t?e[_t.preview_long]:e[_t.preview_short];var n=ut(e);switch(n){case`html_element`:return`<${H(e.tagName.toLowerCase())} />`;case`function`:return typeof e.name==`function`||e.name===``?`() => {}`:`${H(e.name)}() {}`;case`string`:return`"${e}"`;case`bigint`:return H(e.toString()+`n`);case`regexp`:return H(e.toString());case`symbol`:return H(e.toString());case`react_element`:return`<${H(ft(e)||`Unknown`)} />`;case`array_buffer`:return`ArrayBuffer(${e.byteLength})`;case`data_view`:return`DataView(${e.buffer.byteLength})`;case`array`:if(t){for(var r=``,i=0;i<e.length&&(i>0&&(r+=`, `),r+=U(e[i],!1),!(r.length>pt));i++);return`[${H(r)}]`}else{var a=Ue.call(e,_t.size)?e[_t.size]:e.length;return`Array(${a})`}case`typed_array`:var o=`${e.constructor.name}(${e.length})`;if(t){for(var s=``,c=0;c<e.length&&(c>0&&(s+=`, `),s+=e[c],!(s.length>pt));c++);return`${o} [${H(s)}]`}else return o;case`iterator`:var l=e.constructor.name;if(t){for(var u=Array.from(e),d=``,f=0;f<u.length;f++){var p=u[f];if(f>0&&(d+=`, `),Fe(p)){var m=U(p[0],!0),h=U(p[1],!1);d+=`${m} => ${h}`}else d+=U(p,!1);if(d.length>pt)break}return`${l}(${e.size}) {${H(d)}}`}else return`${l}(${e.size})`;case`opaque_iterator`:return e[Symbol.toStringTag];case`date`:return e.toString();case`class_instance`:try{var g=e.constructor.name;if(typeof g==`string`||(g=Object.getPrototypeOf(e).constructor.name,typeof g==`string`))return g;try{return H(String(e))}catch{return`unserializable`}}catch{return`unserializable`}case`thenable`:var _;if(mt(e))_=`Thenable`;else{var v=e.constructor.name;typeof v!=`string`&&(v=Object.getPrototypeOf(e).constructor.name),_=typeof v==`string`?v:`Thenable`}switch(e.status){case`pending`:return`pending ${_}`;case`fulfilled`:if(t){var y=U(e.value,!1);return`fulfilled ${_} {${H(y)}}`}else return`fulfilled ${_} {…}`;case`rejected`:if(t){var b=U(e.reason,!1);return`rejected ${_} {${H(b)}}`}else return`rejected ${_} {…}`;default:return _}case`object`:if(t){for(var x=Array.from(Je(e)).sort(qe),S=``,C=0;C<x.length;C++){var w=x[C];if(C>0&&(S+=`, `),S+=`${w.toString()}: ${U(e[w],!1)}`,S.length>pt)break}return`{${H(S)}}`}else return`{…}`;case`error`:return H(String(e));case`boolean`:case`number`:case`infinity`:case`nan`:case`null`:case`undefined`:return String(e);default:try{return H(String(e))}catch{return`unserializable`}}}var mt=function(e){var t=Object.getPrototypeOf(e);if(!t)return!0;var n=Object.getPrototypeOf(t);return!n};function ht(){var e=!1;try{localStorage.getItem(`test`),e=!0}catch{}return e&&qt()}function gt(e){"@babel/helpers - typeof";return gt=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},gt(e)}var _t={inspectable:Symbol(`inspectable`),inspected:Symbol(`inspected`),name:Symbol(`name`),preview_long:Symbol(`preview_long`),preview_short:Symbol(`preview_short`),readonly:Symbol(`readonly`),size:Symbol(`size`),type:Symbol(`type`),unserializable:Symbol(`unserializable`)},vt=2;function yt(e,t,n,r,i){r.push(i);var a={inspectable:t,type:e,preview_long:U(n,!0),preview_short:U(n,!1),name:typeof n.constructor!=`function`||typeof n.constructor.name!=`string`||n.constructor.name===`Object`?``:n.constructor.name};return e===`array`||e===`typed_array`?a.size=n.length:e===`object`&&(a.size=Object.keys(n).length),(e===`iterator`||e===`typed_array`)&&(a.readonly=!0),a}function bt(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,o=ut(e),s;switch(o){case`html_element`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:e.tagName,type:o};case`function`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:typeof e.name==`function`||!e.name?`function`:e.name,type:o};case`string`:return s=i(r),s||e.length<=500?e:e.slice(0,500)+`...`;case`bigint`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:e.toString(),type:o};case`symbol`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:e.toString(),type:o};case`react_element`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:ft(e)||`Unknown`,type:o};case`array_buffer`:case`data_view`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:o===`data_view`?`DataView`:`ArrayBuffer`,size:e.byteLength,type:o};case`array`:if(s=i(r),a>=vt&&!s)return yt(o,!0,e,t,r);for(var c=[],l=0;l<e.length;l++)c[l]=xt(e,l,t,n,r.concat([l]),i,s?1:a+1);return c;case`html_all_collection`:case`typed_array`:case`iterator`:if(s=i(r),a>=vt&&!s)return yt(o,!0,e,t,r);var u={unserializable:!0,type:o,readonly:!0,size:o===`typed_array`?e.length:void 0,preview_short:U(e,!1),preview_long:U(e,!0),name:typeof e.constructor!=`function`||typeof e.constructor.name!=`string`||e.constructor.name===`Object`?``:e.constructor.name};return Array.from(e).forEach(function(e,o){return u[o]=bt(e,t,n,r.concat([o]),i,s?1:a+1)}),n.push(r),u;case`opaque_iterator`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:e[Symbol.toStringTag],type:o};case`date`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:e.toString(),type:o};case`regexp`:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:e.toString(),type:o};case`thenable`:if(s=i(r),a>=vt&&!s)return{inspectable:e.status===`fulfilled`||e.status===`rejected`,preview_short:U(e,!1),preview_long:U(e,!0),name:e.toString(),type:o};switch(e.status){case`fulfilled`:var d={unserializable:!0,type:o,preview_short:U(e,!1),preview_long:U(e,!0),name:`fulfilled Thenable`};return d.value=bt(e.value,t,n,r.concat([`value`]),i,s?1:a+1),n.push(r),d;case`rejected`:var f={unserializable:!0,type:o,preview_short:U(e,!1),preview_long:U(e,!0),name:`rejected Thenable`};return f.reason=bt(e.reason,t,n,r.concat([`reason`]),i,s?1:a+1),n.push(r),f;default:return t.push(r),{inspectable:!1,preview_short:U(e,!1),preview_long:U(e,!0),name:e.toString(),type:o}}case`object`:if(s=i(r),a>=vt&&!s)return yt(o,!0,e,t,r);var p={};return Je(e).forEach(function(o){var c=o.toString();p[c]=xt(e,o,t,n,r.concat([c]),i,s?1:a+1)}),p;case`class_instance`:if(s=i(r),a>=vt&&!s)return yt(o,!0,e,t,r);var m={unserializable:!0,type:o,readonly:!0,preview_short:U(e,!1),preview_long:U(e,!0),name:typeof e.constructor!=`function`||typeof e.constructor.name!=`string`?``:e.constructor.name};return Je(e).forEach(function(o){var c=o.toString();m[c]=bt(e[o],t,n,r.concat([c]),i,s?1:a+1)}),n.push(r),m;case`error`:if(s=i(r),a>=vt&&!s)return yt(o,!0,e,t,r);var h={unserializable:!0,type:o,readonly:!0,preview_short:U(e,!1),preview_long:U(e,!0),name:e.name};return h.message=bt(e.message,t,n,r.concat([`message`]),i,s?1:a+1),h.stack=bt(e.stack,t,n,r.concat([`stack`]),i,s?1:a+1),`cause`in e&&(h.cause=bt(e.cause,t,n,r.concat([`cause`]),i,s?1:a+1)),Je(e).forEach(function(o){var c=o.toString();h[c]=bt(e[o],t,n,r.concat([c]),i,s?1:a+1)}),n.push(r),h;case`infinity`:case`nan`:case`undefined`:return t.push(r),{type:o};default:return e}}function xt(e,t,n,r,i,a){var o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0;try{return bt(e[t],n,r,i,a,o)}catch(e){var s=``;return gt(e)===`object`&&e!==null&&typeof e.stack==`string`?s=e.stack:typeof e==`string`&&(s=e),n.push(i),{inspectable:!1,preview_short:`[Exception]`,preview_long:s?`[Exception: `+s+`]`:`[Exception]`,name:s,type:`unknown`}}}var St=Array.isArray;function Ct(e){return St(e)}let wt=Ct;function Tt(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var n=e.stack;return Error.prepareStackTrace=t,Et(n)}function Et(e){e.startsWith(`Error: react-stack-top-frame
|
|
33
|
+
`)&&(e=e.slice(29));var t=e.indexOf(`
|
|
34
|
+
`);if(t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t===-1&&(t=e.indexOf(`react-stack-bottom-frame`)),t!==-1&&(t=e.lastIndexOf(`
|
|
35
|
+
`,t)),t!==-1)e=e.slice(0,t);else return``;return e}function Dt(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=kt(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
36
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,s=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}}}function W(e,t){return Mt(e)||jt(e,t)||kt(e,t)||Ot()}function Ot(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
37
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(e,t){if(e){if(typeof e==`string`)return At(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return At(e,t)}}function At(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function jt(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function Mt(e){if(Array.isArray(e))return e}function Nt(e){"@babel/helpers - typeof";return Nt=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Nt(e)}function Pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ft(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Pt(Object(n),!0).forEach(function(t){It(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lt=`999.9.9`;function Rt(e){return e==null||e===``?!1:G(e,Lt)}function zt(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(e!==null){var r=[],i=[],a=bt(e,r,i,n,t);return{data:a,cleaned:r,unserializable:i}}else return null}function Bt(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=t[n],i=wt(e)?e.slice():Ft({},e);return n+1===t.length?wt(i)?i.splice(r,1):delete i[r]:i[r]=Bt(e[r],t,n+1),i}function Vt(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=t[r],a=wt(e)?e.slice():Ft({},e);if(r+1===t.length){var o=n[r];a[o]=a[i],wt(a)?a.splice(i,1):delete a[i]}else a[i]=Vt(e[i],t,n,r+1);return a}function Ht(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(r>=t.length)return n;var i=t[r],a=wt(e)?e.slice():Ft({},e);return a[i]=Ht(e[i],t,n,r+1),a}function Ut(e){var t=null,n=null,r=e.current;if(r!=null){var i=r.stateNode;i!=null&&(t=i.effectDuration==null?null:i.effectDuration,n=i.passiveEffectDuration==null?null:i.passiveEffectDuration)}return{effectDuration:t,passiveEffectDuration:n}}function Wt(e){if(e===void 0)return`undefined`;if(typeof e==`function`)return e.toString();var t=new Set;return JSON.stringify(e,function(e,n){if(Nt(n)===`object`&&n!==null){if(t.has(n))return;t.add(n)}return typeof n==`bigint`?n.toString()+`n`:n},2)}function Gt(e){try{return String(e)}catch(t){if(Nt(e)===`object`)return`[object Object]`;throw t}}function Kt(e){var t=[...arguments].slice(1),n=t.slice(),r=Gt(e);if(typeof e==`string`&&n.length){var i=/(%?)(%([jds]))/g;r=r.replace(i,function(e,t,r,i){var a=n.shift();switch(i){case`s`:a+=``;break;case`d`:case`i`:a=parseInt(a,10).toString();break;case`f`:a=parseFloat(a).toString();break}return t?(n.unshift(a),e):a})}if(n.length)for(var a=0;a<n.length;a++)r+=` `+Gt(n[a]);return r=r.replace(/%{2,2}/g,`%`),String(r)}function qt(){return!!(window.document&&window.document.featurePolicy&&window.document.featurePolicy.allowsFeature(`sync-xhr`))}function Jt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``;return D(e,t)===1}function G(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``;return D(e,t)>-1}var Yt=function(){return window.document==null};function Xt(e){if(e.indexOf(`:`)===-1)return null;var t=e.replace(/^\(+/,``).replace(/\)+$/,``),n=/(at )?(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t);if(n==null)return null;var r=W(n,5),i=r[2],a=r[3],o=r[4];return{sourceURL:i,line:a,column:o}}var Zt=/^\s*at .*(\S+:\d+|\(native\))/m;function Qt(e){var t=e.split(`
|
|
38
|
+
`),n=Dt(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=i.trim(),o=a.match(/ (\(.+\)$)/),s=o?o[1]:a,c=Xt(s);if(c!=null){var l=c.sourceURL,u=c.line,d=u===void 0?`1`:u,f=c.column,p=f===void 0?`1`:f;return{sourceURL:l,line:parseInt(d,10),column:parseInt(p,10)}}}}catch(e){n.e(e)}finally{n.f()}return null}function $t(e){var t=e.split(`
|
|
39
|
+
`),n=Dt(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=i.trim(),o=a.replace(/((.*".+"[^@]*)?[^@]*)(?:@)/,``),s=Xt(o);if(s!=null){var c=s.sourceURL,l=s.line,u=l===void 0?`1`:l,d=s.column,f=d===void 0?`1`:d;return{sourceURL:c,line:parseInt(u,10),column:parseInt(f,10)}}}}catch(e){n.e(e)}finally{n.f()}return null}function en(e){return e.match(Zt)?Qt(e):$t(e)}var tn=null;function nn(e,t){for(var n=null,r=0;r<t.length;r++){var i=t[r],a=i.getFunctionName();if(a!=null&&(a.includes(`react_stack_bottom_frame`)||a.includes(`react-stack-bottom-frame`))){tn=n;break}else{var o=i.getScriptNameOrSourceURL(),s=typeof i.getEnclosingLineNumber==`function`?i.getEnclosingLineNumber():i.getLineNumber(),c=typeof i.getEnclosingColumnNumber==`function`?i.getEnclosingColumnNumber():i.getColumnNumber();if(!o||!s||!c)continue;n={sourceURL:o,line:s,column:c}}}for(var l=e.name||`Error`,u=e.message||``,d=l+`: `+u,f=0;f<t.length;f++)d+=`
|
|
40
|
+
at `+t[f].toString();return d}function rn(e){tn=null;var t=Error.prepareStackTrace;Error.prepareStackTrace=nn;var n;try{n=e.stack}catch{Error.prepareStackTrace=void 0,n=e.stack}finally{Error.prepareStackTrace=t}if(tn!==null)return tn;if(n==null)return null;var r=Et(n);return en(r)}function an(e){return Math.round(e*1e3)/1e3}function on(e,t){return cn(e)||sn(e,t)||q(e,t)||K()}function K(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
41
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q(e,t){if(e){if(typeof e==`string`)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}}function J(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sn(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function cn(e){if(Array.isArray(e))return e}function ln(e){return e.ownerDocument?e.ownerDocument.defaultView:null}function un(e){var t=ln(e);return t?t.frameElement:null}function dn(e){var t=mn(e);return fn([e.getBoundingClientRect(),{top:t.borderTop,left:t.borderLeft,bottom:t.borderBottom,right:t.borderRight,width:0,height:0}])}function fn(e){return e.reduce(function(e,t){return e==null?t:{top:e.top+t.top,left:e.left+t.left,width:e.width,height:e.height,bottom:e.bottom+t.bottom,right:e.right+t.right}})}function pn(e,t){var n=un(e);if(n&&n!==t){for(var r=[e.getBoundingClientRect()],i=n,a=!1;i;){var o=dn(i);if(r.push(o),i=un(i),a)break;i&&ln(i)===t&&(a=!0)}return fn(r)}else return e.getBoundingClientRect()}function mn(e){var t=window.getComputedStyle(e);return{borderLeft:parseInt(t.borderLeftWidth,10),borderRight:parseInt(t.borderRightWidth,10),borderTop:parseInt(t.borderTopWidth,10),borderBottom:parseInt(t.borderBottomWidth,10),marginLeft:parseInt(t.marginLeft,10),marginRight:parseInt(t.marginRight,10),marginTop:parseInt(t.marginTop,10),marginBottom:parseInt(t.marginBottom,10),paddingLeft:parseInt(t.paddingLeft,10),paddingRight:parseInt(t.paddingRight,10),paddingTop:parseInt(t.paddingTop,10),paddingBottom:parseInt(t.paddingBottom,10)}}function hn(e){if(!e)return{baseComponentName:``,hocNames:[]};for(var t=/([A-Z][a-zA-Z0-9]*?)\((.*)\)/g,n=[],r=e,i;(i=t.exec(r))!=null;)if(Array.isArray(i)){var a=i,o=on(a,3),s=o[1],c=o[2];n.push(s),r=c}return{baseComponentName:r,hocNames:n}}function gn(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function _n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vn(e,t,n){return t&&_n(e.prototype,t),n&&_n(e,n),e}var yn=Object.assign,bn=function(){function e(t,n){gn(this,e),this.node=t.createElement(`div`),this.border=t.createElement(`div`),this.padding=t.createElement(`div`),this.content=t.createElement(`div`),this.border.style.borderColor=Tn.border,this.padding.style.borderColor=Tn.padding,this.content.style.backgroundColor=Tn.background,yn(this.node.style,{borderColor:Tn.margin,pointerEvents:`none`,position:`fixed`}),this.node.style.zIndex=`10000000`,this.node.appendChild(this.border),this.border.appendChild(this.padding),this.padding.appendChild(this.content),n.appendChild(this.node)}return vn(e,[{key:`remove`,value:function(){this.node.parentNode&&this.node.parentNode.removeChild(this.node)}},{key:`update`,value:function(e,t){wn(t,`margin`,this.node),wn(t,`border`,this.border),wn(t,`padding`,this.padding),yn(this.content.style,{height:e.height-t.borderTop-t.borderBottom-t.paddingTop-t.paddingBottom+`px`,width:e.width-t.borderLeft-t.borderRight-t.paddingLeft-t.paddingRight+`px`}),yn(this.node.style,{top:e.top-t.marginTop+`px`,left:e.left-t.marginLeft+`px`})}}])}(),xn=function(){function e(t,n){gn(this,e),this.tip=t.createElement(`div`),yn(this.tip.style,{display:`flex`,flexFlow:`row nowrap`,backgroundColor:`#333740`,borderRadius:`2px`,fontFamily:`"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace`,fontWeight:`bold`,padding:`3px 5px`,pointerEvents:`none`,position:`fixed`,fontSize:`12px`,whiteSpace:`nowrap`}),this.nameSpan=t.createElement(`span`),this.tip.appendChild(this.nameSpan),yn(this.nameSpan.style,{color:`#ee78e6`,borderRight:`1px solid #aaaaaa`,paddingRight:`0.5rem`,marginRight:`0.5rem`}),this.dimSpan=t.createElement(`span`),this.tip.appendChild(this.dimSpan),yn(this.dimSpan.style,{color:`#d7d7d7`}),this.tip.style.zIndex=`10000000`,n.appendChild(this.tip)}return vn(e,[{key:`remove`,value:function(){this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip)}},{key:`updateText`,value:function(e,t,n){this.nameSpan.textContent=e,this.dimSpan.textContent=Math.round(t)+`px × `+Math.round(n)+`px`}},{key:`updatePosition`,value:function(e,t){var n=this.tip.getBoundingClientRect(),r=Cn(e,t,{width:n.width,height:n.height});yn(this.tip.style,r.style)}}])}(),Sn=function(){function e(t){gn(this,e);var n=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.window=n;var r=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.tipBoundsWindow=r;var i=n.document;this.container=i.createElement(`div`),this.container.style.zIndex=`10000000`,this.tip=new xn(i,this.container),this.rects=[],this.agent=t,i.body.appendChild(this.container)}return vn(e,[{key:`remove`,value:function(){this.tip.remove(),this.rects.forEach(function(e){e.remove()}),this.rects.length=0,this.container.parentNode&&this.container.parentNode.removeChild(this.container)}},{key:`inspect`,value:function(e,t){for(var n=this,r=e.filter(function(e){return e.nodeType===Node.ELEMENT_NODE});this.rects.length>r.length;){var i=this.rects.pop();i.remove()}if(r.length!==0){for(;this.rects.length<r.length;)this.rects.push(new bn(this.window.document,this.container));var a={top:1/0,right:-1/0,bottom:-1/0,left:1/0};if(r.forEach(function(e,t){var r=pn(e,n.window),i=mn(e);a.top=Math.min(a.top,r.top-i.marginTop),a.right=Math.max(a.right,r.left+r.width+i.marginRight),a.bottom=Math.max(a.bottom,r.top+r.height+i.marginBottom),a.left=Math.min(a.left,r.left-i.marginLeft);var o=n.rects[t];o.update(r,i)}),!t){t=r[0].nodeName.toLowerCase();var o=r[0],s=this.agent.getComponentNameForHostInstance(o);s&&(t+=` (in `+s+`)`)}this.tip.updateText(t,a.right-a.left,a.bottom-a.top);var c=pn(this.tipBoundsWindow.document.documentElement,this.window);this.tip.updatePosition({top:a.top,left:a.left,height:a.bottom-a.top,width:a.right-a.left},{top:c.top+this.tipBoundsWindow.scrollY,left:c.left+this.tipBoundsWindow.scrollX,height:this.tipBoundsWindow.innerHeight,width:this.tipBoundsWindow.innerWidth})}}}])}();function Cn(e,t,n){var r=Math.max(n.height,20),i=Math.max(n.width,60),a=5,o;o=e.top+e.height+r<=t.top+t.height?e.top+e.height<t.top+0?t.top+a:e.top+e.height+a:e.top-r<=t.top+t.height?e.top-r-a<t.top+a?t.top+a:e.top-r-a:t.top+t.height-r-a;var s=e.left+a;return e.left<t.left&&(s=t.left+a),e.left+i>t.left+t.width&&(s=t.left+t.width-i-a),o+=`px`,s+=`px`,{style:{top:o,left:s}}}function wn(e,t,n){yn(n.style,{borderTopWidth:e[t+`Top`]+`px`,borderLeftWidth:e[t+`Left`]+`px`,borderRightWidth:e[t+`Right`]+`px`,borderBottomWidth:e[t+`Bottom`]+`px`,borderStyle:`solid`})}var Tn={background:`rgba(120, 170, 210, 0.7)`,padding:`rgba(77, 200, 0, 0.3)`,margin:`rgba(255, 155, 0, 0.3)`,border:`rgba(255, 200, 50, 0.3)`},En=2e3,Dn=null,On=null;function kn(e){e.emit(`hideNativeHighlight`)}function An(){Dn=null,On!==null&&(On.remove(),On=null)}function jn(e){return Yt()?kn(e):An()}function Mn(e,t){t.emit(`showNativeHighlight`,e)}function Nn(e,t,n,r){Dn!==null&&clearTimeout(Dn),On===null&&(On=new Sn(n)),On.inspect(e,t),r&&(Dn=setTimeout(function(){return jn(n)},En))}function Pn(e,t,n,r){return Yt()?Mn(e,n):Nn(e,t,n,r)}var Fn=new Set;function In(e,t){e.addListener(`clearHostInstanceHighlight`,o),e.addListener(`highlightHostInstance`,s),e.addListener(`shutdown`,i),e.addListener(`startInspectingHost`,n),e.addListener(`stopInspectingHost`,i);function n(){r(window)}function r(e){e&&typeof e.addEventListener==`function`?(e.addEventListener(`click`,c,!0),e.addEventListener(`mousedown`,l,!0),e.addEventListener(`mouseover`,l,!0),e.addEventListener(`mouseup`,l,!0),e.addEventListener(`pointerdown`,u,!0),e.addEventListener(`pointermove`,f,!0),e.addEventListener(`pointerup`,p,!0)):t.emit(`startInspectingNative`)}function i(){jn(t),a(window),Fn.forEach(function(e){try{a(e.contentWindow)}catch{}}),Fn=new Set}function a(e){e&&typeof e.removeEventListener==`function`?(e.removeEventListener(`click`,c,!0),e.removeEventListener(`mousedown`,l,!0),e.removeEventListener(`mouseover`,l,!0),e.removeEventListener(`mouseup`,l,!0),e.removeEventListener(`pointerdown`,u,!0),e.removeEventListener(`pointermove`,f,!0),e.removeEventListener(`pointerup`,p,!0)):t.emit(`stopInspectingNative`)}function o(){jn(t)}function s(n){var r=n.displayName,i=n.hideAfterTimeout,a=n.id,o=n.openBuiltinElementsPanel,s=n.rendererID,c=n.scrollIntoView,l=t.rendererInterfaces[s];if(l==null){console.warn(`Invalid renderer id "${s}" for element "${a}"`),jn(t);return}if(!l.hasElementWithId(a)){jn(t);return}var u=l.findHostInstancesForElementID(a);if(u!=null&&u[0]!=null){var d=u[0];c&&typeof d.scrollIntoView==`function`&&d.scrollIntoView({block:`nearest`,inline:`nearest`}),Pn(u,r,t,i),o&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0=d,e.send(`syncSelectionToBuiltinElementsPanel`))}else jn(t)}function c(t){t.preventDefault(),t.stopPropagation(),i(),e.send(`stopInspectingHost`,!0)}function l(e){e.preventDefault(),e.stopPropagation()}function u(e){e.preventDefault(),e.stopPropagation(),m(h(e))}var d=null;function f(e){e.preventDefault(),e.stopPropagation();var n=h(e);if(d!==n){if(d=n,n.tagName===`IFRAME`){var i=n;try{if(!Fn.has(i)){var a=i.contentWindow;r(a),Fn.add(i)}}catch{}}Pn([n],null,t,!1),m(n)}}function p(e){e.preventDefault(),e.stopPropagation()}var m=function(n){var r=t.getIDForHostInstance(n);r!==null&&e.send(`selectElement`,r)};function h(e){return e.composed?e.composedPath()[0]:e.target}}function Ln(e){return Vn(e)||Bn(e)||zn(e)||Rn()}function Rn(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
42
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zn(e,t){if(e){if(typeof e==`string`)return Hn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hn(e,t)}}function Bn(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Vn(e){if(Array.isArray(e))return Hn(e)}function Hn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Un=[`#37afa9`,`#63b19e`,`#80b393`,`#97b488`,`#abb67d`,`#beb771`,`#cfb965`,`#dfba57`,`#efbb49`,`#febc38`],Y=null;function Wn(e,t){var n=[];Xn(e,function(e){var t=e.color,r=e.node;n.push({node:r,color:t})}),t.emit(`drawTraceUpdates`,n);var r=Kn(e);t.emit(`drawGroupedTraceUpdatesWithNames`,r)}function Gn(e){Y===null&&tr();var t=window.devicePixelRatio||1,n=Y;n.width=window.innerWidth*t,n.height=window.innerHeight*t,n.style.width=`${window.innerWidth}px`,n.style.height=`${window.innerHeight}px`;var r=n.getContext(`2d`);r.scale(t,t),r.clearRect(0,0,n.width/t,n.height/t);var i=Kn(e);if(i.forEach(function(e){qn(r,e),Jn(r,e)}),Y!==null){if(e.size===0&&Y.matches(`:popover-open`)){Y.hidePopover();return}Y.matches(`:popover-open`)&&Y.hidePopover(),Y.showPopover()}}function Kn(e){var t=new Map;return Xn(e,function(e){var n,r=e.rect,i=e.color,a=e.displayName,o=e.count;if(r){var s=`${r.left},${r.top}`;t.has(s)||t.set(s,[]),(n=t.get(s))==null||n.push({rect:r,color:i,displayName:a,count:o})}}),Array.from(t.values()).sort(function(e,t){var n=Math.max.apply(Math,Ln(e.map(function(e){return e.count}))),r=Math.max.apply(Math,Ln(t.map(function(e){return e.count})));return n-r})}function qn(e,t){t.forEach(function(t){var n=t.color,r=t.rect;e.beginPath(),e.strokeStyle=n,e.rect(r.left,r.top,r.width-1,r.height-1),e.stroke()})}function Jn(e,t){var n=t.map(function(e){var t=e.displayName,n=e.count;return t?`${t}${n>1?` x${n}`:``}`:``}).filter(Boolean).join(`, `);n&&Zn(e,t[0].rect,n,t[0].color)}function Yn(e,t){return Yt()?Wn(e,t):Gn(e)}function Xn(e,t){e.forEach(function(e,n){var r=Math.min(Un.length-1,e.count-1),i=Un[r];t({color:i,node:n,count:e.count,displayName:e.displayName,expirationTime:e.expirationTime,lastMeasuredAt:e.lastMeasuredAt,rect:e.rect})})}function Zn(e,t,n,r){var i=t.left,a=t.top;e.font=`10px monospace`,e.textBaseline=`middle`,e.textAlign=`center`;var o=2,s=14,c=e.measureText(n),l=c.width+o*2,u=s,d=i,f=a-u;e.fillStyle=r,e.fillRect(d,f,l,u),e.fillStyle=`#000000`,e.fillText(n,d+l/2,f+u/2)}function Qn(e){e.emit(`disableTraceUpdates`)}function $n(){Y!==null&&(Y.matches(`:popover-open`)&&Y.hidePopover(),Y.parentNode!=null&&Y.parentNode.removeChild(Y),Y=null)}function er(e){return Yt()?Qn(e):$n()}function tr(){Y=window.document.createElement(`canvas`),Y.setAttribute(`popover`,`manual`),Y.style.cssText=`
|
|
43
|
+
xx-background-color: red;
|
|
44
|
+
xx-opacity: 0.5;
|
|
45
|
+
bottom: 0;
|
|
46
|
+
left: 0;
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
position: fixed;
|
|
49
|
+
right: 0;
|
|
50
|
+
top: 0;
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
outline: none;
|
|
53
|
+
box-shadow: none;
|
|
54
|
+
border: none;
|
|
55
|
+
`;var e=window.document.documentElement;e.insertBefore(Y,e.firstChild)}function nr(e){"@babel/helpers - typeof";return nr=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},nr(e)}var rr=250,ir=3e3,ar=250,or=new Map([[`Forget`,`✨`],[`Memo`,`🧠`]]),sr=(typeof performance>`u`?`undefined`:nr(performance))===`object`&&typeof performance.now==`function`?function(){return performance.now()}:function(){return Date.now()},cr=new Map,lr=null,ur=null,dr=!1,fr=null;function pr(e){lr=e,lr.addListener(`traceUpdates`,hr)}function mr(e){dr=e,dr||(cr.clear(),ur!==null&&(cancelAnimationFrame(ur),ur=null),fr!==null&&(clearTimeout(fr),fr=null),er(lr))}function hr(e){dr&&(e.forEach(function(e){var t=cr.get(e),n=sr(),r=t==null?0:t.lastMeasuredAt,i=t==null?null:t.rect;(i===null||r+ar<n)&&(r=n,i=_r(e));var a=lr.getComponentNameForHostInstance(e);if(a){var o=hn(a),s=o.baseComponentName,c=o.hocNames,l=c.map(function(e){return or.get(e)||``}).join(``),u=l?`${l}${s}`:s;a=u}cr.set(e,{count:t==null?1:t.count+1,expirationTime:t==null?n+rr:Math.min(n+ir,t.expirationTime+rr),lastMeasuredAt:r,rect:i,displayName:a})}),fr!==null&&(clearTimeout(fr),fr=null),ur===null&&(ur=requestAnimationFrame(gr)))}function gr(){ur=null,fr=null;var e=sr(),t=Number.MAX_VALUE;cr.forEach(function(n,r){n.expirationTime<e?cr.delete(r):t=Math.min(t,n.expirationTime)}),Yn(cr,lr),t!==Number.MAX_VALUE&&(fr=setTimeout(gr,t-e))}function _r(e){if(!e||typeof e.getBoundingClientRect!=`function`)return null;var t=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;return pn(e,t)}function vr(e){"@babel/helpers - typeof";return vr=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vr(e)}function yr(e){return Cr(e)||Sr(e)||xr(e)||br()}function br(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
56
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xr(e,t){if(e){if(typeof e==`string`)return wr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wr(e,t)}}function Sr(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Cr(e){if(Array.isArray(e))return wr(e)}function wr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function X(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Er(e,t,n){return t&&Tr(e.prototype,t),n&&Tr(e,n),e}function Dr(e,t,n){function r(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{return!1}}return t=Ar(t),Or(e,r()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function Or(e,t){return t&&(vr(t)===`object`||typeof t==`function`)?t:kr(e)}function kr(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ar(e)}function jr(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mr(e,t)}function Mr(e,t){return Mr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Mr(e,t)}function Nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pr=[{version:0,minNpmVersion:`"<4.11.0"`,maxNpmVersion:`"<4.11.0"`},{version:1,minNpmVersion:`4.13.0`,maxNpmVersion:`4.21.0`},{version:2,minNpmVersion:`4.22.0`,maxNpmVersion:null}],Fr=Pr[Pr.length-1],Ir=function(e){function t(e){var n;return X(this,t),n=Dr(this,t),Nr(n,`_isShutdown`,!1),Nr(n,`_messageQueue`,[]),Nr(n,`_scheduledFlush`,!1),Nr(n,`_wallUnlisten`,null),Nr(n,`_flush`,function(){try{if(n._messageQueue.length){for(var e=0;e<n._messageQueue.length;e+=2){var t;(t=n._wall).send.apply(t,[n._messageQueue[e]].concat(yr(n._messageQueue[e+1])))}n._messageQueue.length=0}}finally{n._scheduledFlush=!1}}),Nr(n,`overrideValueAtPath`,function(e){var t=e.id,r=e.path,i=e.rendererID,a=e.type,o=e.value;switch(a){case`context`:n.send(`overrideContext`,{id:t,path:r,rendererID:i,wasForwarded:!0,value:o});break;case`hooks`:n.send(`overrideHookState`,{id:t,path:r,rendererID:i,wasForwarded:!0,value:o});break;case`props`:n.send(`overrideProps`,{id:t,path:r,rendererID:i,wasForwarded:!0,value:o});break;case`state`:n.send(`overrideState`,{id:t,path:r,rendererID:i,wasForwarded:!0,value:o});break}}),n._wall=e,n._wallUnlisten=e.listen(function(e){e&&e.event&&n.emit(e.event,e.payload)})||null,n.addListener(`overrideValueAtPath`,n.overrideValueAtPath),n}return jr(t,e),Er(t,[{key:`wall`,get:function(){return this._wall}},{key:`send`,value:function(e){if(this._isShutdown){console.warn(`Cannot send message "${e}" through a Bridge that has been shutdown.`);return}var t=[...arguments].slice(1);this._messageQueue.push(e,t),this._scheduledFlush||(this._scheduledFlush=!0,typeof devtoolsJestTestScheduler==`function`?devtoolsJestTestScheduler(this._flush):queueMicrotask(this._flush))}},{key:`shutdown`,value:function(){if(this._isShutdown){console.warn(`Bridge was already shutdown.`);return}this.emit(`shutdown`),this.send(`shutdown`),this._isShutdown=!0,this.addListener=function(){},this.emit=function(){},this.removeAllListeners();var e=this._wallUnlisten;e&&e();do this._flush();while(this._messageQueue.length)}}])}(o);let Lr=Ir;function Rr(e){try{return sessionStorage.getItem(e)}catch{return null}}function zr(e){try{sessionStorage.removeItem(e)}catch{}}function Br(e,t){try{return sessionStorage.setItem(e,t)}catch{}}function Vr(e){"@babel/helpers - typeof";return Vr=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Vr(e)}function Hr(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Ur(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wr(e,t,n){return t&&Ur(e.prototype,t),n&&Ur(e,n),e}function Gr(e,t,n){function r(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{return!1}}return t=Jr(t),Kr(e,r()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}function Kr(e,t){return t&&(Vr(t)===`object`||typeof t==`function`)?t:qr(e)}function qr(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jr(e)}function Yr(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xr(e,t)}function Xr(e,t){return Xr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xr(e,t)}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zr=function(e){if(s){var t,n=[...arguments].slice(1);(t=console).log.apply(t,[`%cAgent %c${e}`,`color: purple; font-weight: bold;`,`font-weight: bold;`].concat(n))}},Qr=function(e){function t(e){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=arguments.length>2?arguments[2]:void 0;Hr(this,t),n=Gr(this,t),Z(n,`_isProfiling`,!1),Z(n,`_rendererInterfaces`,{}),Z(n,`_persistedSelection`,null),Z(n,`_persistedSelectionMatch`,null),Z(n,`_traceUpdatesEnabled`,!1),Z(n,`clearErrorsAndWarnings`,function(e){var t=e.rendererID,r=n._rendererInterfaces[t];r==null?console.warn(`Invalid renderer id "${t}"`):r.clearErrorsAndWarnings()}),Z(n,`clearErrorsForElementID`,function(e){var t=e.id,r=e.rendererID,i=n._rendererInterfaces[r];i==null?console.warn(`Invalid renderer id "${r}"`):i.clearErrorsForElementID(t)}),Z(n,`clearWarningsForElementID`,function(e){var t=e.id,r=e.rendererID,i=n._rendererInterfaces[r];i==null?console.warn(`Invalid renderer id "${r}"`):i.clearWarningsForElementID(t)}),Z(n,`copyElementPath`,function(e){var t=e.id,r=e.path,i=e.rendererID,a=n._rendererInterfaces[i];if(a==null)console.warn(`Invalid renderer id "${i}" for element "${t}"`);else{var o=a.getSerializedElementValueByPath(t,r);o==null?console.warn(`Unable to obtain serialized value for element "${t}"`):n._bridge.send(`saveToClipboard`,o)}}),Z(n,`deletePath`,function(e){var t=e.hookID,r=e.id,i=e.path,a=e.rendererID,o=e.type,s=n._rendererInterfaces[a];s==null?console.warn(`Invalid renderer id "${a}" for element "${r}"`):s.deletePath(o,r,t,i)}),Z(n,`getBackendVersion`,function(){var e=`6.1.5-5d87cd2244`;e&&n._bridge.send(`backendVersion`,e)}),Z(n,`getBridgeProtocol`,function(){n._bridge.send(`bridgeProtocol`,Fr)}),Z(n,`getProfilingData`,function(e){var t=e.rendererID,r=n._rendererInterfaces[t];r??console.warn(`Invalid renderer id "${t}"`),n._bridge.send(`profilingData`,r.getProfilingData())}),Z(n,`getProfilingStatus`,function(){n._bridge.send(`profilingStatus`,n._isProfiling)}),Z(n,`getOwnersList`,function(e){var t=e.id,r=e.rendererID,i=n._rendererInterfaces[r];if(i==null)console.warn(`Invalid renderer id "${r}" for element "${t}"`);else{var a=i.getOwnersList(t);n._bridge.send(`ownersList`,{id:t,owners:a})}}),Z(n,`inspectElement`,function(e){var t=e.forceFullData,r=e.id,i=e.path,a=e.rendererID,o=e.requestID,s=n._rendererInterfaces[a];s==null?console.warn(`Invalid renderer id "${a}" for element "${r}"`):(n._bridge.send(`inspectedElement`,s.inspectElement(o,r,i,t)),(n._persistedSelectionMatch===null||n._persistedSelectionMatch.id!==r)&&(n._persistedSelection=null,n._persistedSelectionMatch=null,s.setTrackedPath(null),n._lastSelectedElementID=r,n._lastSelectedRendererID=a,n._persistSelectionTimerScheduled||(n._persistSelectionTimerScheduled=!0,setTimeout(n._persistSelection,1e3))))}),Z(n,`logElementToConsole`,function(e){var t=e.id,r=e.rendererID,i=n._rendererInterfaces[r];i==null?console.warn(`Invalid renderer id "${r}" for element "${t}"`):i.logElementToConsole(t)}),Z(n,`overrideError`,function(e){var t=e.id,r=e.rendererID,i=e.forceError,a=n._rendererInterfaces[r];a==null?console.warn(`Invalid renderer id "${r}" for element "${t}"`):a.overrideError(t,i)}),Z(n,`overrideSuspense`,function(e){var t=e.id,r=e.rendererID,i=e.forceFallback,a=n._rendererInterfaces[r];a==null?console.warn(`Invalid renderer id "${r}" for element "${t}"`):a.overrideSuspense(t,i)}),Z(n,`overrideValueAtPath`,function(e){var t=e.hookID,r=e.id,i=e.path,a=e.rendererID,o=e.type,s=e.value,c=n._rendererInterfaces[a];c==null?console.warn(`Invalid renderer id "${a}" for element "${r}"`):c.overrideValueAtPath(o,r,t,i,s)}),Z(n,`overrideContext`,function(e){var t=e.id,r=e.path,i=e.rendererID,a=e.wasForwarded,o=e.value;a||n.overrideValueAtPath({id:t,path:r,rendererID:i,type:`context`,value:o})}),Z(n,`overrideHookState`,function(e){var t=e.id;e.hookID;var r=e.path,i=e.rendererID,a=e.wasForwarded,o=e.value;a||n.overrideValueAtPath({id:t,path:r,rendererID:i,type:`hooks`,value:o})}),Z(n,`overrideProps`,function(e){var t=e.id,r=e.path,i=e.rendererID,a=e.wasForwarded,o=e.value;a||n.overrideValueAtPath({id:t,path:r,rendererID:i,type:`props`,value:o})}),Z(n,`overrideState`,function(e){var t=e.id,r=e.path,i=e.rendererID,a=e.wasForwarded,o=e.value;a||n.overrideValueAtPath({id:t,path:r,rendererID:i,type:`state`,value:o})}),Z(n,`onReloadAndProfileSupportedByHost`,function(){n._bridge.send(`isReloadAndProfileSupportedByBackend`,!0)}),Z(n,`reloadAndProfile`,function(e){var t=e.recordChangeDescriptions,r=e.recordTimeline;typeof n._onReloadAndProfile==`function`&&n._onReloadAndProfile(t,r),n._bridge.send(`reloadAppForProfiling`)}),Z(n,`renamePath`,function(e){var t=e.hookID,r=e.id,i=e.newPath,a=e.oldPath,o=e.rendererID,s=e.type,c=n._rendererInterfaces[o];c==null?console.warn(`Invalid renderer id "${o}" for element "${r}"`):c.renamePath(s,r,t,a,i)}),Z(n,`setTraceUpdatesEnabled`,function(e){for(var t in n._traceUpdatesEnabled=e,mr(e),n._rendererInterfaces){var r=n._rendererInterfaces[t];r.setTraceUpdatesEnabled(e)}}),Z(n,`syncSelectionFromBuiltinElementsPanel`,function(){var e=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0;e!=null&&n.selectNode(e)}),Z(n,`shutdown`,function(){n.emit(`shutdown`),n._bridge.removeAllListeners(),n.removeAllListeners()}),Z(n,`startProfiling`,function(e){var t=e.recordChangeDescriptions,r=e.recordTimeline;for(var i in n._isProfiling=!0,n._rendererInterfaces){var a=n._rendererInterfaces[i];a.startProfiling(t,r)}n._bridge.send(`profilingStatus`,n._isProfiling)}),Z(n,`stopProfiling`,function(){for(var e in n._isProfiling=!1,n._rendererInterfaces){var t=n._rendererInterfaces[e];t.stopProfiling()}n._bridge.send(`profilingStatus`,n._isProfiling)}),Z(n,`stopInspectingNative`,function(e){n._bridge.send(`stopInspectingHost`,e)}),Z(n,`storeAsGlobal`,function(e){var t=e.count,r=e.id,i=e.path,a=e.rendererID,o=n._rendererInterfaces[a];o==null?console.warn(`Invalid renderer id "${a}" for element "${r}"`):o.storeAsGlobal(r,i,t)}),Z(n,`updateHookSettings`,function(e){n.emit(`updateHookSettings`,e)}),Z(n,`getHookSettings`,function(){n.emit(`getHookSettings`)}),Z(n,`onHookSettings`,function(e){n._bridge.send(`hookSettings`,e)}),Z(n,`updateComponentFilters`,function(e){for(var t in n._rendererInterfaces){var r=+t,i=n._rendererInterfaces[r];if(n._lastSelectedRendererID===r){var a=i.getPathForElement(n._lastSelectedElementID);a!==null&&(i.setTrackedPath(a),n._persistedSelection={rendererID:r,path:a})}i.updateComponentFilters(e)}}),Z(n,`getEnvironmentNames`,function(){var e=null;for(var t in n._rendererInterfaces){var r=n._rendererInterfaces[+t],i=r.getEnvironmentNames();if(e===null)e=i;else for(var a=0;a<i.length;a++)e.indexOf(i[a])===-1&&e.push(i[a])}n._bridge.send(`environmentNames`,e||[])}),Z(n,`onTraceUpdates`,function(e){n.emit(`traceUpdates`,e)}),Z(n,`onFastRefreshScheduled`,function(){s&&Zr(`onFastRefreshScheduled`),n._bridge.send(`fastRefreshScheduled`)}),Z(n,`onHookOperations`,function(e){if(s&&Zr(`onHookOperations`,`(${e.length}) [${e.join(`, `)}]`),n._bridge.send(`operations`,e),n._persistedSelection!==null){var t=e[0];if(n._persistedSelection.rendererID===t){var r=n._rendererInterfaces[t];if(r==null)console.warn(`Invalid renderer id "${t}"`);else{var i=n._persistedSelectionMatch,a=r.getBestMatchForTrackedPath();n._persistedSelectionMatch=a;var o=i===null?null:i.id,c=a===null?null:a.id;o!==c&&c!==null&&n._bridge.send(`selectElement`,c),a!==null&&a.isFullMatch&&(n._persistedSelection=null,n._persistedSelectionMatch=null,r.setTrackedPath(null))}}}}),Z(n,`getIfHasUnsupportedRendererVersion`,function(){n.emit(`getIfHasUnsupportedRendererVersion`)}),Z(n,`_persistSelectionTimerScheduled`,!1),Z(n,`_lastSelectedRendererID`,-1),Z(n,`_lastSelectedElementID`,-1),Z(n,`_persistSelection`,function(){n._persistSelectionTimerScheduled=!1;var e=n._lastSelectedRendererID,t=n._lastSelectedElementID,r=n._rendererInterfaces[e],i=r==null?null:r.getPathForElement(t);i===null?zr(_):Br(_,JSON.stringify({rendererID:e,path:i}))}),n._isProfiling=r,n._onReloadAndProfile=i;var a=Rr(_);return a!=null&&(n._persistedSelection=JSON.parse(a)),n._bridge=e,e.addListener(`clearErrorsAndWarnings`,n.clearErrorsAndWarnings),e.addListener(`clearErrorsForElementID`,n.clearErrorsForElementID),e.addListener(`clearWarningsForElementID`,n.clearWarningsForElementID),e.addListener(`copyElementPath`,n.copyElementPath),e.addListener(`deletePath`,n.deletePath),e.addListener(`getBackendVersion`,n.getBackendVersion),e.addListener(`getBridgeProtocol`,n.getBridgeProtocol),e.addListener(`getProfilingData`,n.getProfilingData),e.addListener(`getProfilingStatus`,n.getProfilingStatus),e.addListener(`getOwnersList`,n.getOwnersList),e.addListener(`inspectElement`,n.inspectElement),e.addListener(`logElementToConsole`,n.logElementToConsole),e.addListener(`overrideError`,n.overrideError),e.addListener(`overrideSuspense`,n.overrideSuspense),e.addListener(`overrideValueAtPath`,n.overrideValueAtPath),e.addListener(`reloadAndProfile`,n.reloadAndProfile),e.addListener(`renamePath`,n.renamePath),e.addListener(`setTraceUpdatesEnabled`,n.setTraceUpdatesEnabled),e.addListener(`startProfiling`,n.startProfiling),e.addListener(`stopProfiling`,n.stopProfiling),e.addListener(`storeAsGlobal`,n.storeAsGlobal),e.addListener(`syncSelectionFromBuiltinElementsPanel`,n.syncSelectionFromBuiltinElementsPanel),e.addListener(`shutdown`,n.shutdown),e.addListener(`updateHookSettings`,n.updateHookSettings),e.addListener(`getHookSettings`,n.getHookSettings),e.addListener(`updateComponentFilters`,n.updateComponentFilters),e.addListener(`getEnvironmentNames`,n.getEnvironmentNames),e.addListener(`getIfHasUnsupportedRendererVersion`,n.getIfHasUnsupportedRendererVersion),e.addListener(`overrideContext`,n.overrideContext),e.addListener(`overrideHookState`,n.overrideHookState),e.addListener(`overrideProps`,n.overrideProps),e.addListener(`overrideState`,n.overrideState),In(e,n),pr(n),e.send(`backendInitialized`),n._isProfiling&&e.send(`profilingStatus`,!0),n}return Yr(t,e),Wr(t,[{key:`rendererInterfaces`,get:function(){return this._rendererInterfaces}},{key:`getInstanceAndStyle`,value:function(e){var t=e.id,n=e.rendererID,r=this._rendererInterfaces[n];return r==null?(console.warn(`Invalid renderer id "${n}"`),null):r.getInstanceAndStyle(t)}},{key:`getIDForHostInstance`,value:function(e){if(Yt()||typeof e.nodeType!=`number`){for(var t in this._rendererInterfaces){var n=this._rendererInterfaces[t];try{var r=n.getElementIDForHostInstance(e);if(r!=null)return r}catch{}}return null}else{var i=null,a=null;for(var o in this._rendererInterfaces){var s=this._rendererInterfaces[o],c=s.getNearestMountedDOMNode(e);if(c!==null){if(c===e){i=c,a=s;break}(i===null||i.contains(c))&&(i=c,a=s)}}if(a!=null&&i!=null)try{return a.getElementIDForHostInstance(i)}catch{}return null}}},{key:`getComponentNameForHostInstance`,value:function(e){if(Yt()||typeof e.nodeType!=`number`){for(var t in this._rendererInterfaces){var n=this._rendererInterfaces[t];try{var r=n.getElementIDForHostInstance(e);if(r)return n.getDisplayNameForElementID(r)}catch{}}return null}else{var i=null,a=null;for(var o in this._rendererInterfaces){var s=this._rendererInterfaces[o],c=s.getNearestMountedDOMNode(e);if(c!==null){if(c===e){i=c,a=s;break}(i===null||i.contains(c))&&(i=c,a=s)}}if(a!=null&&i!=null)try{var l=a.getElementIDForHostInstance(i);if(l)return a.getDisplayNameForElementID(l)}catch{}return null}}},{key:`selectNode`,value:function(e){var t=this.getIDForHostInstance(e);t!==null&&this._bridge.send(`selectElement`,t)}},{key:`registerRendererInterface`,value:function(e,t){this._rendererInterfaces[e]=t,t.setTraceUpdatesEnabled(this._traceUpdatesEnabled);var n=this._persistedSelection;n!==null&&n.rendererID===e&&t.setTrackedPath(n.path)}},{key:`onUnsupportedRenderer`,value:function(){this._bridge.send(`unsupportedRendererVersion`)}}])}(o);function $r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ei(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$r(Object(n),!0).forEach(function(t){ti(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ti(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ni=0,ri,ii,ai,oi,si,ci,li;function ui(){}ui.__reactDisabledLog=!0;function di(){if(ni===0){ri=console.log,ii=console.info,ai=console.warn,oi=console.error,si=console.group,ci=console.groupCollapsed,li=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ui,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ni++}function fi(){if(ni--,ni===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ei(ei({},e),{},{value:ri}),info:ei(ei({},e),{},{value:ii}),warn:ei(ei({},e),{},{value:ai}),error:ei(ei({},e),{},{value:oi}),group:ei(ei({},e),{},{value:si}),groupCollapsed:ei(ei({},e),{},{value:ci}),groupEnd:ei(ei({},e),{},{value:li})})}ni<0&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function pi(e,t){return vi(e)||_i(e,t)||hi(e,t)||mi()}function mi(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
57
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hi(e,t){if(e){if(typeof e==`string`)return gi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gi(e,t)}}function gi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _i(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function vi(e){if(Array.isArray(e))return e}function yi(e){"@babel/helpers - typeof";return yi=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yi(e)}var bi;function xi(e){if(bi===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);bi=t&&t[1]||``}var n=``;return n=` (<anonymous>)`,`
|
|
58
|
+
`+bi+e+n}function Si(e,t){return xi(e+(t?` [`+t+`]`:``))}var Ci=!1;function wi(e,t,n){if(!e||Ci)return``;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0,Ci=!0;var i=n.H;n.H=null,di();try{var a={DetermineComponentFrameRoot:function(){var n;try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,`props`,{set:function(){throw Error()}}),(typeof Reflect>`u`?`undefined`:yi(Reflect))===`object`&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}var i=e();i&&typeof i.catch==`function`&&i.catch(function(){})}}catch(e){if(e&&n&&typeof e.stack==`string`)return[e.stack,n.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var o=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,`name`);o&&o.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var s=a.DetermineComponentFrameRoot(),c=pi(s,2),l=c[0],u=c[1];if(l&&u){for(var d=l.split(`
|
|
59
|
+
`),f=u.split(`
|
|
60
|
+
`),p=0,m=0;p<d.length&&!d[p].includes(`DetermineComponentFrameRoot`);)p++;for(;m<f.length&&!f[m].includes(`DetermineComponentFrameRoot`);)m++;if(p===d.length||m===f.length)for(p=d.length-1,m=f.length-1;p>=1&&m>=0&&d[p]!==f[m];)m--;for(;p>=1&&m>=0;p--,m--)if(d[p]!==f[m]){if(p!==1||m!==1)do if(p--,m--,m<0||d[p]!==f[m]){var h=`
|
|
61
|
+
`+d[p].replace(` at new `,` at `);return e.displayName&&h.includes(`<anonymous>`)&&(h=h.replace(`<anonymous>`,e.displayName)),h}while(p>=1&&m>=0);break}}}finally{Ci=!1,Error.prepareStackTrace=r,n.H=i,fi()}var g=e?e.displayName||e.name:``,_=g?xi(g):``;return _}function Ti(e,t){return wi(e,!0,t)}function Ei(e,t){return wi(e,!1,t)}function Di(e){try{var t=``;if(!e.owner&&typeof e.name==`string`)return xi(e.name);for(var n=e;n;){var r=n.debugStack;if(r!=null)n=n.owner,n&&(t+=`
|
|
62
|
+
`+Tt(r));else break}return t}catch(e){return`
|
|
63
|
+
Error generating stack: `+e.message+`
|
|
64
|
+
`+e.stack}}var Oi=new WeakMap;function ki(e){return Ni(e)||Mi(e)||ji(e)||Ai()}function Ai(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
65
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ji(e,t){if(e){if(typeof e==`string`)return Pi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pi(e,t)}}function Mi(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Ni(e){if(Array.isArray(e))return Pi(e)}function Pi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Fi(e){return!!e.debugTask}function Ii(e,t,n,r){var i=n.getCurrentComponentInfo;function a(e){if(i===void 0)return null;var t=i();if(t===null||Fi(t))return null;var n=t.debugStack!=null,r=``;if(n){var a=Tt(e);a&&(r+=`
|
|
66
|
+
`+a),r+=Di(t)}return{enableOwnerStacks:n,componentStack:r}}function o(e,t){if(i!==void 0){var n=i();if(n!==null){if(t.length>3&&typeof t[0]==`string`&&t[0].startsWith(`%c%s%c `)&&typeof t[1]==`string`&&typeof t[2]==`string`&&typeof t[3]==`string`){var r=t[0].slice(7),a=t[2].trim();t=t.slice(4),a===n.env?t.unshift(r):t.unshift(`[`+a+`] `+r)}var o=Kt.apply(void 0,ki(t)),s=Oi.get(n);s===void 0&&(s={errors:new Map,errorsCount:0,warnings:new Map,warningsCount:0},Oi.set(n,s));var c=e===`error`?s.errors:s.warnings,l=c.get(o)||0;c.set(o,l+1),e===`error`?s.errorsCount++:s.warningsCount++}}}return{cleanup:function(){},clearErrorsAndWarnings:function(){},clearErrorsForElementID:function(){},clearWarningsForElementID:function(){},getSerializedElementValueByPath:function(){},deletePath:function(){},findHostInstancesForElementID:function(){return null},flushInitialOperations:function(){},getBestMatchForTrackedPath:function(){return null},getComponentStack:a,getDisplayNameForElementID:function(){return null},getNearestMountedDOMNode:function(){return null},getElementIDForHostInstance:function(){return null},getInstanceAndStyle:function(){return{instance:null,style:null}},getOwnersList:function(){return null},getPathForElement:function(){return null},getProfilingData:function(){throw Error(`getProfilingData not supported by this renderer`)},handleCommitFiberRoot:function(){},handleCommitFiberUnmount:function(){},handlePostCommitFiberRoot:function(){},hasElementWithId:function(){return!1},inspectElement:function(e,t,n){return{id:t,responseID:e,type:`not-found`}},logElementToConsole:function(){},getElementAttributeByPath:function(){},getElementSourceFunctionById:function(){},onErrorOrWarning:o,overrideError:function(){},overrideSuspense:function(){},overrideValueAtPath:function(){},renamePath:function(){},renderer:n,setTraceUpdatesEnabled:function(){},setTrackedPath:function(){},startProfiling:function(){},stopProfiling:function(){},storeAsGlobal:function(){},updateComponentFilters:function(){},getEnvironmentNames:function(){return[]}}}var Li=n(987),Ri=60111,zi=`Symbol(react.concurrent_mode)`,Bi=60110,Vi=`Symbol(react.context)`,Hi=`Symbol(react.server_context)`,Ui=`Symbol(react.async_mode)`,Wi=60112,Gi=`Symbol(react.forward_ref)`,Ki=60115,qi=`Symbol(react.memo)`,Ji=60114,Yi=`Symbol(react.profiler)`,Xi=60109,Zi=`Symbol(react.provider)`,Qi=`Symbol(react.consumer)`,$i=60119,ea=`Symbol(react.scope)`,ta=60108,na=`Symbol(react.strict_mode)`,ra=Symbol.for(`react.memo_cache_sentinel`),ia=!1;function aa(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var oa=typeof Object.is==`function`?Object.is:aa;let sa=oa;var ca=Object.prototype.hasOwnProperty;let la=ca;function ua(e,t,n){var r=e.HostHoistable,i=e.HostSingleton,a=e.HostComponent,o=e.LazyComponent,s=e.SuspenseComponent,c=e.SuspenseListComponent,l=e.FunctionComponent,u=e.IndeterminateComponent,d=e.SimpleMemoComponent,f=e.ForwardRef,p=e.ClassComponent,m=e.ViewTransitionComponent,h=e.ActivityComponent;switch(t.tag){case r:case i:case a:return xi(t.type);case o:return xi(`Lazy`);case s:return xi(`Suspense`);case c:return xi(`SuspenseList`);case m:return xi(`ViewTransition`);case h:return xi(`Activity`);case l:case u:case d:return Ei(t.type,n);case f:return Ei(t.type.render,n);case p:return Ti(t.type,n);default:return``}}function da(e,t,n){try{var r=``,i=t;do{r+=ua(e,i,n);var a=i._debugInfo;if(a)for(var o=a.length-1;o>=0;o--){var s=a[o];typeof s.name==`string`&&(r+=Si(s.name,s.env))}i=i.return}while(i);return r}catch(e){return`
|
|
67
|
+
Error generating stack: `+e.message+`
|
|
68
|
+
`+e.stack}}function fa(e,t,n){try{var r=ua(e,t,n);if(r!==``)return r.slice(1)}catch(e){console.error(e)}return null}function pa(e){return!!e._debugTask}function ma(e){return e._debugStack!==void 0}function ha(e,t,n){var r=e.HostHoistable,i=e.HostSingleton,a=e.HostText,o=e.HostComponent,s=e.SuspenseComponent,c=e.SuspenseListComponent,l=e.ViewTransitionComponent,u=e.ActivityComponent;try{var d=``;switch(t.tag===a&&(t=t.return),t.tag){case r:case i:case o:d+=xi(t.type);break;case s:d+=xi(`Suspense`);break;case c:d+=xi(`SuspenseList`);break;case l:d+=xi(`ViewTransition`);break;case u:d+=xi(`Activity`);break}for(var f=t;f;)if(typeof f.tag==`number`){var p=f;f=p._debugOwner;var m=p._debugStack;f&&m&&(typeof m!=`string`&&(m=Tt(m)),m!==``&&(d+=`
|
|
69
|
+
`+m))}else if(f.debugStack!=null){var h=f.debugStack;f=f.owner,f&&h&&(d+=`
|
|
70
|
+
`+Tt(h))}else break;return d}catch(e){return`
|
|
71
|
+
Error generating stack: `+e.message+`
|
|
72
|
+
`+e.stack}}var ga=new Map;function _a(e){var t=new Set,n={};return va(e,t,n),{sources:Array.from(t).sort(),resolvedStyles:n}}function va(e,t,n){e!=null&&(Fe(e)?e.forEach(function(e){e!=null&&(Fe(e)?va(e,t,n):ya(e,t,n))}):ya(e,t,n),n=Object.fromEntries(Object.entries(n).sort()))}function ya(e,t,n){var r=Object.keys(e);r.forEach(function(r){var i=e[r];if(typeof i==`string`)if(r===i)t.add(r);else{var a=ba(i);a!=null&&(n[r]=a)}else{var o={};n[r]=o,va([i],t,o)}})}function ba(e){if(ga.has(e))return ga.get(e);for(var t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t],r=null;try{r=n.cssRules}catch{continue}for(var i=0;i<r.length;i++)if(r[i]instanceof CSSStyleRule){var a=r[i],o=a.cssText,s=a.selectorText,c=a.style;if(s!=null&&s.startsWith(`.${e}`)){var l=o.match(/{ *([a-z\-]+):/);if(l!==null){var u=l[1],d=c.getPropertyValue(u);return ga.set(e,d),d}else return null}}}return null}var xa={light:{"--color-attribute-name":`#ef6632`,"--color-attribute-name-not-editable":`#23272f`,"--color-attribute-name-inverted":`rgba(255, 255, 255, 0.7)`,"--color-attribute-value":`#1a1aa6`,"--color-attribute-value-inverted":`#ffffff`,"--color-attribute-editable-value":`#1a1aa6`,"--color-background":`#ffffff`,"--color-background-hover":`rgba(0, 136, 250, 0.1)`,"--color-background-inactive":`#e5e5e5`,"--color-background-invalid":`#fff0f0`,"--color-background-selected":`#0088fa`,"--color-button-background":`#ffffff`,"--color-button-background-focus":`#ededed`,"--color-button-background-hover":`rgba(0, 0, 0, 0.2)`,"--color-button":`#5f6673`,"--color-button-disabled":`#cfd1d5`,"--color-button-active":`#0088fa`,"--color-button-focus":`#23272f`,"--color-button-hover":`#23272f`,"--color-border":`#eeeeee`,"--color-commit-did-not-render-fill":`#cfd1d5`,"--color-commit-did-not-render-fill-text":`#000000`,"--color-commit-did-not-render-pattern":`#cfd1d5`,"--color-commit-did-not-render-pattern-text":`#333333`,"--color-commit-gradient-0":`#37afa9`,"--color-commit-gradient-1":`#63b19e`,"--color-commit-gradient-2":`#80b393`,"--color-commit-gradient-3":`#97b488`,"--color-commit-gradient-4":`#abb67d`,"--color-commit-gradient-5":`#beb771`,"--color-commit-gradient-6":`#cfb965`,"--color-commit-gradient-7":`#dfba57`,"--color-commit-gradient-8":`#efbb49`,"--color-commit-gradient-9":`#febc38`,"--color-commit-gradient-text":`#000000`,"--color-component-name":`#6a51b2`,"--color-component-name-inverted":`#ffffff`,"--color-component-badge-background":`#e6e6e6`,"--color-component-badge-background-inverted":`rgba(255, 255, 255, 0.25)`,"--color-component-badge-count":`#777d88`,"--color-component-badge-count-inverted":`rgba(255, 255, 255, 0.7)`,"--color-console-error-badge-text":`#ffffff`,"--color-console-error-background":`#fff0f0`,"--color-console-error-border":`#ffd6d6`,"--color-console-error-icon":`#eb3941`,"--color-console-error-text":`#fe2e31`,"--color-console-warning-badge-text":`#000000`,"--color-console-warning-background":`#fffbe5`,"--color-console-warning-border":`#fff5c1`,"--color-console-warning-icon":`#f4bd00`,"--color-console-warning-text":`#64460c`,"--color-context-background":`rgba(0,0,0,.9)`,"--color-context-background-hover":`rgba(255, 255, 255, 0.1)`,"--color-context-background-selected":`#178fb9`,"--color-context-border":`#3d424a`,"--color-context-text":`#ffffff`,"--color-context-text-selected":`#ffffff`,"--color-dim":`#777d88`,"--color-dimmer":`#cfd1d5`,"--color-dimmest":`#eff0f1`,"--color-error-background":`hsl(0, 100%, 97%)`,"--color-error-border":`hsl(0, 100%, 92%)`,"--color-error-text":`#ff0000`,"--color-expand-collapse-toggle":`#777d88`,"--color-forget-badge-background":`#2683e2`,"--color-forget-badge-background-inverted":`#1a6bbc`,"--color-forget-text":`#fff`,"--color-link":`#0000ff`,"--color-modal-background":`rgba(255, 255, 255, 0.75)`,"--color-bridge-version-npm-background":`#eff0f1`,"--color-bridge-version-npm-text":`#000000`,"--color-bridge-version-number":`#0088fa`,"--color-primitive-hook-badge-background":`#e5e5e5`,"--color-primitive-hook-badge-text":`#5f6673`,"--color-record-active":`#fc3a4b`,"--color-record-hover":`#3578e5`,"--color-record-inactive":`#0088fa`,"--color-resize-bar":`#eeeeee`,"--color-resize-bar-active":`#dcdcdc`,"--color-resize-bar-border":`#d1d1d1`,"--color-resize-bar-dot":`#333333`,"--color-timeline-internal-module":`#d1d1d1`,"--color-timeline-internal-module-hover":`#c9c9c9`,"--color-timeline-internal-module-text":`#444`,"--color-timeline-native-event":`#ccc`,"--color-timeline-native-event-hover":`#aaa`,"--color-timeline-network-primary":`#fcf3dc`,"--color-timeline-network-primary-hover":`#f0e7d1`,"--color-timeline-network-secondary":`#efc457`,"--color-timeline-network-secondary-hover":`#e3ba52`,"--color-timeline-priority-background":`#f6f6f6`,"--color-timeline-priority-border":`#eeeeee`,"--color-timeline-user-timing":`#c9cacd`,"--color-timeline-user-timing-hover":`#93959a`,"--color-timeline-react-idle":`#d3e5f6`,"--color-timeline-react-idle-hover":`#c3d9ef`,"--color-timeline-react-render":`#9fc3f3`,"--color-timeline-react-render-hover":`#83afe9`,"--color-timeline-react-render-text":`#11365e`,"--color-timeline-react-commit":`#c88ff0`,"--color-timeline-react-commit-hover":`#b281d6`,"--color-timeline-react-commit-text":`#3e2c4a`,"--color-timeline-react-layout-effects":`#b281d6`,"--color-timeline-react-layout-effects-hover":`#9d71bd`,"--color-timeline-react-layout-effects-text":`#3e2c4a`,"--color-timeline-react-passive-effects":`#b281d6`,"--color-timeline-react-passive-effects-hover":`#9d71bd`,"--color-timeline-react-passive-effects-text":`#3e2c4a`,"--color-timeline-react-schedule":`#9fc3f3`,"--color-timeline-react-schedule-hover":`#2683E2`,"--color-timeline-react-suspense-rejected":`#f1cc14`,"--color-timeline-react-suspense-rejected-hover":`#ffdf37`,"--color-timeline-react-suspense-resolved":`#a6e59f`,"--color-timeline-react-suspense-resolved-hover":`#89d281`,"--color-timeline-react-suspense-unresolved":`#c9cacd`,"--color-timeline-react-suspense-unresolved-hover":`#93959a`,"--color-timeline-thrown-error":`#ee1638`,"--color-timeline-thrown-error-hover":`#da1030`,"--color-timeline-text-color":`#000000`,"--color-timeline-text-dim-color":`#ccc`,"--color-timeline-react-work-border":`#eeeeee`,"--color-search-match":`yellow`,"--color-search-match-current":`#f7923b`,"--color-selected-tree-highlight-active":`rgba(0, 136, 250, 0.1)`,"--color-selected-tree-highlight-inactive":`rgba(0, 0, 0, 0.05)`,"--color-scroll-caret":`rgba(150, 150, 150, 0.5)`,"--color-tab-selected-border":`#0088fa`,"--color-text":`#000000`,"--color-text-invalid":`#ff0000`,"--color-text-selected":`#ffffff`,"--color-toggle-background-invalid":`#fc3a4b`,"--color-toggle-background-on":`#0088fa`,"--color-toggle-background-off":`#cfd1d5`,"--color-toggle-text":`#ffffff`,"--color-warning-background":`#fb3655`,"--color-warning-background-hover":`#f82042`,"--color-warning-text-color":`#ffffff`,"--color-warning-text-color-inverted":`#fd4d69`,"--color-scroll-thumb":`#c2c2c2`,"--color-scroll-track":`#fafafa`,"--color-tooltip-background":`rgba(0, 0, 0, 0.9)`,"--color-tooltip-text":`#ffffff`},dark:{"--color-attribute-name":`#9d87d2`,"--color-attribute-name-not-editable":`#ededed`,"--color-attribute-name-inverted":`#282828`,"--color-attribute-value":`#cedae0`,"--color-attribute-value-inverted":`#ffffff`,"--color-attribute-editable-value":`yellow`,"--color-background":`#282c34`,"--color-background-hover":`rgba(255, 255, 255, 0.1)`,"--color-background-inactive":`#3d424a`,"--color-background-invalid":`#5c0000`,"--color-background-selected":`#178fb9`,"--color-button-background":`#282c34`,"--color-button-background-focus":`#3d424a`,"--color-button-background-hover":`rgba(255, 255, 255, 0.2)`,"--color-button":`#afb3b9`,"--color-button-active":`#61dafb`,"--color-button-disabled":`#4f5766`,"--color-button-focus":`#a2e9fc`,"--color-button-hover":`#ededed`,"--color-border":`#3d424a`,"--color-commit-did-not-render-fill":`#777d88`,"--color-commit-did-not-render-fill-text":`#000000`,"--color-commit-did-not-render-pattern":`#666c77`,"--color-commit-did-not-render-pattern-text":`#ffffff`,"--color-commit-gradient-0":`#37afa9`,"--color-commit-gradient-1":`#63b19e`,"--color-commit-gradient-2":`#80b393`,"--color-commit-gradient-3":`#97b488`,"--color-commit-gradient-4":`#abb67d`,"--color-commit-gradient-5":`#beb771`,"--color-commit-gradient-6":`#cfb965`,"--color-commit-gradient-7":`#dfba57`,"--color-commit-gradient-8":`#efbb49`,"--color-commit-gradient-9":`#febc38`,"--color-commit-gradient-text":`#000000`,"--color-component-name":`#61dafb`,"--color-component-name-inverted":`#282828`,"--color-component-badge-background":`#5e6167`,"--color-component-badge-background-inverted":`#46494e`,"--color-component-badge-count":`#8f949d`,"--color-component-badge-count-inverted":`rgba(255, 255, 255, 0.85)`,"--color-console-error-badge-text":`#000000`,"--color-console-error-background":`#290000`,"--color-console-error-border":`#5c0000`,"--color-console-error-icon":`#eb3941`,"--color-console-error-text":`#fc7f7f`,"--color-console-warning-badge-text":`#000000`,"--color-console-warning-background":`#332b00`,"--color-console-warning-border":`#665500`,"--color-console-warning-icon":`#f4bd00`,"--color-console-warning-text":`#f5f2ed`,"--color-context-background":`rgba(255,255,255,.95)`,"--color-context-background-hover":`rgba(0, 136, 250, 0.1)`,"--color-context-background-selected":`#0088fa`,"--color-context-border":`#eeeeee`,"--color-context-text":`#000000`,"--color-context-text-selected":`#ffffff`,"--color-dim":`#8f949d`,"--color-dimmer":`#777d88`,"--color-dimmest":`#4f5766`,"--color-error-background":`#200`,"--color-error-border":`#900`,"--color-error-text":`#f55`,"--color-expand-collapse-toggle":`#8f949d`,"--color-forget-badge-background":`#2683e2`,"--color-forget-badge-background-inverted":`#1a6bbc`,"--color-forget-text":`#fff`,"--color-link":`#61dafb`,"--color-modal-background":`rgba(0, 0, 0, 0.75)`,"--color-bridge-version-npm-background":`rgba(0, 0, 0, 0.25)`,"--color-bridge-version-npm-text":`#ffffff`,"--color-bridge-version-number":`yellow`,"--color-primitive-hook-badge-background":`rgba(0, 0, 0, 0.25)`,"--color-primitive-hook-badge-text":`rgba(255, 255, 255, 0.7)`,"--color-record-active":`#fc3a4b`,"--color-record-hover":`#a2e9fc`,"--color-record-inactive":`#61dafb`,"--color-resize-bar":`#282c34`,"--color-resize-bar-active":`#31363f`,"--color-resize-bar-border":`#3d424a`,"--color-resize-bar-dot":`#cfd1d5`,"--color-timeline-internal-module":`#303542`,"--color-timeline-internal-module-hover":`#363b4a`,"--color-timeline-internal-module-text":`#7f8899`,"--color-timeline-native-event":`#b2b2b2`,"--color-timeline-native-event-hover":`#949494`,"--color-timeline-network-primary":`#fcf3dc`,"--color-timeline-network-primary-hover":`#e3dbc5`,"--color-timeline-network-secondary":`#efc457`,"--color-timeline-network-secondary-hover":`#d6af4d`,"--color-timeline-priority-background":`#1d2129`,"--color-timeline-priority-border":`#282c34`,"--color-timeline-user-timing":`#c9cacd`,"--color-timeline-user-timing-hover":`#93959a`,"--color-timeline-react-idle":`#3d485b`,"--color-timeline-react-idle-hover":`#465269`,"--color-timeline-react-render":`#2683E2`,"--color-timeline-react-render-hover":`#1a76d4`,"--color-timeline-react-render-text":`#11365e`,"--color-timeline-react-commit":`#731fad`,"--color-timeline-react-commit-hover":`#611b94`,"--color-timeline-react-commit-text":`#e5c1ff`,"--color-timeline-react-layout-effects":`#611b94`,"--color-timeline-react-layout-effects-hover":`#51167a`,"--color-timeline-react-layout-effects-text":`#e5c1ff`,"--color-timeline-react-passive-effects":`#611b94`,"--color-timeline-react-passive-effects-hover":`#51167a`,"--color-timeline-react-passive-effects-text":`#e5c1ff`,"--color-timeline-react-schedule":`#2683E2`,"--color-timeline-react-schedule-hover":`#1a76d4`,"--color-timeline-react-suspense-rejected":`#f1cc14`,"--color-timeline-react-suspense-rejected-hover":`#e4c00f`,"--color-timeline-react-suspense-resolved":`#a6e59f`,"--color-timeline-react-suspense-resolved-hover":`#89d281`,"--color-timeline-react-suspense-unresolved":`#c9cacd`,"--color-timeline-react-suspense-unresolved-hover":`#93959a`,"--color-timeline-thrown-error":`#fb3655`,"--color-timeline-thrown-error-hover":`#f82042`,"--color-timeline-text-color":`#282c34`,"--color-timeline-text-dim-color":`#555b66`,"--color-timeline-react-work-border":`#3d424a`,"--color-search-match":`yellow`,"--color-search-match-current":`#f7923b`,"--color-selected-tree-highlight-active":`rgba(23, 143, 185, 0.15)`,"--color-selected-tree-highlight-inactive":`rgba(255, 255, 255, 0.05)`,"--color-scroll-caret":`#4f5766`,"--color-shadow":`rgba(0, 0, 0, 0.5)`,"--color-tab-selected-border":`#178fb9`,"--color-text":`#ffffff`,"--color-text-invalid":`#ff8080`,"--color-text-selected":`#ffffff`,"--color-toggle-background-invalid":`#fc3a4b`,"--color-toggle-background-on":`#178fb9`,"--color-toggle-background-off":`#777d88`,"--color-toggle-text":`#ffffff`,"--color-warning-background":`#ee1638`,"--color-warning-background-hover":`#da1030`,"--color-warning-text-color":`#ffffff`,"--color-warning-text-color-inverted":`#ee1638`,"--color-scroll-thumb":`#afb3b9`,"--color-scroll-track":`#313640`,"--color-tooltip-background":`rgba(255, 255, 255, 0.95)`,"--color-tooltip-text":`#000000`},compact:{"--font-size-monospace-small":`9px`,"--font-size-monospace-normal":`11px`,"--font-size-monospace-large":`15px`,"--font-size-sans-small":`10px`,"--font-size-sans-normal":`12px`,"--font-size-sans-large":`14px`,"--line-height-data":`18px`},comfortable:{"--font-size-monospace-small":`10px`,"--font-size-monospace-normal":`13px`,"--font-size-monospace-large":`17px`,"--font-size-sans-small":`12px`,"--font-size-sans-normal":`14px`,"--font-size-sans-large":`16px`,"--line-height-data":`22px`}};parseInt(xa.comfortable[`--line-height-data`],10),parseInt(xa.compact[`--line-height-data`],10);var Sa=31,Ca=1;function wa(e,t){return ka(e)||Oa(e,t)||Ea(e,t)||Ta()}function Ta(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
73
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ea(e,t){if(e){if(typeof e==`string`)return Da(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Da(e,t)}}function Da(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Oa(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function ka(e){if(Array.isArray(e))return e}function Aa(e){"@babel/helpers - typeof";return Aa=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Aa(e)}var ja=10,Ma=null,Na=typeof performance<`u`&&typeof performance.mark==`function`&&typeof performance.clearMarks==`function`,Q=!1;if(Na){var Pa=`__v3`,Fa={};Object.defineProperty(Fa,`startTime`,{get:function(){return Q=!0,0},set:function(){}});try{performance.mark(Pa,Fa)}catch{}finally{performance.clearMarks(Pa)}}Q&&(Ma=performance);var Ia=(typeof performance>`u`?`undefined`:Aa(performance))===`object`&&typeof performance.now==`function`?function(){return performance.now()}:function(){return Date.now()};function La(e){var t=e.getDisplayNameForFiber;e.getIsProfiling;var n=e.getLaneLabelMap,r=e.workTagMap,i=e.currentDispatcherRef,a=e.reactVersion,o=0,s=null,c=[],l=null,u=new Map,d=!1,f=!1;function p(){var e=Ia();return l?(l.startTime===0&&(l.startTime=e-ja),e-l.startTime):0}function m(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.getInternalModuleRanges==`function`){var e=__REACT_DEVTOOLS_GLOBAL_HOOK__.getInternalModuleRanges();if(wt(e))return e}return null}function h(){return l}function g(e){for(var t=[],n=1,r=0;r<Sa;r++)n&e&&t.push(n),n*=2;return t}var _=typeof n==`function`?n():null;function v(){y(`--react-version-${a}`),y(`--profiler-version-${Ca}`);var e=m();if(e)for(var t=0;t<e.length;t++){var n=e[t];if(wt(n)&&n.length===2){var r=wa(e[t],2),i=r[0],o=r[1];y(`--react-internal-module-start-${i}`),y(`--react-internal-module-stop-${o}`)}}if(_!=null){var s=Array.from(_.values()).join(`,`);y(`--react-lane-labels-${s}`)}}function y(e){Ma.mark(e),Ma.clearMarks(e)}function b(e,t){var n=0;if(c.length>0){var r=c[c.length-1];n=r.type===`render-idle`?r.depth:r.depth+1}var i=g(t),a={type:e,batchUID:o,depth:n,lanes:i,timestamp:p(),duration:0};if(c.push(a),l){var s=l,u=s.batchUIDToMeasuresMap,d=s.laneToReactMeasureMap,f=u.get(o);f==null?u.set(o,[a]):f.push(a),i.forEach(function(e){f=d.get(e),f&&f.push(a)})}}function x(e){var t=p();if(c.length===0){console.error(`Unexpected type "%s" completed at %sms while currentReactMeasuresStack is empty.`,e,t);return}var n=c.pop();n.type!==e&&console.error(`Unexpected type "%s" completed at %sms before "%s" completed.`,e,t,n.type),n.duration=t-n.timestamp,l&&(l.duration=p()+ja)}function S(e){d&&(b(`commit`,e),f=!0,Q&&(y(`--commit-start-${e}`),v()))}function C(){d&&(x(`commit`),x(`render-idle`),Q&&y(`--commit-stop`))}function w(e){if(d){var n=t(e)||`Unknown`;s={componentName:n,duration:0,timestamp:p(),type:`render`,warning:null},Q&&y(`--component-render-start-${n}`)}}function T(){d&&(s&&=(l&&l.componentMeasures.push(s),s.duration=p()-s.timestamp,null),Q&&y(`--component-render-stop`))}function E(e){if(d){var n=t(e)||`Unknown`;s={componentName:n,duration:0,timestamp:p(),type:`layout-effect-mount`,warning:null},Q&&y(`--component-layout-effect-mount-start-${n}`)}}function D(){d&&(s&&=(l&&l.componentMeasures.push(s),s.duration=p()-s.timestamp,null),Q&&y(`--component-layout-effect-mount-stop`))}function O(e){if(d){var n=t(e)||`Unknown`;s={componentName:n,duration:0,timestamp:p(),type:`layout-effect-unmount`,warning:null},Q&&y(`--component-layout-effect-unmount-start-${n}`)}}function k(){d&&(s&&=(l&&l.componentMeasures.push(s),s.duration=p()-s.timestamp,null),Q&&y(`--component-layout-effect-unmount-stop`))}function A(e){if(d){var n=t(e)||`Unknown`;s={componentName:n,duration:0,timestamp:p(),type:`passive-effect-mount`,warning:null},Q&&y(`--component-passive-effect-mount-start-${n}`)}}function j(){d&&(s&&=(l&&l.componentMeasures.push(s),s.duration=p()-s.timestamp,null),Q&&y(`--component-passive-effect-mount-stop`))}function M(e){if(d){var n=t(e)||`Unknown`;s={componentName:n,duration:0,timestamp:p(),type:`passive-effect-unmount`,warning:null},Q&&y(`--component-passive-effect-unmount-start-${n}`)}}function N(){d&&(s&&=(l&&l.componentMeasures.push(s),s.duration=p()-s.timestamp,null),Q&&y(`--component-passive-effect-unmount-stop`))}function P(e,n,r){if(d){var i=t(e)||`Unknown`,a=e.alternate===null?`mount`:`update`,o=``;n!==null&&Aa(n)===`object`&&typeof n.message==`string`?o=n.message:typeof n==`string`&&(o=n),l&&l.thrownErrors.push({componentName:i,message:o,phase:a,timestamp:p(),type:`thrown-error`}),Q&&y(`--error-${i}-${a}-${o}`)}}var F=typeof WeakMap==`function`?WeakMap:Map,ee=new F,I=0;function L(e){return ee.has(e)||ee.set(e,I++),ee.get(e)}function te(e,n,r){if(d){var i=ee.has(n)?`resuspend`:`suspend`,a=L(n),o=t(e)||`Unknown`,s=e.alternate===null?`mount`:`update`,c=n.displayName||``,u=null;u={componentName:o,depth:0,duration:0,id:`${a}`,phase:s,promiseName:c,resolution:`unresolved`,timestamp:p(),type:`suspense`,warning:null},l&&l.suspenseEvents.push(u),Q&&(y(`--suspense-${i}-${a}-${o}-${s}-${r}-${c}`),n.then(function(){u&&(u.duration=p()-u.timestamp,u.resolution=`resolved`),Q&&y(`--suspense-resolved-${a}-${o}`)},function(){u&&(u.duration=p()-u.timestamp,u.resolution=`rejected`),Q&&y(`--suspense-rejected-${a}-${o}`)}))}}function R(e){d&&(b(`layout-effects`,e),Q&&y(`--layout-effects-start-${e}`))}function z(){d&&(x(`layout-effects`),Q&&y(`--layout-effects-stop`))}function B(e){d&&(b(`passive-effects`,e),Q&&y(`--passive-effects-start-${e}`))}function ne(){d&&(x(`passive-effects`),Q&&y(`--passive-effects-stop`))}function re(e){d&&(f&&(f=!1,o++),(c.length===0||c[c.length-1].type!==`render-idle`)&&b(`render-idle`,e),b(`render`,e),Q&&y(`--render-start-${e}`))}function ie(){d&&(x(`render`),Q&&y(`--render-yield`))}function ae(){d&&(x(`render`),Q&&y(`--render-stop`))}function oe(e){d&&(l&&l.schedulingEvents.push({lanes:g(e),timestamp:p(),type:`schedule-render`,warning:null}),Q&&y(`--schedule-render-${e}`))}function se(e,n){if(d){var r=t(e)||`Unknown`;l&&l.schedulingEvents.push({componentName:r,lanes:g(n),timestamp:p(),type:`schedule-force-update`,warning:null}),Q&&y(`--schedule-forced-update-${n}-${r}`)}}function ce(e){for(var t=[],n=e;n!==null;)t.push(n),n=n.return;return t}function le(e,n){if(d){var r=t(e)||`Unknown`;if(l){var i={componentName:r,lanes:g(n),timestamp:p(),type:`schedule-state-update`,warning:null};u.set(i,ce(e)),l.schedulingEvents.push(i)}Q&&y(`--schedule-state-update-${n}-${r}`)}}function ue(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(d!==e)if(d=e,d){var n=new Map;if(Q){var p=m();if(p)for(var h=0;h<p.length;h++){var g=p[h];if(wt(g)&&g.length===2){var v=wa(p[h],2),b=v[0],x=v[1];y(`--react-internal-module-start-${b}`),y(`--react-internal-module-stop-${x}`)}}}for(var S=new Map,C=1,w=0;w<Sa;w++)S.set(C,[]),C*=2;o=0,s=null,c=[],u=new Map,t&&(l={internalModuleSourceToRanges:n,laneToLabelMap:_||new Map,reactVersion:a,componentMeasures:[],schedulingEvents:[],suspenseEvents:[],thrownErrors:[],batchUIDToMeasuresMap:new Map,duration:0,laneToReactMeasureMap:S,startTime:0,flamechart:[],nativeEvents:[],networkMeasures:[],otherUserTimingMarks:[],snapshots:[],snapshotHeight:0}),f=!0}else l!==null&&l.schedulingEvents.forEach(function(e){if(e.type===`schedule-state-update`){var t=u.get(e);t&&i!=null&&(e.componentStack=t.reduce(function(e,t){return e+ua(r,t,i)},``))}}),u.clear()}return{getTimelineData:h,profilingHooks:{markCommitStarted:S,markCommitStopped:C,markComponentRenderStarted:w,markComponentRenderStopped:T,markComponentPassiveEffectMountStarted:A,markComponentPassiveEffectMountStopped:j,markComponentPassiveEffectUnmountStarted:M,markComponentPassiveEffectUnmountStopped:N,markComponentLayoutEffectMountStarted:E,markComponentLayoutEffectMountStopped:D,markComponentLayoutEffectUnmountStarted:O,markComponentLayoutEffectUnmountStopped:k,markComponentErrored:P,markComponentSuspended:te,markLayoutEffectsStarted:R,markLayoutEffectsStopped:z,markPassiveEffectsStarted:B,markPassiveEffectsStopped:ne,markRenderStarted:re,markRenderYielded:ie,markRenderStopped:ae,markRenderScheduled:oe,markForceUpdateScheduled:se,markStateUpdateScheduled:le},toggleProfilingStatus:ue}}function Ra(e,t){if(e==null)return{};var n=za(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function za(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Va(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Ba(Object(n),!0).forEach(function(t){Ha(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ba(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ha(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ua(e){return Ka(e)||Ga(e)||Ja(e)||Wa()}function Wa(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
74
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ga(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Ka(e){if(Array.isArray(e))return Ya(e)}function qa(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Ja(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
75
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,s=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}}}function Ja(e,t){if(e){if(typeof e==`string`)return Ya(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ya(e,t)}}function Ya(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Xa(e){"@babel/helpers - typeof";return Xa=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Xa(e)}var Za=Object.prototype.toString;function Qa(e){return Za.call(e)===`[object Error]`}var $a=0,eo=1,to=2;function no(e){return{kind:$a,id:V(),parent:null,firstChild:null,nextSibling:null,source:null,logCount:0,treeBaseDuration:0,data:e}}function ro(e){return{kind:to,id:0,parent:null,firstChild:null,nextSibling:null,source:null,logCount:0,treeBaseDuration:0,data:e}}function io(e){return{kind:eo,id:V(),parent:null,firstChild:null,nextSibling:null,source:null,logCount:0,treeBaseDuration:0,data:e}}function ao(e){if(e.currentDispatcherRef!==void 0){var t=e.currentDispatcherRef;return t.H===void 0&&t.current!==void 0?{get H(){return t.current},set H(e){t.current=e}}:t}}function oo(e){return e.flags===void 0?e.effectTag:e.flags}var so=(typeof performance>`u`?`undefined`:Xa(performance))===`object`&&typeof performance.now==`function`?function(){return performance.now()}:function(){return Date.now()};function co(e){var t={ImmediatePriority:99,UserBlockingPriority:98,NormalPriority:97,LowPriority:96,IdlePriority:95,NoPriority:90};Jt(e,`17.0.2`)&&(t={ImmediatePriority:1,UserBlockingPriority:2,NormalPriority:3,LowPriority:4,IdlePriority:5,NoPriority:0});var n=0;G(e,`18.0.0-alpha`)?n=24:G(e,`16.9.0`)?n=1:G(e,`16.3.0`)&&(n=2);var r=null;r=Jt(e,`17.0.1`)?{CacheComponent:24,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:26,HostSingleton:27,HostText:6,IncompleteClassComponent:17,IncompleteFunctionComponent:28,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:23,MemoComponent:14,Mode:8,OffscreenComponent:22,Profiler:12,ScopeComponent:21,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,TracingMarkerComponent:25,YieldComponent:-1,Throw:29,ViewTransitionComponent:30,ActivityComponent:31}:G(e,`17.0.0-alpha`)?{CacheComponent:-1,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:-1,HostSingleton:-1,HostText:6,IncompleteClassComponent:17,IncompleteFunctionComponent:-1,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:24,MemoComponent:14,Mode:8,OffscreenComponent:23,Profiler:12,ScopeComponent:21,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,TracingMarkerComponent:-1,YieldComponent:-1,Throw:-1,ViewTransitionComponent:-1,ActivityComponent:-1}:G(e,`16.6.0-beta.0`)?{CacheComponent:-1,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:-1,HostSingleton:-1,HostText:6,IncompleteClassComponent:17,IncompleteFunctionComponent:-1,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:-1,MemoComponent:14,Mode:8,OffscreenComponent:-1,Profiler:12,ScopeComponent:-1,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,TracingMarkerComponent:-1,YieldComponent:-1,Throw:-1,ViewTransitionComponent:-1,ActivityComponent:-1}:G(e,`16.4.3-alpha`)?{CacheComponent:-1,ClassComponent:2,ContextConsumer:11,ContextProvider:12,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:-1,ForwardRef:13,Fragment:9,FunctionComponent:0,HostComponent:7,HostPortal:6,HostRoot:5,HostHoistable:-1,HostSingleton:-1,HostText:8,IncompleteClassComponent:-1,IncompleteFunctionComponent:-1,IndeterminateComponent:4,LazyComponent:-1,LegacyHiddenComponent:-1,MemoComponent:-1,Mode:10,OffscreenComponent:-1,Profiler:15,ScopeComponent:-1,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,TracingMarkerComponent:-1,YieldComponent:-1,Throw:-1,ViewTransitionComponent:-1,ActivityComponent:-1}:{CacheComponent:-1,ClassComponent:2,ContextConsumer:12,ContextProvider:13,CoroutineComponent:7,CoroutineHandlerPhase:8,DehydratedSuspenseComponent:-1,ForwardRef:14,Fragment:10,FunctionComponent:1,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:-1,HostSingleton:-1,HostText:6,IncompleteClassComponent:-1,IncompleteFunctionComponent:-1,IndeterminateComponent:0,LazyComponent:-1,LegacyHiddenComponent:-1,MemoComponent:-1,Mode:11,OffscreenComponent:-1,Profiler:15,ScopeComponent:-1,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,TracingMarkerComponent:-1,YieldComponent:9,Throw:-1,ViewTransitionComponent:-1,ActivityComponent:-1};function i(e){var t=Xa(e)===`object`&&e!==null?e.$$typeof:e;return Xa(t)===`symbol`?t.toString():t}var a=r,o=a.CacheComponent,s=a.ClassComponent,c=a.IncompleteClassComponent,l=a.IncompleteFunctionComponent,u=a.FunctionComponent,d=a.IndeterminateComponent,f=a.ForwardRef,p=a.HostRoot,m=a.HostHoistable,h=a.HostSingleton,g=a.HostComponent,_=a.HostPortal,v=a.HostText,y=a.Fragment,b=a.LazyComponent,x=a.LegacyHiddenComponent,S=a.MemoComponent,C=a.OffscreenComponent,w=a.Profiler,T=a.ScopeComponent,E=a.SimpleMemoComponent,D=a.SuspenseComponent,O=a.SuspenseListComponent,k=a.TracingMarkerComponent,A=a.Throw,j=a.ViewTransitionComponent,M=a.ActivityComponent;function N(e){var t=i(e);switch(t){case Ki:case qi:return N(e.type);case Wi:case Gi:return e.render;default:return e}}function P(e){var t,n,r,a,F,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,I=e.elementType,L=e.type,te=e.tag,R=L;Xa(L)===`object`&&L!==null&&(R=N(L));var z=null;if(!ee&&((t=e.updateQueue)?.memoCache!=null||Array.isArray((n=e.memoizedState)?.memoizedState)&&(r=e.memoizedState.memoizedState[0])?.[ra]||(a=e.memoizedState)!=null&&(F=a.memoizedState)?.[ra])){var B=P(e,!0);return B==null?null:`Forget(${B})`}switch(te){case M:return`Activity`;case o:return`Cache`;case s:case c:case l:case u:case d:return Xe(R);case f:return Ye(I,R,`ForwardRef`,`Anonymous`);case p:var ne=e.stateNode;return ne!=null&&ne._debugRootType!==null?ne._debugRootType:null;case g:case h:case m:return L;case _:case v:return null;case y:return`Fragment`;case b:return`Lazy`;case S:case E:return Ye(I,R,`Memo`,`Anonymous`);case D:return`Suspense`;case x:return`LegacyHidden`;case C:return`Offscreen`;case T:return`Scope`;case O:return`SuspenseList`;case w:return`Profiler`;case k:return`TracingMarker`;case j:return`ViewTransition`;case A:return`Error`;default:var re=i(L);switch(re){case Ri:case zi:case Ui:return null;case Xi:case Zi:return z=e.type._context||e.type.context,`${z.displayName||`Context`}.Provider`;case Bi:case Vi:case Hi:return e.type._context===void 0&&e.type.Provider===e.type?(z=e.type,`${z.displayName||`Context`}.Provider`):(z=e.type._context||e.type,`${z.displayName||`Context`}.Consumer`);case Qi:return z=e.type._context,`${z.displayName||`Context`}.Consumer`;case ta:case na:return null;case Ji:case Yi:return`Profiler(${e.memoizedProps.id})`;case $i:case ea:return`Scope`;default:return null}}}return{getDisplayNameForFiber:P,getTypeSymbol:i,ReactPriorityLevels:t,ReactTypeOfWork:r,StrictModeBits:n}}var lo=new Set,uo=new Map,$=new Map,fo=new Map,po=new Map;function mo(e){if(Xa(e)===`object`&&e!==null){if(Xa(e.canonical)===`object`&&e.canonical!==null&&Xa(e.canonical.publicInstance)===`object`&&e.canonical.publicInstance!==null)return e.canonical.publicInstance;if(typeof e._nativeTag==`number`)return e._nativeTag}return e}function ho(e){return Xa(e)!==`object`||e===null?null:e.canonical!=null&&typeof e.canonical.nativeTag==`number`?e.canonical.nativeTag:typeof e._nativeTag==`number`?e._nativeTag:null}function go(e,t){var n=mo(t);fo.set(n,e)}function _o(e,t){var n=mo(t);fo.get(n)===e&&fo.delete(n)}function vo(e,t){var n=t&&t.instance;if(n){var r=mo(n),i=po.get(r);i===void 0&&(i=new Set,po.set(r,i),fo.set(r,e)),i.add(e)}}function yo(e,t){var n=t&&t.instance;if(n){var r=mo(n),i=po.get(r);if(i!==void 0){if(i.delete(e),i.size===0)po.delete(r),fo.delete(r);else if(fo.get(r)===e){var a=qa(i),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;fo.set(s,e);break}}catch(e){a.e(e)}finally{a.f()}}}}}function bo(e,t,n,r,i,a){var o=n.reconcilerVersion||n.version,p=co(o),_=p.getDisplayNameForFiber,v=p.getTypeSymbol,y=p.ReactPriorityLevels,b=p.ReactTypeOfWork,x=p.StrictModeBits,S=b.ActivityComponent,C=b.CacheComponent,w=b.ClassComponent,T=b.ContextConsumer,E=b.DehydratedSuspenseComponent,D=b.ForwardRef,O=b.Fragment,k=b.FunctionComponent,A=b.HostRoot,j=b.HostHoistable,M=b.HostSingleton,N=b.HostPortal,P=b.HostComponent,F=b.HostText,ee=b.IncompleteClassComponent,I=b.IncompleteFunctionComponent,L=b.IndeterminateComponent,te=b.LegacyHiddenComponent,R=b.MemoComponent,z=b.OffscreenComponent,B=b.SimpleMemoComponent,ne=b.SuspenseComponent,re=b.SuspenseListComponent,ie=b.TracingMarkerComponent,ae=b.Throw,oe=b.ViewTransitionComponent,se=y.ImmediatePriority,ce=y.UserBlockingPriority,le=y.NormalPriority,ue=y.LowPriority,de=y.IdlePriority,fe=y.NoPriority,Pe=n.getLaneLabelMap,Fe=n.injectProfilingHooks,Ie=n.overrideHookState,Le=n.overrideHookStateDeletePath,Re=n.overrideHookStateRenamePath,ze=n.overrideProps,Be=n.overridePropsDeletePath,Ve=n.overridePropsRenamePath,He=n.scheduleRefresh,Ue=n.setErrorHandler,We=n.setSuspenseHandler,Ge=n.scheduleUpdate,Ke=n.getCurrentFiber,qe=typeof Ue==`function`&&typeof Ge==`function`,Je=typeof We==`function`&&typeof Ge==`function`;typeof He==`function`&&(n.scheduleRefresh=function(){try{e.emit(`fastRefreshScheduled`)}finally{return He.apply(void 0,arguments)}});var Ye=null,Xe=null;if(typeof Fe==`function`){var Ze=La({getDisplayNameForFiber:_,getIsProfiling:function(){return mr},getLaneLabelMap:Pe,currentDispatcherRef:ao(n),workTagMap:b,reactVersion:o});Fe(Ze.profilingHooks),Ye=Ze.getTimelineData,Xe=Ze.toggleProfilingStatus}var V=new WeakMap,Qe=!1;function $e(){var e=!1,t=qa($.values()),n;try{for(t.s();!(n=t.n()).done;){var r=n.value;if(r.kind===$a){var i=r.data,a=V.get(i),o=Zt(r,a);o&&(e=!0,dt(r.id))}}}catch(e){t.e(e)}finally{t.f()}e&&Qt()}function tt(){var e=qa($.values()),t;try{for(e.s();!(t=e.n()).done;){var n=t.value;if(n.kind===$a){var r=n.data;V.delete(r),r.alternate&&V.delete(r.alternate)}else Oi.delete(n.data);var i=Zt(n,void 0);i&&dt(n.id)}}catch(t){e.e(t)}finally{e.f()}Qt()}function it(e,t){var n=$.get(e);if(n!==void 0){var r;if(n.kind===$a){var i=n.data;r=V.get(i),r===void 0&&i.alternate!==null&&(r=V.get(i.alternate))}else{var a=n.data;r=Oi.get(a)}if(r!==void 0){t===`error`?(r.errors.clear(),r.errorsCount=0):(r.warnings.clear(),r.warningsCount=0);var o=Zt(n,r);o&&(Qt(),dt(n.id))}}}function lt(e){it(e,`error`)}function ut(e){it(e,`warn`)}function dt(e){Xn!==null&&Xn.id===e&&(Zn=!0)}function ft(e){if(Ke==null)return null;var t=Ke();if(t===null||pa(t))return null;var r=ao(n);if(r===void 0)return null;var i=ma(t),a=``;if(i){var o=Tt(e);o&&(a+=`
|
|
76
|
+
`+o),a+=ha(b,t,r)}else a=da(b,t,r);return{enableOwnerStacks:i,componentStack:a}}function pt(e,t){if(Ke!=null){var n=Ke();if(n!==null&&!(e===`error`&&(X.get(n)===!0||n.alternate!==null&&X.get(n.alternate)===!0))){var r=Kt.apply(void 0,Ua(t)),i=V.get(n);i===void 0&&n.alternate!==null&&(i=V.get(n.alternate),i!==void 0&&V.set(n,i)),i===void 0&&(i={errors:new Map,errorsCount:0,warnings:new Map,warningsCount:0},V.set(n,i));var a=e===`error`?i.errors:i.warnings,o=a.get(r)||0;a.set(r,o+1),e===`error`?i.errorsCount++:i.warningsCount++,Qe=!0}}}function H(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:``;if(s){var i=t.kind===eo?t.data.name||`null`:t.data.tag+`:`+(_(t.data)||`null`),a=t.kind===to?`<no id>`:t.id,o=n===null?``:n.kind===eo?n.data.name||`null`:n.data.tag+`:`+(_(n.data)||`null`),c=n===null||n.kind===to?`<no id>`:n.id;console.groupCollapsed(`[renderer] %c${e} %c${i} (${a}) %c${n?`${o} (${c})`:``} %c${r}`,`color: red; font-weight: bold;`,`color: blue;`,`color: purple;`,`color: black;`),console.log(Error().stack.split(`
|
|
77
|
+
`).slice(1).join(`
|
|
78
|
+
`)),console.groupEnd()}}function U(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(s){var n=(e.kind===eo?e.data.name:_(e.data))||``;console.log(` `.repeat(t)+`- `+(e.kind===to?0:e.id)+` (`+n+`)`,`parent`,e.parent===null?` `:e.parent.kind===to?0:e.parent.id,`next`,e.nextSibling===null?` `:e.nextSibling.id);for(var r=e.firstChild;r!==null;)U(r,t+1),r=r.nextSibling}}var mt=new Set,ht=new Set,gt=new Set,_t=new Set,vt=!1,yt=new Set;function bt(e){gt.clear(),mt.clear(),ht.clear(),_t.clear(),e.forEach(function(e){if(e.isEnabled)switch(e.type){case ke:e.isValid&&e.value!==``&&mt.add(new RegExp(e.value,`i`));break;case Oe:gt.add(e.value);break;case Ae:e.isValid&&e.value!==``&&ht.add(new RegExp(e.value,`i`));break;case je:mt.add(RegExp(`\\(`));break;case Me:_t.add(e.value);break;default:console.warn(`Invalid component filter type "${e.type}"`);break}})}if(window.__REACT_DEVTOOLS_COMPONENT_FILTERS__!=null){var xt=rt(window.__REACT_DEVTOOLS_COMPONENT_FILTERS__);bt(xt)}else bt(nt());function St(n){if(mr)throw Error(`Cannot modify filter preferences while profiling`);e.getFiberRoots(t).forEach(function(e){var t=uo.get(e);if(t===void 0)throw Error(`Expected the root instance to already exist when applying filters`);W=t,_n(t),uo.delete(e),Qt(e),W=null}),bt(n),Vr.clear(),e.getFiberRoots(t).forEach(function(e){var t=e.current,n=no(t);uo.set(e,n),$.set(n.id,n),jr!==null&&(Fr=!0),W=n,Hr(W.id,e.current),gn(e.current,!1),Qt(e),W=null}),Qt(),Qe=!1}function Ct(){return Array.from(lo)}function wt(e,t){if(gt.has(he))return!0;if(mt.size>0){var n=e.name;if(n!=null){var r=qa(mt),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;if(a.test(n))return!0}}catch(e){r.e(e)}finally{r.f()}}}return!!((e.env==null||_t.has(e.env))&&(t===null||_t.has(t)))}function Et(e){var t=e.tag,n=e.type,r=e.key;switch(t){case E:return!0;case N:case F:case te:case z:case ae:return!0;case A:return!1;case O:return r===null;default:var i=v(n);switch(i){case Ri:case zi:case Ui:case ta:case na:return!0;default:break}}var a=Dt(e);if(gt.has(a))return!0;if(mt.size>0){var o=_(e);if(o!=null){var s=qa(mt),c;try{for(s.s();!(c=s.n()).done;){var l=c.value;if(l.test(o))return!0}}catch(e){s.e(e)}finally{s.f()}}}if(_t.has(`Client`))switch(t){case w:case ee:case I:case k:case L:case D:case R:case B:return!0}return!1}function Dt(e){var t=e.type,n=e.tag;switch(n){case S:return De;case w:case ee:return pe;case I:case k:case L:return he;case D:return ge;case A:return xe;case P:case j:case M:return _e;case N:case F:case O:return ye;case R:case B:return ve;case ne:return Se;case re:return Ce;case ie:return we;case oe:return Ee;default:var r=v(t);switch(r){case Ri:case zi:case Ui:return ye;case Xi:case Zi:return me;case Bi:case Vi:return me;case ta:case na:return ye;case Ji:case Yi:return be;default:return ye}}}var W=null;function Ot(e,t){X.size>0&&(X.delete(t),t.alternate&&X.delete(t.alternate),X.size===0&&Ue!=null&&Ue(wr)),Or.size>0&&(Or.delete(t),t.alternate&&Or.delete(t.alternate),Or.size===0&&We!=null&&We(Dr)),t.tag===j?yo(e,t.memoizedState):(t.tag===P||t.tag===F||t.tag===M)&&_o(e,t.stateNode);for(var n=t.child;n!==null;n=n.sibling)Et(n)&&Ot(e,n)}function kt(e,t){switch(t.tag){case w:if(e===null)return{context:null,didHooksChange:!1,isFirstMount:!0,props:null,state:null};var n={context:At(e,t),didHooksChange:!1,isFirstMount:!1,props:Pt(e.memoizedProps,t.memoizedProps),state:Pt(e.memoizedState,t.memoizedState)};return n;case I:case k:case L:case D:case R:case B:if(e===null)return{context:null,didHooksChange:!1,isFirstMount:!0,props:null,state:null};var r=Nt(e.memoizedState,t.memoizedState),i={context:At(e,t),didHooksChange:r!==null&&r.length>0,isFirstMount:!1,props:Pt(e.memoizedProps,t.memoizedProps),state:null,hooks:r};return i;default:return null}}function At(e,t){for(var n=e.dependencies&&e.dependencies.firstContext,r=t.dependencies&&t.dependencies.firstContext;n&&r;){if(n.context!==r.context)return!1;if(!sa(n.memoizedValue,r.memoizedValue))return!0;n=n.next,r=r.next}return!1}function jt(e){var t=e.queue;if(!t)return!1;var n=la.bind(t);return n(`pending`)?!0:n(`value`)&&n(`getSnapshot`)&&typeof t.getSnapshot==`function`}function Mt(e,t){var n=e.memoizedState,r=t.memoizedState;return jt(e)?n!==r:!1}function Nt(e,t){if(e==null||t==null)return null;for(var n=[],r=0;t!==null;)Mt(e,t)&&n.push(r),t=t.next,e=e.next,r++;return n}function Pt(e,t){if(e==null||t==null)return null;var n=new Set([].concat(Ua(Object.keys(e)),Ua(Object.keys(t)))),r=[],i=qa(n),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;e[o]!==t[o]&&r.push(o)}}catch(e){i.e(e)}finally{i.f()}return r}function Ft(e,t){switch(t.tag){case w:case k:case T:case R:case B:case D:var n=1;return(oo(t)&n)===n;default:return e.memoizedProps!==t.memoizedProps||e.memoizedState!==t.memoizedState||e.ref!==t.ref}}var It=[],Lt=[],Rt=[],Gt=new Map,qt=0,Jt=null;function G(e){It.push(e)}function Yt(){return mr&&dr!=null&&dr.durations.length>0?!1:It.length===0&&Lt.length===0&&Jt===null}function Xt(t){Yt()||(Rt===null?e.emit(`operations`,t):Rt.push(t))}function Zt(e,t){if(t===void 0)return e.logCount===0?!1:(e.logCount=0,G(f),G(e.id),G(0),G(0),!0);var n=t.errorsCount+t.warningsCount;return e.logCount===n?!1:(e.logCount=n,G(f),G(e.id),G(t.errorsCount),G(t.warningsCount),!0)}function Qt(e){if(!Yt()){var n=Lt.length+(Jt===null?0:1),r=Array(3+qt+(n>0?2+n:0)+It.length),i=0;if(r[i++]=t,W===null?r[i++]=-1:r[i++]=W.id,r[i++]=qt,Gt.forEach(function(e,t){var n=e.encodedString,a=n.length;r[i++]=a;for(var o=0;o<a;o++)r[i+o]=n[o];i+=a}),n>0){r[i++]=l,r[i++]=n;for(var a=0;a<Lt.length;a++)r[i++]=Lt[a];Jt!==null&&(r[i]=Jt,i++)}for(var o=0;o<It.length;o++)r[i+o]=It[o];i+=It.length,Xt(r),It.length=0,Lt.length=0,Jt=null,Gt.clear(),qt=0}}function $t(e){if(e===null)return 0;var t=Gt.get(e);if(t!==void 0)return t.id;var n=Gt.size+1,r=et(e);return Gt.set(e,{encodedString:r,id:n}),qt+=r.length+1,n}function tn(e,t){var r=e.tag===A,i;if(r){var a=uo.get(e.stateNode);if(a===void 0)throw Error(`The root should have been registered at this point`);i=a}else i=no(e);$.set(i.id,i);var o=i.id;s&&H(`recordMount()`,i,t);var l=e.hasOwnProperty(`treeBaseDuration`);if(r){var u=e.hasOwnProperty(`_debugOwner`),d=0;l&&(d=h,typeof Fe==`function`&&(d|=g));var f=n.bundleType===0;G(c),G(o),G(xe),G((e.mode&x)===0?0:1),G(d),G(!f&&x!==0?1:0),G(u?1:0),mr&&fr!==null&&fr.set(o,Wr(e))}else{var p=e.key,v=_(e),y=Dt(e),b=Y(e),S=Wn(t,b);S!==null&&b===e._debugOwner&&e._debugStack!=null&&S.source===null&&(S.source=e._debugStack);var C=S===null?0:S.id,w=t?t.kind===to?t.parent.id:t.id:0,T=$t(v),E=p===null?null:String(p),D=$t(E);if(G(c),G(o),G(y),G(w),G(C),G(T),G(D),(e.mode&x)!==0){for(var O=null,k=t;k!==null;){if(k.kind===$a){O=k.data;break}k=k.parent}(O===null||(O.mode&x)===0)&&(G(m),G(o),G(Ne))}}var j=V.get(e);return j===void 0&&e.alternate!==null&&(j=V.get(e.alternate)),Zt(i,j),l&&vn(i,null),i}function nn(e,t,n){var r=e.id;$.set(r,e);var i=e.data,a=typeof i.key==`string`?i.key:null,o=i.env,s=i.name||``;typeof o==`string`&&(n!==null&&(s=n+`(`+s+`)`),s=o+`(`+s+`)`);var l=Te,u=Y(i),d=Wn(t,u);d!==null&&u===i.owner&&i.debugStack!=null&&d.source===null&&(d.source=i.debugStack);var f=d===null?0:d.id,p=t?t.kind===to?t.parent.id:t.id:0,m=$t(s),h=a===null?null:String(a),g=$t(h);G(c),G(r),G(l),G(p),G(f),G(m),G(g);var _=Oi.get(i);Zt(e,_)}function on(e){var t=e.data;s&&H(`recordUnmount()`,e,J),Nr===e&&Ir(null);var n=e.id,r=t.tag===A;r?Jt=n:Lt.push(n),$.delete(e.id),Ot(e,t)}var K=null,q=null,J=null;function sn(e){var t=J;t!==null&&(e.parent=t,q===null?(q=e,t.firstChild=e):(q.nextSibling=e,q=e),e.nextSibling=null)}function cn(e,t){ln(e,t),sn(e)}function ln(e,t){if(e.parent===null){if(K===e)throw Error(`Remaining children should not have items with no parent`);if(e.nextSibling!==null)throw Error(`A deleted instance should not have next siblings`);return}var n=J;if(n===null)throw Error(`Should not have a parent if we are at the root`);if(e.parent!==n)throw Error(`Cannot remove a node from a different parent than is being reconciled.`);if(t===null){if(K!==e)throw Error(`Expected a placed child to be moved from the remaining set.`);K=e.nextSibling}else t.nextSibling=e.nextSibling;e.nextSibling=null,e.parent=null}function un(){for(var e=K;e!==null;)_n(e),e=K}function dn(e,t,n,r,i){var a=Rr(e,J),o=J,s=q,c=K;J=e,q=null,K=null;try{mn(t,n,r,i+1),yn(e)}finally{J=o,q=s,K=c,zr(a)}}function fn(e){Nr===e&&Ir(null);var t=e.id;Lt.push(t)}function pn(e,t){if(e!=null)for(var n=e[t],r=t+1;r<e.length;r++){var i=e[r];if(typeof i.env==`string`)return n.env===i.env?null:i.env}return null}function mn(e,t,n,r){for(var i=e,a=null,o=e;i!==null&&i!==t;){var s=0;if(i._debugInfo)for(var c=0;c<i._debugInfo.length;c++){var l=i._debugInfo[c];if(typeof l.name==`string`){var u=l,d=pn(i._debugInfo,c);if(u.env!=null&&lo.add(u.env),d!==null&&lo.add(d),!wt(u,d))if(s===r){(a===null||a.data!==l)&&(a!==null&&dn(a,o,i,n,r),a=io(u),nn(a,J,d),sn(a),o=i),s++;break}else s++}}s===r&&(a!==null&&(dn(a,o,i,n,r),a=null),gn(i,n)),i=i.sibling}a!==null&&dn(a,o,null,n,r)}function hn(e,t){mn(e,null,t,0)}function gn(e,t){var n=!Et(e),r=null;n?(r=tn(e,J),sn(r),s&&H(`mountFiberRecursively()`,r,J)):J!==null&&J.kind===eo&&(J.data===e._debugOwner&&e._debugStack!=null&&J.source===null&&(J.source=e._debugStack),r=ro(e),sn(r),s&&H(`mountFiberRecursively()`,r,J));var i=Lr(e,r),a=J,o=q,c=K;r!==null&&(J=r,q=null,K=null);try{if(vt&&t){var l=Dt(e);l===_e&&(yt.add(e.stateNode),t=!1)}if(e.tag===j){var u=J;if(u===null)throw Error(`Did not expect a host hoistable to be the root`);vo(u,e.memoizedState)}else if(e.tag===P||e.tag===F||e.tag===M){var d=J;if(d===null)throw Error(`Did not expect a host hoistable to be the root`);go(d,e.stateNode)}if(e.tag===ne){var f=e.memoizedState!==null;if(f){var p=e.child,m=p?p.sibling:null;if(m){var h=m.child;h!==null&&(Lr(m,null),hn(h,t))}}else{var g=null,_=z===-1;_?g=e.child:e.child!==null&&(g=e.child.child,Lr(e.child,null)),g!==null&&hn(g,t)}}else e.child!==null&&hn(e.child,t)}finally{r!==null&&(J=a,q=o,K=c)}zr(i)}function _n(e){s&&H(`unmountInstanceRecursively()`,e,J);var t=J,n=q,r=K;J=e,q=null,K=e.firstChild,e.firstChild=null;try{un()}finally{J=t,q=n,K=r}e.kind===$a?on(e):e.kind===eo?fn(e):Ot(e,e.data),ln(e,null)}function vn(e,t){var n=e.id,r=e.data,i=r.actualDuration,a=r.treeBaseDuration;if(e.treeBaseDuration=a||0,mr){if(t==null||a!==t.treeBaseDuration){var o=Math.floor((a||0)*1e3);G(d),G(n),G(o)}if((t==null||Ft(t,r))&&i!=null){for(var s=i,c=r.child;c!==null;)s-=c.actualDuration||0,c=c.sibling;var l=dr;if(l.durations.push(n,i,s),l.maxActualDuration=Math.max(l.maxActualDuration,i),gr){var u=kt(t,r);u!==null&&l.changeDescriptions!==null&&l.changeDescriptions.set(n,u)}}var f=W.data.stateNode,p=f.memoizedUpdaters;if(p!=null&&(p.has(r)||r.alternate!==null&&p.has(r.alternate))){var m=dr;m.updaters===null&&(m.updaters=[]),m.updaters.push(Vn(e))}}}function yn(e){for(var t=e.id,n=0,r=e.firstChild;r!==null;r=r.nextSibling)n+=r.treeBaseDuration;if(mr){var i=e.treeBaseDuration;if(n!==i){var a=Math.floor((n||0)*1e3);G(d),G(t),G(a)}}e.treeBaseDuration=n}function bn(e){s&&e.firstChild!==null&&H(`recordResetChildren()`,e.firstChild,e);for(var t=[],n=e.firstChild;n!==null;){if(n.kind===to)for(var r=e.firstChild;r!==null;r=r.nextSibling)t.push(r.id);else t.push(n.id);n=n.nextSibling}var i=t.length;if(!(i<2)){G(u),G(e.id),G(i);for(var a=0;a<t.length;a++)G(t[a])}}function xn(e,t,n,r,i,a){var o=J,s=q,c=K;J=e,q=null,K=e.firstChild,e.firstChild=null;try{Sn(t,n,r,i,a+1)&&bn(e);var l=Oi.get(e.data);Zt(e,l),yn(e)}finally{un(),J=o,q=s,K=c}}function Sn(e,t,n,r,i){for(var a=!1,o=e,s=n,c=null,l=!1,u=e,d=n;o!==null&&o!==t;){var f=0;if(o._debugInfo)for(var p=0;p<o._debugInfo.length;p++){var m=o._debugInfo[p];if(typeof m.name==`string`){var h=m,g=pn(o._debugInfo,p);if(h.env!=null&&lo.add(h.env),g!==null&&lo.add(g),!wt(h,g))if(f===i){if(c===null||c.data!==h){c!==null&&(l?dn(c,u,o,r,i):xn(c,u,o,d,r,i));var _=null,v=K;if(h.key!=null)for(v=K;v!==null&&!(v.kind===eo&&v.data.key===h.key);)_=v,v=v.nextSibling;if(v!==null&&v.kind===eo&&v.data.name===h.name&&v.data.env===h.env&&v.data.key===h.key)v.data=h,cn(v,_),c=v,l=!1;else{var y=io(h);nn(y,J,g),sn(y),c=y,l=!0,a=!0}u=o,d=s}f++;break}else f++}}if(f===i){c!==null&&(l?dn(c,u,o,r,i):xn(c,u,o,d,r,i),c=null);var b=void 0;b=s===o?o:o.alternate;var x=null,S=null;if(b!==null)for(S=K;S!==null&&S.data!==b;)x=S,S=S.nextSibling;if(S!==null){var C=S;b!==s&&(a=!0),cn(C,x),wn(C,o,b,r)&&(a=!0)}else b!==null&&Et(o)?wn(null,o,b,r)&&(a=!0):(gn(o,r),a=!0)}o=o.sibling,!a&&s!==null&&(s=s.sibling)}return c!==null&&(l?dn(c,u,null,r,i):xn(c,u,null,d,r,i)),s!==null&&(a=!0),a}function Cn(e,t,n){return e===null?t!==null:Sn(e,null,t,n,0)}function wn(e,t,n,r){if(s&&e!==null&&H(`updateFiberRecursively()`,e,J),vt){var i=Dt(t);r?i===_e&&(yt.add(t.stateNode),r=!1):(i===he||i===pe||i===me||i===ve||i===ge)&&(r=Ft(n,t))}var a=J,o=q,c=K;e!==null&&(e.data=t,Xn!==null&&Xn.id===e.id&&Ft(n,t)&&(Zn=!0),J=e,q=null,K=e.firstChild,e.firstChild=null);try{if(t.tag===j&&n.memoizedState!==t.memoizedState){var l=J;if(l===null)throw Error(`Did not expect a host hoistable to be the root`);yo(l,n.memoizedState),vo(l,t.memoizedState)}else if((t.tag===P||t.tag===F||t.tag===M)&&n.stateNode!==t.stateNode){var u=J;if(u===null)throw Error(`Did not expect a host hoistable to be the root`);_o(u,n.stateNode),go(u,t.stateNode)}var d=t.tag===ne,f=!1,p=d&&n.memoizedState!==null,m=d&&t.memoizedState!==null;if(p&&m){var h=t.child,g=h?h.sibling:null,_=n.child,v=_?_.sibling:null;v==null&&g!=null&&(hn(g,r),f=!0),g!=null&&v!=null&&Cn(g,v,r)&&(f=!0)}else if(p&&!m){var y=t.child;y!==null&&hn(y,r),f=!0}else if(!p&&m){var b=t.child,x=b?b.sibling:null;x!=null&&(hn(x,r),f=!0)}else if(t.child!==n.child)Cn(t.child,n.child,r)&&(f=!0);else if(e!==null){if(e.firstChild=K,K=null,vt&&r){var S=Pn(e);S.forEach(function(e){yt.add(e)})}}else if(Cn(t.child,n.child,!1))throw Error(`The children should not have changed if we pass in the same set.`);if(e!==null){var C=V.get(e.data);C===void 0&&e.data.alternate&&(C=V.get(e.data.alternate)),Zt(e,C);var w=t.hasOwnProperty(`treeBaseDuration`);w&&vn(e,n)}return f?e===null?!0:(bn(e),!1):!1}finally{e!==null&&(un(),J=a,q=o,K=c)}}function Tn(){mr=!1}function En(e){return e.memoizedInteractions==null?!!(e.current!=null&&e.current.hasOwnProperty(`treeBaseDuration`)):!0}function Dn(){var n=Rt;Rt=null,n!==null&&n.length>0?n.forEach(function(t){e.emit(`operations`,t)}):(jr!==null&&(Fr=!0),e.getFiberRoots(t).forEach(function(e){var t=e.current,n=no(t);uo.set(e,n),$.set(n.id,n),W=n,Hr(W.id,e.current),mr&&En(e)&&(dr={changeDescriptions:gr?new Map:null,durations:[],commitTime:so()-hr,maxActualDuration:0,priorityLevel:null,updaters:null,effectDuration:null,passiveEffectDuration:null}),gn(e.current,!1),Qt(e),Qe=!1,W=null}))}function On(e){}function kn(e){if(mr&&En(e)&&dr!==null){var t=Ut(e),n=t.effectDuration,r=t.passiveEffectDuration;dr.effectDuration=n,dr.passiveEffectDuration=r}Qe&&$e()}function An(t,n){var r=t.current,i=null,a=uo.get(t);a?i=a.data:(a=no(r),uo.set(t,a),$.set(a.id,a)),W=a,jr!==null&&(Fr=!0),vt&&yt.clear();var o=En(t);if(mr&&o&&(dr={changeDescriptions:gr?new Map:null,durations:[],commitTime:so()-hr,maxActualDuration:0,priorityLevel:n==null?null:Yr(n),updaters:null,effectDuration:null,passiveEffectDuration:null}),i!==null){var s=i.memoizedState!=null&&i.memoizedState.element!=null&&i.memoizedState.isDehydrated!==!0,c=r.memoizedState!=null&&r.memoizedState.element!=null&&r.memoizedState.isDehydrated!==!0;!s&&c?(Hr(W.id,r),gn(r,!1)):s&&c?wn(a,r,i,!1):s&&!c&&(_n(a),Ur(W.id),uo.delete(t))}else Hr(W.id,r),gn(r,!1);if(mr&&o&&!Yt()){var l=vr.get(W.id);l==null?vr.set(W.id,[dr]):l.push(dr)}Qt(t),Qe=!1,vt&&e.emit(`traceUpdates`,yt),W=null}function jn(e){if(e.tag===j){var t=e.memoizedState;if(Xa(t)===`object`&&t!==null&&t.instance!=null)return t.instance}return null}function Mn(e,t){if(e.kind!==eo){var n=e.data;Nn(n,t);return}for(var r=e.firstChild;r!==null;r=r.nextSibling)Mn(r,t)}function Nn(e,t){for(var n=e;;){if(n.tag===P||n.tag===F||n.tag===M||n.tag===j){var r=n.stateNode||jn(n);r&&t.push(r)}else if(n.child){n.child.return=n,n=n.child;continue}if(n===e)return;for(;!n.sibling;){if(!n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Pn(e){var t=[];return Mn(e,t),t}function Fn(e){try{var t=$.get(e);return t===void 0?(console.warn(`Could not find DevToolsInstance with id "${e}"`),null):Pn(t)}catch{return null}}function In(e){var t=$.get(e);return t===void 0?null:t.kind===$a?_(t.data):t.data.name||``}function Ln(e){for(var t=e;t&&!fo.has(t);)t=t.parentNode;return t}function Rn(e){var t=fo.get(e);return t===void 0?null:t.kind===to?t.parent.id:t.id}function zn(e,t){if($n(e))return at(Xn,t)}function Bn(e){var t=$.get(e);if(t===void 0)return console.warn(`Could not find DevToolsInstance with id "${e}"`),null;if(t.kind!==$a)return null;var n=t.data,r=n.elementType,i=n.tag,a=n.type;switch(i){case w:case ee:case I:case L:case k:return a;case D:return a.render;case R:case B:return r!=null&&r.type!=null?r.type:a;default:return null}}function Vn(e){if(e.kind===$a){var t=e.data;return{displayName:_(t)||`Anonymous`,id:e.id,key:t.key,type:Dt(t)}}else{var n=e.data;return{displayName:n.name||`Anonymous`,id:e.id,key:n.key==null?null:n.key,type:Te}}}function Hn(e){var t=$.get(e);if(t===void 0)return console.warn(`Could not find DevToolsInstance with id "${e}"`),null;var n=Vn(t),r=Un(t);return r===null?[n]:(r.unshift(n),r.reverse(),r)}function Un(e){var t=Y(e.data);if(t===null)return null;for(var n=[],r=e.parent;r!==null&&t!==null;){var i=Wn(r,t);if(i!==null)n.push(Vn(i)),t=Y(t),r=i.parent;else break}return n}function Y(e){if(e==null)return null;if(typeof e.tag==`number`){var t=e;e=t._debugOwner}else{var n=e;e=n.owner}for(;e;)if(typeof e.tag==`number`){var r=e;if(!Et(r))return r;e=r._debugOwner}else{var i=e;if(!wt(i,null))return i;e=i.owner}return null}function Wn(e,t){if(t==null)return null;for(;e!==null;){if(e.data===t||e.data===t.alternate)return e.kind===to?null:e;e=e.parent}return null}function Gn(e){var t=null,n=null,r=$.get(e);if(r===void 0)return console.warn(`Could not find DevToolsInstance with id "${e}"`),{instance:t,style:n};if(r.kind!==$a)return{instance:t,style:n};var i=r.data;return i!==null&&(t=i.stateNode,i.memoizedProps!==null&&(n=i.memoizedProps.style)),{instance:t,style:n}}function Kn(e){var t=e.tag,n=e.type;switch(t){case w:case ee:var r=e.stateNode;return typeof n.getDerivedStateFromError==`function`||r!==null&&typeof r.componentDidCatch==`function`;default:return!1}}function qn(e){var t=$.get(e);if(t===void 0)return console.warn(`Could not find DevToolsInstance with id "${e}"`),null;if(t.kind===eo)return Yn(t);if(t.kind===$a)return Jn(t);throw Error(`Unsupported instance kind`)}function Jn(e){var t=e.data;if(t==null)return null;var r=t.stateNode,i=t.key,a=t.memoizedProps,o=t.memoizedState,s=t.dependencies,c=t.tag,l=t.type,u=Dt(t),d=(c===k||c===B||c===D)&&(!!o||!!s),f=!d&&c!==C,p=v(l),m=!1,h=null;if(c===w||c===k||c===ee||c===I||c===L||c===R||c===D||c===B){if(m=!0,r&&r.context!=null){var g=u===pe&&!(l.contextTypes||l.contextType);g||(h=r.context)}}else if((p===Bi||p===Vi)&&!(l._context===void 0&&l.Provider===l)){var _=l._context||l;h=_._currentValue||null;for(var y=t.return;y!==null;){var b=y.type,x=v(b);if(x===Xi||x===Zi){var S=b._context||b.context;if(S===_){h=y.memoizedProps.value;break}}y=y.return}}else if(p===Qi){var T=l._context;h=T._currentValue||null;for(var E=t.return;E!==null;){var O=E.type,A=v(O);if(A===Vi){var j=O;if(j===T){h=E.memoizedProps.value;break}}E=E.return}}var M=!1;h!==null&&(M=!!l.contextTypes,h={value:h});var N=Un(e),P=null;if(d){var F={};for(var te in console)try{F[te]=console[te],console[te]=function(){}}catch{}try{P=(0,Li.inspectHooksOfFiber)(t,ao(n))}finally{for(var z in F)try{console[z]=F[z]}catch{}}}for(var re=null,ie=t,ae=!1,oe=!1;ie.return!==null;){var se=ie;ie=ie.return,se.tag===ne?oe=!0:Kn(se)&&(ae=!0)}var ce=ie.stateNode;ce!=null&&ce._debugRootType!==null&&(re=ce._debugRootType);var le=c===ne&&o!==null,ue=!1;if(Kn(t)){var de=128;ue=(t.flags&de)!==0||X.get(t)===!0||t.alternate!==null&&X.get(t.alternate)===!0}var fe={stylex:null};ia&&a!=null&&a.hasOwnProperty(`xstyle`)&&(fe.stylex=_a(a.xstyle));var me=null;m&&(me=Zr(e));var he=V.get(t);he===void 0&&t.alternate!==null&&(he=V.get(t.alternate));var ge=null;return u===_e&&(ge=ho(t.stateNode)),{id:e.id,canEditHooks:typeof Ie==`function`,canEditFunctionProps:typeof ze==`function`,canEditHooksAndDeletePaths:typeof Le==`function`,canEditHooksAndRenamePaths:typeof Re==`function`,canEditFunctionPropsDeletePaths:typeof Be==`function`,canEditFunctionPropsRenamePaths:typeof Ve==`function`,canToggleError:qe&&ae,isErrored:ue,canToggleSuspense:Je&&oe&&(!le||Or.has(t)||t.alternate!==null&&Or.has(t.alternate)),canViewSource:m,source:me,hasLegacyContext:M,key:i??null,type:u,context:h,hooks:P,props:a,state:f?o:null,errors:he===void 0?[]:Array.from(he.errors.entries()),warnings:he===void 0?[]:Array.from(he.warnings.entries()),owners:N,rootType:re,rendererPackageName:n.rendererPackageName,rendererVersion:n.version,plugins:fe,nativeTag:ge}}function Yn(e){var t=!0,r=Qr(e),i=e.data,a=typeof i.key==`string`?i.key:null,o=i.props==null?null:i.props,s=Un(e),c=null,l=!1,u=!1,d=Cr(e);if(d!==null){for(var f=d;f.return!==null;){var p=f;f=f.return,p.tag===ne?u=!0:Kn(p)&&(l=!0)}var m=f.stateNode;m!=null&&m._debugRootType!==null&&(c=m._debugRootType)}var h={stylex:null},g=Oi.get(i);return{id:e.id,canEditHooks:!1,canEditFunctionProps:!1,canEditHooksAndDeletePaths:!1,canEditHooksAndRenamePaths:!1,canEditFunctionPropsDeletePaths:!1,canEditFunctionPropsRenamePaths:!1,canToggleError:qe&&l,isErrored:!1,canToggleSuspense:Je&&u,canViewSource:t,source:r,hasLegacyContext:!1,key:a,type:Te,context:null,hooks:null,props:o,state:null,errors:g===void 0?[]:Array.from(g.errors.entries()),warnings:g===void 0?[]:Array.from(g.warnings.entries()),owners:s,rootType:c,rendererPackageName:n.rendererPackageName,rendererVersion:n.version,plugins:h,nativeTag:null}}var Xn=null,Zn=!1,Qn={};function $n(e){return Xn!==null&&Xn.id===e}function er(e){return $n(e)&&!Zn}function tr(e){var t=Qn;e.forEach(function(e){t[e]||(t[e]={}),t=t[e]})}function nr(e,t){return function(n){switch(t){case`hooks`:if(n.length===1||n[n.length-2]===`hookSource`&&n[n.length-1]===`fileName`||n[n.length-1]===`subHooks`||n[n.length-2]===`subHooks`)return!0;break;default:break}var r=e===null?Qn:Qn[e];if(!r)return!1;for(var i=0;i<n.length;i++)if(r=r[n[i]],!r)return!1;return!0}}function rr(e){var t=e.hooks,n=e.id,i=e.props,a=$.get(n);if(a===void 0){console.warn(`Could not find DevToolsInstance with id "${n}"`);return}if(a.kind===$a){var o=a.data,s=o.elementType,c=o.stateNode,l=o.tag,u=o.type;switch(l){case w:case ee:case L:r.$r=c;break;case I:case k:r.$r={hooks:t,props:i,type:u};break;case D:r.$r={hooks:t,props:i,type:u.render};break;case R:case B:r.$r={hooks:t,props:i,type:s!=null&&s.type!=null?s.type:u};break;default:r.$r=null;break}}}function ir(e,t,n){if($n(e)){var r=at(Xn,t),i=`\$reactTemp${n}`;window[i]=r,console.log(i),console.log(r)}}function ar(e,t){if($n(e)){var n=at(Xn,t);return Wt(n)}}function or(e,t,n,r){if(n!==null&&tr(n),$n(t)&&!r){if(!Zn)if(n!==null){var i=null;return n[0]===`hooks`&&(i=`hooks`),{id:t,responseID:e,type:`hydrated-path`,path:n,value:zt(at(Xn,n),nr(null,i),n)}}else return{id:t,responseID:e,type:`no-change`}}else Qn={};Zn=!1;try{Xn=qn(t)}catch(n){if(n.name===`ReactDebugToolsRenderError`){var a=`Error rendering inspected element.`,o;if(console.error(a+`
|
|
79
|
+
|
|
80
|
+
`,n),n.cause!=null){var s=In(t);console.error(`React DevTools encountered an error while trying to inspect hooks. This is most likely caused by an error in current inspected component`+(s==null?`.`:`: "${s}".`)+`
|
|
81
|
+
The error thrown in the component is:
|
|
82
|
+
|
|
83
|
+
`,n.cause),n.cause instanceof Error&&(a=n.cause.message||a,o=n.cause.stack)}return{type:`error`,errorType:`user`,id:t,responseID:e,message:a,stack:o}}return n.name===`ReactDebugToolsUnsupportedHookError`?{type:`error`,errorType:`unknown-hook`,id:t,responseID:e,message:`Unsupported hook in the react-debug-tools package: `+n.message}:(console.error(`Error inspecting element.
|
|
84
|
+
|
|
85
|
+
`,n),{type:`error`,errorType:`uncaught`,id:t,responseID:e,message:n.message,stack:n.stack})}if(Xn===null)return{id:t,responseID:e,type:`not-found`};rr(Xn);var c=Va({},Xn);return c.context=zt(c.context,nr(`context`,null)),c.hooks=zt(c.hooks,nr(`hooks`,`hooks`)),c.props=zt(c.props,nr(`props`,null)),c.state=zt(c.state,nr(`state`,null)),{id:t,responseID:e,type:`full-data`,value:c}}function sr(e){var t=er(e)?Xn:qn(e);if(t===null){console.warn(`Could not find DevToolsInstance with id "${e}"`);return}var n=In(e),r=typeof console.groupCollapsed==`function`;r&&console.groupCollapsed(`[Click to expand] %c<${n||`Component`} />`,`color: var(--dom-tag-name-color); font-weight: normal;`),t.props!==null&&console.log(`Props:`,t.props),t.state!==null&&console.log(`State:`,t.state),t.hooks!==null&&console.log(`Hooks:`,t.hooks);var i=Fn(e);i!==null&&console.log(`Nodes:`,i),(window.chrome||/firefox/i.test(navigator.userAgent))&&console.log(`Right-click any value to save it as a global variable for further inspection.`),r&&console.groupEnd()}function cr(e,t,n,r){var i=$.get(t);if(i===void 0){console.warn(`Could not find DevToolsInstance with id "${t}"`);return}if(i.kind===$a){var a=i.data;if(a!==null){var o=a.stateNode;switch(e){case`context`:switch(r=r.slice(1),a.tag){case w:r.length===0||ot(o.context,r),o.forceUpdate();break;case k:break}break;case`hooks`:typeof Le==`function`&&Le(a,n,r);break;case`props`:o===null?typeof Be==`function`&&Be(a,r):(a.pendingProps=Bt(o.props,r),o.forceUpdate());break;case`state`:ot(o.state,r),o.forceUpdate();break}}}}function lr(e,t,n,r,i){var a=$.get(t);if(a===void 0){console.warn(`Could not find DevToolsInstance with id "${t}"`);return}if(a.kind===$a){var o=a.data;if(o!==null){var s=o.stateNode;switch(e){case`context`:switch(r=r.slice(1),i=i.slice(1),o.tag){case w:r.length===0||st(s.context,r,i),s.forceUpdate();break;case k:break}break;case`hooks`:typeof Re==`function`&&Re(o,n,r,i);break;case`props`:s===null?typeof Ve==`function`&&Ve(o,r,i):(o.pendingProps=Vt(s.props,r,i),s.forceUpdate());break;case`state`:st(s.state,r,i),s.forceUpdate();break}}}}function ur(e,t,n,r,i){var a=$.get(t);if(a===void 0){console.warn(`Could not find DevToolsInstance with id "${t}"`);return}if(a.kind===$a){var o=a.data;if(o!==null){var s=o.stateNode;switch(e){case`context`:switch(r=r.slice(1),o.tag){case w:r.length===0?s.context=i:ct(s.context,r,i),s.forceUpdate();break;case k:break}break;case`hooks`:typeof Ie==`function`&&Ie(o,n,r,i);break;case`props`:switch(o.tag){case w:o.pendingProps=Ht(s.props,r,i),s.forceUpdate();break;default:typeof ze==`function`&&ze(o,r,i);break}break;case`state`:switch(o.tag){case w:ct(s.state,r,i),s.forceUpdate();break}break}}}}var dr=null,fr=null,pr=null,mr=!1,hr=0,gr=!1,_r=!1,vr=null;function yr(){var e=[];if(vr===null)throw Error(`getProfilingData() called before any profiling data was recorded`);vr.forEach(function(t,n){var r=[],i=fr!==null&&fr.get(n)||`Unknown`,a=pr!==null&&pr.get(n)||[];t.forEach(function(e,t){for(var n=e.changeDescriptions,i=e.durations,a=e.effectDuration,o=e.maxActualDuration,s=e.passiveEffectDuration,c=e.priorityLevel,l=e.commitTime,u=e.updaters,d=[],f=[],p=0;p<i.length;p+=3){var m=i[p];d.push([m,an(i[p+1])]),f.push([m,an(i[p+2])])}r.push({changeDescriptions:n===null?null:Array.from(n.entries()),duration:an(o),effectDuration:a===null?null:an(a),fiberActualDurations:d,fiberSelfDurations:f,passiveEffectDuration:s===null?null:an(s),priorityLevel:c,timestamp:l,updaters:u})}),e.push({commitData:r,displayName:i,initialTreeBaseDurations:a,rootID:n})});var n=null;if(typeof Ye==`function`){var r=Ye();if(r){var i=r.batchUIDToMeasuresMap,a=r.internalModuleSourceToRanges,o=r.laneToLabelMap,s=r.laneToReactMeasureMap,c=Ra(r,[`batchUIDToMeasuresMap`,`internalModuleSourceToRanges`,`laneToLabelMap`,`laneToReactMeasureMap`]);n=Va(Va({},c),{},{batchUIDToMeasuresKeyValueArray:Array.from(i.entries()),internalModuleSourceToRanges:Array.from(a.entries()),laneToLabelKeyValueArray:Array.from(o.entries()),laneToReactMeasureKeyValueArray:Array.from(s.entries())})}}return{dataForRoots:e,rendererID:t,timelineData:n}}function br(e,t){e.kind!==to&&t.push([e.id,e.treeBaseDuration]);for(var n=e.firstChild;n!==null;n=n.nextSibling)br(n,t)}function xr(n,r){mr||(gr=n,_r=r,fr=new Map,pr=new Map,e.getFiberRoots(t).forEach(function(e){var t=uo.get(e);if(t===void 0)throw Error(`Expected the root instance to already exist when starting profiling`);var n=t.id;fr.set(n,Wr(e.current));var r=[];br(t,r),pr.set(n,r)}),mr=!0,hr=so(),vr=new Map,Xe!==null&&Xe(!0,_r))}function Sr(){mr=!1,gr=!1,Xe!==null&&Xe(!1,_r),_r=!1}i&&xr(a.recordChangeDescriptions,a.recordTimeline);function Cr(e){if(e.kind===eo){for(var t=e;t.kind===eo;){if(t.firstChild===null)return null;t=t.firstChild}return t.data.return}else return e.data}function wr(){return null}var X=new Map;function Tr(e){if(typeof Ue!=`function`)throw Error(`Expected overrideError() to not get called for earlier React versions.`);var t=X.get(e);return t===!1?(X.delete(e),X.size===0&&Ue(wr),!1):(t===void 0&&e.alternate!==null&&(t=X.get(e.alternate),t===!1&&(X.delete(e.alternate),X.size===0&&Ue(wr))),t===void 0?!1:t)}function Er(e,t){if(typeof Ue!=`function`||typeof Ge!=`function`)throw Error(`Expected overrideError() to not get called for earlier React versions.`);var n=$.get(e);if(n!==void 0){var r=Cr(n);if(r!==null){for(var i=r;!Kn(i);){if(i.return===null)return;i=i.return}X.set(i,t),i.alternate!==null&&X.delete(i.alternate),X.size===1&&Ue(Tr),Ge(i)}}}function Dr(){return!1}var Or=new Set;function kr(e){return Or.has(e)||e.alternate!==null&&Or.has(e.alternate)}function Ar(e,t){if(typeof We!=`function`||typeof Ge!=`function`)throw Error(`Expected overrideSuspense() to not get called for earlier React versions.`);var n=$.get(e);if(n!==void 0){var r=Cr(n);if(r!==null){for(var i=r;i.tag!==ne;){if(i.return===null)return;i=i.return}i.alternate!==null&&Or.delete(i.alternate),t?(Or.add(i),Or.size===1&&We(kr)):(Or.delete(i),Or.size===0&&We(Dr)),Ge(i)}}}var jr=null,Mr=null,Nr=null,Pr=-1,Fr=!1;function Ir(e){e===null&&(Mr=null,Nr=null,Pr=-1,Fr=!1),jr=e}function Lr(e,t){if(jr===null||!Fr)return!1;var n=e.return,r=n===null?null:n.alternate;if(Mr===n||Mr===r&&r!==null){var i=Gr(e),a=jr[Pr+1];if(a===void 0)throw Error(`Expected to see a frame at the next depth.`);if(i.index===a.index&&i.key===a.key&&i.displayName===a.displayName)return Mr=e,t!==null&&t.kind===$a&&(Nr=t),Pr++,Fr=Pr!==jr.length-1,!1}return Mr===null&&t===null||(Fr=!1),!0}function Rr(e,t){if(jr===null||!Fr)return!1;if(Nr===t){var n=Kr(e),r=jr[Pr+1];if(r===void 0)throw Error(`Expected to see a frame at the next depth.`);if(n.index===r.index&&n.key===r.key&&n.displayName===r.displayName)return Mr=null,Nr=e,Pr++,Fr=Pr!==jr.length-1,!1}return Mr===null&&(Fr=!1),!0}function zr(e){Fr=e}var Br=new Map,Vr=new Map;function Hr(e,t){var n=Wr(t),r=Vr.get(n)||0;Vr.set(n,r+1);var i=`${n}:${r}`;Br.set(e,i)}function Ur(e){var t=Br.get(e);if(t===void 0)throw Error(`Expected root pseudo key to be known.`);var n=t.slice(0,t.lastIndexOf(`:`)),r=Vr.get(n);if(r===void 0)throw Error(`Expected counter to be known.`);r>1?Vr.set(n,r-1):Vr.delete(n),Br.delete(e)}function Wr(e){for(var t=null,n=null,r=e.child,i=0;i<3&&r!==null;i++){var a=_(r);if(a!==null&&(typeof r.type==`function`?t=a:n===null&&(n=a)),t!==null)break;r=r.child}return t||n||`Anonymous`}function Gr(e){var t=e.key,n=_(e),r=e.index;switch(e.tag){case A:var i=uo.get(e.stateNode);if(i===void 0)throw Error(`Expected the root instance to exist when computing a path`);var a=Br.get(i.id);if(a===void 0)throw Error(`Expected mounted root to have known pseudo key.`);n=a;break;case P:n=e.type;break;default:break}return{displayName:n,key:t,index:r}}function Kr(e){return{displayName:e.data.name||``,key:e.data.key==null?null:e.data.key,index:-1}}function qr(e){var t=$.get(e);if(t===void 0)return null;for(var n=[],r=t;r.kind===eo;){if(n.push(Kr(r)),r.parent===null)return null;r=r.parent}for(var i=r.data;i!==null;)n.push(Gr(i)),i=i.return;return n.reverse(),n}function Jr(){return jr===null||Nr===null?null:{id:Nr.id,isFullMatch:Pr===jr.length-1}}var Yr=function(e){if(e==null)return`Unknown`;switch(e){case se:return`Immediate`;case ce:return`User-Blocking`;case le:return`Normal`;case ue:return`Low`;case de:return`Idle`;case fe:default:return`Unknown`}};function Xr(e){vt=e}function Z(e){return $.has(e)}function Zr(e){var t=Qr(e);if(t!==null)return t;var r=ao(n),i=r==null?null:fa(b,e.data,r);if(i===null)return null;var a=en(i);return e.source=a,a}function Qr(e){var t=e.source;if(t===null)return null;if(e.kind===eo){var n=e.data.debugLocation;n!=null&&(t=n)}if(Qa(t))return e.source=rn(t);if(typeof t==`string`){var r=t.lastIndexOf(`
|
|
86
|
+
`),i=r===-1?t:t.slice(r+1);return e.source=en(i)}return t}var $r={};return Va({cleanup:Tn,clearErrorsAndWarnings:tt,clearErrorsForElementID:lt,clearWarningsForElementID:ut,getSerializedElementValueByPath:ar,deletePath:cr,findHostInstancesForElementID:Fn,flushInitialOperations:Dn,getBestMatchForTrackedPath:Jr,getDisplayNameForElementID:In,getNearestMountedDOMNode:Ln,getElementIDForHostInstance:Rn,getInstanceAndStyle:Gn,getOwnersList:Hn,getPathForElement:qr,getProfilingData:yr,handleCommitFiberRoot:An,handleCommitFiberUnmount:On,handlePostCommitFiberRoot:kn,hasElementWithId:Z,inspectElement:or,logElementToConsole:sr,getComponentStack:ft,getElementAttributeByPath:zn,getElementSourceFunctionById:Bn,onErrorOrWarning:pt,overrideError:Er,overrideSuspense:Ar,overrideValueAtPath:ur,renamePath:lr,renderer:n,setTraceUpdatesEnabled:Xr,setTrackedPath:Ir,startProfiling:xr,stopProfiling:Sr,storeAsGlobal:ir,updateComponentFilters:St,getEnvironmentNames:Ct},$r)}function xo(e,t,n){var r=e[t];return e[t]=function(e){return n.call(this,r,arguments)},r}function So(e,t){var n={};for(var r in t)n[r]=xo(e,r,t[r]);return n}function Co(e,t){for(var n in t)e[n]=t[n]}function wo(e){typeof e.forceUpdate==`function`?e.forceUpdate():e.updater!=null&&typeof e.updater.enqueueForceUpdate==`function`&&e.updater.enqueueForceUpdate(this,function(){},`forceUpdate`)}function To(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Eo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?To(Object(n),!0).forEach(function(t){Do(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):To(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Do(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oo(e){"@babel/helpers - typeof";return Oo=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Oo(e)}function ko(e){var t=null,n=null;if(e._currentElement!=null){e._currentElement.key&&(n=String(e._currentElement.key));var r=e._currentElement.type;typeof r==`string`?t=r:typeof r==`function`&&(t=Xe(r))}return{displayName:t,key:n}}function Ao(e){if(e._currentElement!=null){var t=e._currentElement.type;if(typeof t==`function`){var n=e.getPublicInstance();return n===null?he:pe}else if(typeof t==`string`)return _e}return ye}function jo(e){var t=[];if(Oo(e)===`object`&&!(e._currentElement===null||e._currentElement===!1)){if(e._renderedComponent){var n=e._renderedComponent;Ao(n)!==ye&&t.push(n)}else if(e._renderedChildren){var r=e._renderedChildren;for(var i in r){var a=r[i];Ao(a)!==ye&&t.push(a)}}}return t}function Mo(e,t,n,r){var i=new Map,a=new WeakMap,o=new WeakMap,d=null,f,p=function(e){return null};n.ComponentTree?(d=function(e){var t=n.ComponentTree.getClosestInstanceFromNode(e);return a.get(t)||null},f=function(e){var t=i.get(e);return n.ComponentTree.getNodeFromInstance(t)},p=function(e){var t=n.ComponentTree.getClosestInstanceFromNode(e);return t==null?null:n.ComponentTree.getNodeFromInstance(t)}):n.Mount.getID&&n.Mount.getNode&&(d=function(e){return null},f=function(e){return null});function m(e){var t=i.get(e);return t?ko(t).displayName:null}function h(e){if(Oo(e)!==`object`||e===null)throw Error(`Invalid internal instance: `+e);if(!a.has(e)){var t=V();a.set(e,t),i.set(t,e)}return a.get(e)}function g(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var _=[],v=null;n.Reconciler&&(v=So(n.Reconciler,{mountComponent:function(e,t){var n=t[0],r=t[3];if(Ao(n)===ye||r._topLevelWrapper===void 0)return e.apply(this,t);var i=h(n),a=_.length>0?_[_.length-1]:0;b(n,i,a),_.push(i),o.set(n,h(r._topLevelWrapper));try{var s=e.apply(this,t);return _.pop(),s}catch(e){throw _=[],e}finally{if(_.length===0){var c=o.get(n);if(c===void 0)throw Error(`Expected to find root ID.`);A(c)}}},performUpdateIfNecessary:function(e,t){var n=t[0];if(Ao(n)===ye)return e.apply(this,t);var r=h(n);_.push(r);var i=jo(n);try{var a=e.apply(this,t),s=jo(n);return g(i,s)||x(n,r,s),_.pop(),a}catch(e){throw _=[],e}finally{if(_.length===0){var c=o.get(n);if(c===void 0)throw Error(`Expected to find root ID.`);A(c)}}},receiveComponent:function(e,t){var n=t[0];if(Ao(n)===ye)return e.apply(this,t);var r=h(n);_.push(r);var i=jo(n);try{var a=e.apply(this,t),s=jo(n);return g(i,s)||x(n,r,s),_.pop(),a}catch(e){throw _=[],e}finally{if(_.length===0){var c=o.get(n);if(c===void 0)throw Error(`Expected to find root ID.`);A(c)}}},unmountComponent:function(e,t){var n=t[0];if(Ao(n)===ye)return e.apply(this,t);var r=h(n);_.push(r);try{var i=e.apply(this,t);return _.pop(),S(n,r),i}catch(e){throw _=[],e}finally{if(_.length===0){var a=o.get(n);if(a===void 0)throw Error(`Expected to find root ID.`);A(a)}}}}));function y(){v!==null&&(n.Component?Co(n.Component.Mixin,v):Co(n.Reconciler,v)),v=null}function b(e,t,n){var r=n===0;if(s&&console.log(`%crecordMount()`,`color: green; font-weight: bold;`,t,ko(e).displayName),r){var i=e._currentElement!=null&&e._currentElement._owner!=null;j(c),j(t),j(xe),j(0),j(0),j(0),j(i?1:0)}else{var a=Ao(e),o=ko(e),l=o.displayName,u=o.key,d=e._currentElement!=null&&e._currentElement._owner!=null?h(e._currentElement._owner):0,f=M(l),p=M(u);j(c),j(t),j(a),j(n),j(d),j(f),j(p)}}function x(e,t,n){j(u),j(t);var r=n.map(h);j(r.length);for(var i=0;i<r.length;i++)j(r[i])}function S(e,t){D.push(t),i.delete(t)}function C(e,t,n){s&&console.group(`crawlAndRecordInitialMounts() id:`,e);var r=i.get(e);r!=null&&(o.set(r,n),b(r,e,t),jo(r).forEach(function(t){return C(h(t),e,n)})),s&&console.groupEnd()}function w(){var e=n.Mount._instancesByReactRootID||n.Mount._instancesByContainerID;for(var t in e){var r=e[t],i=h(r);C(i,0,i),A(i)}}var T=[],E=new Map,D=[],O=0,k=null;function A(n){if(!(T.length===0&&D.length===0&&k===null)){var r=D.length+(k===null?0:1),i=Array(3+O+(r>0?2+r:0)+T.length),a=0;if(i[a++]=t,i[a++]=n,i[a++]=O,E.forEach(function(e,t){i[a++]=t.length;for(var n=et(t),r=0;r<n.length;r++)i[a+r]=n[r];a+=t.length}),r>0){i[a++]=l,i[a++]=r;for(var o=0;o<D.length;o++)i[a++]=D[o];k!==null&&(i[a]=k,a++)}for(var c=0;c<T.length;c++)i[a+c]=T[c];a+=T.length,s&&tt(i),e.emit(`operations`,i),T.length=0,D=[],k=null,E.clear(),O=0}}function j(e){T.push(e)}function M(e){if(e===null)return 0;var t=E.get(e);if(t!==void 0)return t;var n=E.size+1;return E.set(e,n),O+=e.length+1,n}var N=null,P={};function F(e){var t=P;e.forEach(function(e){t[e]||(t[e]={}),t=t[e]})}function ee(e){return function(t){var n=P[e];if(!n)return!1;for(var r=0;r<t.length;r++)if(n=n[t[r]],!n)return!1;return!0}}function I(e){var t=null,n=null,r=i.get(e);if(r!=null){t=r._instance||null;var a=r._currentElement;a!=null&&a.props!=null&&(n=a.props.style||null)}return{instance:t,style:n}}function L(e){var t=i.get(e);if(t==null){console.warn(`Could not find instance with id "${e}"`);return}switch(Ao(t)){case pe:r.$r=t._instance;break;case he:var n=t._currentElement;if(n==null){console.warn(`Could not find element with id "${e}"`);return}r.$r={props:n.props,type:n.type};break;default:r.$r=null;break}}function te(e,t,n){var r=B(e);if(r!==null){var i=at(r,t),a=`\$reactTemp${n}`;window[a]=i,console.log(a),console.log(i)}}function R(e,t){var n=B(e);if(n!==null){var r=at(n,t);return Wt(r)}}function z(e,t,n,r){(r||N!==t)&&(N=t,P={});var i=B(t);return i===null?{id:t,responseID:e,type:`not-found`}:(n!==null&&F(n),L(t),i.context=zt(i.context,ee(`context`)),i.props=zt(i.props,ee(`props`)),i.state=zt(i.state,ee(`state`)),{id:t,responseID:e,type:`full-data`,value:i})}function B(e){var t=i.get(e);if(t==null)return null;var n=ko(t),r=n.key,a=Ao(t),o=null,s=null,c=null,l=null,u=t._currentElement;if(u!==null){c=u.props;var d=u._owner;if(d)for(s=[];d!=null;)s.push({displayName:ko(d).displayName||`Unknown`,id:h(d),key:u.key,type:Ao(d)}),d._currentElement&&(d=d._currentElement._owner)}var f=t._instance;f!=null&&(o=f.context||null,l=f.state||null);var p=[],m=[];return{id:e,canEditHooks:!1,canEditFunctionProps:!1,canEditHooksAndDeletePaths:!1,canEditHooksAndRenamePaths:!1,canEditFunctionPropsDeletePaths:!1,canEditFunctionPropsRenamePaths:!1,canToggleError:!1,isErrored:!1,canToggleSuspense:!1,canViewSource:a===pe||a===he,source:null,hasLegacyContext:!0,type:a,key:r??null,context:o,hooks:null,props:c,state:l,errors:p,warnings:m,owners:s,rootType:null,rendererPackageName:null,rendererVersion:null,plugins:{stylex:null},nativeTag:null}}function ne(e){var t=B(e);if(t===null){console.warn(`Could not find element with id "${e}"`);return}var n=m(e),r=typeof console.groupCollapsed==`function`;r&&console.groupCollapsed(`[Click to expand] %c<${n||`Component`} />`,`color: var(--dom-tag-name-color); font-weight: normal;`),t.props!==null&&console.log(`Props:`,t.props),t.state!==null&&console.log(`State:`,t.state),t.context!==null&&console.log(`Context:`,t.context);var i=f(e);i!==null&&console.log(`Node:`,i),(window.chrome||/firefox/i.test(navigator.userAgent))&&console.log(`Right-click any value to save it as a global variable for further inspection.`),r&&console.groupEnd()}function re(e,t){var n=B(e);if(n!==null)return at(n,t)}function ie(e){var t=i.get(e);if(t==null)return console.warn(`Could not find instance with id "${e}"`),null;var n=t._currentElement;return n==null?(console.warn(`Could not find element with id "${e}"`),null):n.type}function ae(e,t,n,r){var a=i.get(t);if(a!=null){var o=a._instance;if(o!=null)switch(e){case`context`:ot(o.context,r),wo(o);break;case`hooks`:throw Error(`Hooks not supported by this renderer`);case`props`:var s=a._currentElement;a._currentElement=Eo(Eo({},s),{},{props:Bt(s.props,r)}),wo(o);break;case`state`:ot(o.state,r),wo(o);break}}}function oe(e,t,n,r,a){var o=i.get(t);if(o!=null){var s=o._instance;if(s!=null)switch(e){case`context`:st(s.context,r,a),wo(s);break;case`hooks`:throw Error(`Hooks not supported by this renderer`);case`props`:var c=o._currentElement;o._currentElement=Eo(Eo({},c),{},{props:Vt(c.props,r,a)}),wo(s);break;case`state`:st(s.state,r,a),wo(s);break}}}function se(e,t,n,r,a){var o=i.get(t);if(o!=null){var s=o._instance;if(s!=null)switch(e){case`context`:ct(s.context,r,a),wo(s);break;case`hooks`:throw Error(`Hooks not supported by this renderer`);case`props`:var c=o._currentElement;o._currentElement=Eo(Eo({},c),{},{props:Ht(c.props,r,a)}),wo(s);break;case`state`:ct(s.state,r,a),wo(s);break}}}var ce=function(){throw Error(`getProfilingData not supported by this renderer`)},le=function(){throw Error(`handleCommitFiberRoot not supported by this renderer`)},ue=function(){throw Error(`handleCommitFiberUnmount not supported by this renderer`)},de=function(){throw Error(`handlePostCommitFiberRoot not supported by this renderer`)},fe=function(){throw Error(`overrideError not supported by this renderer`)},me=function(){throw Error(`overrideSuspense not supported by this renderer`)},ge=function(){},_e=function(){};function ve(){return null}function be(e){return null}function Se(e){}function Ce(){return[]}function we(e){}function Te(e){}function Ee(e){return null}function De(){}function Oe(e){}function ke(e){}function Ae(e){return i.has(e)}return{clearErrorsAndWarnings:De,clearErrorsForElementID:Oe,clearWarningsForElementID:ke,cleanup:y,getSerializedElementValueByPath:R,deletePath:ae,flushInitialOperations:w,getBestMatchForTrackedPath:ve,getDisplayNameForElementID:m,getNearestMountedDOMNode:p,getElementIDForHostInstance:d,getInstanceAndStyle:I,findHostInstancesForElementID:function(e){var t=f(e);return t==null?null:[t]},getOwnersList:Ee,getPathForElement:be,getProfilingData:ce,handleCommitFiberRoot:le,handleCommitFiberUnmount:ue,handlePostCommitFiberRoot:de,hasElementWithId:Ae,inspectElement:z,logElementToConsole:ne,overrideError:fe,overrideSuspense:me,overrideValueAtPath:se,renamePath:oe,getElementAttributeByPath:re,getElementSourceFunctionById:ie,renderer:n,setTraceUpdatesEnabled:we,setTrackedPath:Te,startProfiling:ge,stopProfiling:_e,storeAsGlobal:te,updateComponentFilters:Se,getEnvironmentNames:Ce}}function No(e){return!Rt(e)}function Po(e,t,n,r,i,a){if(No(n.reconcilerVersion||n.version)){var o=e.rendererInterfaces.get(t);return o??(typeof n.getCurrentComponentInfo==`function`?o=Ii(e,t,n,r):typeof n.findFiberByHostInstance==`function`||n.currentDispatcherRef!=null?o=bo(e,t,n,r,i,a):n.ComponentTree&&(o=Mo(e,t,n,r))),o}}function Fo(e){return Ro(e)||Lo(e)||Vo(e)||Io()}function Io(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
87
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lo(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Ro(e){if(Array.isArray(e))return Ho(e)}function zo(e,t){return Wo(e)||Uo(e,t)||Vo(e,t)||Bo()}function Bo(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
88
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vo(e,t){if(e){if(typeof e==`string`)return Ho(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ho(e,t)}}function Ho(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Uo(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function Wo(e){if(Array.isArray(e))return e}function Go(e){var t=[...arguments].slice(1);if(t.length===0||typeof e!=`string`)return[e].concat(t);for(var n=t.slice(),r=``,i=0,a=0;a<e.length;++a){var o=e[a];if(o!==`%`){r+=o;continue}var s=e[a+1];switch(++a,s){case`c`:case`O`:case`o`:++i,r+=`%${s}`;break;case`d`:case`i`:var c=n.splice(i,1),l=zo(c,1),u=l[0];r+=parseInt(u,10).toString();break;case`f`:var d=n.splice(i,1),f=zo(d,1),p=f[0];r+=parseFloat(p).toString();break;case`s`:var m=n.splice(i,1),h=zo(m,1),g=h[0];r+=String(g);break;default:r+=`%${s}`}}return[r].concat(Fo(n))}function Ko(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Yo(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
89
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,s=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}}}function qo(e){return Zo(e)||Xo(e)||Yo(e)||Jo()}function Jo(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
90
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yo(e,t){if(e){if(typeof e==`string`)return Qo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qo(e,t)}}function Xo(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function Zo(e){if(Array.isArray(e))return Qo(e)}function Qo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var $o=/\s{4}(in|at)\s{1}/,es=/:\d+:\d+(\n|$)/;function ts(e){return $o.test(e)||es.test(e)}var ns=/ \(\<anonymous\>\)$|\@unknown\:0\:0$|\(|\)|\[|\]/gm;function rs(e,t){return e.replace(ns,``)===t.replace(ns,``)}var os=console,ss={recordChangeDescriptions:!1,recordTimeline:!1};function cs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ss;if(e.hasOwnProperty(`__REACT_DEVTOOLS_GLOBAL_HOOK__`))return null;function i(e){try{if(typeof e.version==`string`)return e.bundleType>0?`development`:`production`;var t=Function.prototype.toString;if(e.Mount&&e.Mount._renderNewRootComponent){var n=t.call(e.Mount._renderNewRootComponent);return n.indexOf(`function`)===0?n.indexOf(`storedMeasure`)===-1?n.indexOf(`should be a pure function`)===-1?n.indexOf(`nextElement`)!==-1||n.indexOf(`nextComponent`)!==-1?`unminified`:`outdated`:n.indexOf(`NODE_ENV`)!==-1||n.indexOf(`development`)!==-1||n.indexOf(`true`)!==-1?`development`:n.indexOf(`nextElement`)!==-1||n.indexOf(`nextComponent`)!==-1?`unminified`:`development`:`development`:`production`}}catch{}return`production`}function a(e){try{var t=Function.prototype.toString,n=t.call(e);n.indexOf(`^_^`)>-1&&(l=!0,setTimeout(function(){throw Error(`React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://react.dev/link/perf-use-production-build`)}))}catch{}}var o=n,s=0;function c(t){var n=++s;F.set(n,t);var a=l?`deadcode`:i(t);I.emit(`renderer`,{id:n,renderer:t,reactBuildType:a});var c=Po(I,n,t,e,o,r);return c==null?(I.hasUnsupportedRendererAttached=!0,I.emit(`unsupported-renderer-version`)):(I.rendererInterfaces.set(n,c),I.emit(`renderer-attached`,{id:n,rendererInterface:c})),n}var l=!1;function u(e,t){return I.on(e,t),function(){return I.off(e,t)}}function d(e,t){P[e]||(P[e]=[]),P[e].push(t)}function f(e,t){if(P[e]){var n=P[e].indexOf(t);n!==-1&&P[e].splice(n,1),P[e].length||delete P[e]}}function p(e,t){P[e]&&P[e].map(function(e){return e(t)})}function m(e){var t=M;return t[e]||(t[e]=new Set),t[e]}function h(e,t){var n=N.get(e);n?.handleCommitFiberUnmount(t)}function g(e,t,n){var r=I.getFiberRoots(e),i=t.current,a=r.has(t),o=i.memoizedState==null||i.memoizedState.element==null;!a&&!o?r.add(t):a&&o&&r.delete(t);var s=N.get(e);s?.handleCommitFiberRoot(t,n)}function _(e,t){var n=N.get(e);n?.handlePostCommitFiberRoot(t)}var b=!1;function x(e,t){b=t,t?C():w()}var S=[];function C(){if(I.settings&&!(S.length>0))for(var e=[`group`,`groupCollapsed`,`info`,`log`],t=function(){var e=r[n],t=os[e],i=function(){var e=I.settings,n=[...arguments];if(e==null){t.apply(void 0,n);return}e.hideConsoleLogsInStrictMode||t.apply(void 0,[v].concat(qo(Go.apply(void 0,n))))};os[e]=i,S.push(function(){os[e]=t})},n=0,r=e;n<r.length;n++)t()}function w(){S.forEach(function(e){return e()}),S.length=0}var T=[],E=[];function D(e){var t=e.stack.split(`
|
|
91
|
+
`),n=t.length>1?t[1]:null;return n}function O(){return E}function k(e){var t=D(e);t!==null&&T.push(t)}function A(e){if(T.length>0){var t=T.pop(),n=D(e);n!==null&&E.push([t,n])}}function j(){if(I.settings)for(var e=[`error`,`trace`,`warn`],t=function(){var e=r[n],t=os[e],i=function(){var n=I.settings,r=[...arguments];if(n==null){t.apply(void 0,r);return}if(!(b&&n.hideConsoleLogsInStrictMode)){var i=!1,a=!1;if(n.appendComponentStack){var o=r.length>0?r[r.length-1]:null;a=typeof o==`string`&&ts(o)}var s=n.showInlineWarningsAndErrors&&(e===`error`||e===`warn`),c=Ko(I.rendererInterfaces.values()),l;try{for(c.s();!(l=c.n()).done;){var u=l.value,d=u.onErrorOrWarning,f=u.getComponentStack;try{s&&d?.(e,r.slice())}catch(e){setTimeout(function(){throw e},0)}try{if(n.appendComponentStack&&f!=null){var p=Error(`react-stack-top-frame`),m=f(p);if(m!==null){var h=m.enableOwnerStacks,g=m.componentStack;if(g!==``){var _=Error(``);if(_.name=h?`Stack`:`Component Stack`,_.stack=(h?`Error Stack:`:`Error Component Stack:`)+g,a){if(rs(r[r.length-1],g)){var x=r[0];r.length>1&&typeof x==`string`&&x.endsWith(`%s`)&&(r[0]=x.slice(0,x.length-2)),r[r.length-1]=_,i=!0}}else r.push(_),i=!0}break}}}catch(e){setTimeout(function(){throw e},0)}}}catch(e){c.e(e)}finally{c.f()}if(n.breakOnConsoleErrors)debugger;b?t.apply(void 0,[i?y:v].concat(qo(Go.apply(void 0,r)))):t.apply(void 0,r)}};os[e]=i},n=0,r=e;n<r.length;n++)t()}var M={},N=new Map,P={},F=new Map,ee=new Map,I={rendererInterfaces:N,listeners:P,backends:ee,renderers:F,hasUnsupportedRendererAttached:!1,emit:p,getFiberRoots:m,inject:c,on:d,off:f,sub:u,supportsFiber:!0,supportsFlight:!0,checkDCE:a,onCommitFiberUnmount:h,onCommitFiberRoot:g,onPostCommitFiberRoot:_,setStrictMode:x,getInternalModuleRanges:O,registerInternalModuleStart:k,registerInternalModuleStop:A};return t==null?(I.settings={appendComponentStack:!0,breakOnConsoleErrors:!1,showInlineWarningsAndErrors:!0,hideConsoleLogsInStrictMode:!1},j()):Promise.resolve(t).then(function(e){I.settings=e,I.emit(`settingsInitialized`,e),j()}).catch(function(){os.error(`React DevTools failed to get Console Patching settings. Console won't be patched and some console features will not work.`)}),Object.defineProperty(e,`__REACT_DEVTOOLS_GLOBAL_HOOK__`,{configurable:!1,enumerable:!1,get:function(){return I}}),I}function ls(e,t,n,r){if(e==null)return function(){};function i(e,n){t.registerRendererInterface(e,n),n.flushInitialOperations()}var a=[e.sub(`renderer-attached`,function(e){var t=e.id,n=e.rendererInterface;i(t,n)}),e.sub(`unsupported-renderer-version`,function(){t.onUnsupportedRenderer()}),e.sub(`fastRefreshScheduled`,t.onFastRefreshScheduled),e.sub(`operations`,t.onHookOperations),e.sub(`traceUpdates`,t.onTraceUpdates),e.sub(`settingsInitialized`,t.onHookSettings)];t.addListener(`getIfHasUnsupportedRendererVersion`,function(){e.hasUnsupportedRendererAttached&&t.onUnsupportedRenderer()}),e.rendererInterfaces.forEach(function(e,t){i(t,e)}),e.emit(`react-devtools`,t),e.reactDevtoolsAgent=t;var o=function(){a.forEach(function(e){return e()}),e.rendererInterfaces.forEach(function(e){e.cleanup()}),e.reactDevtoolsAgent=null};return t.addListener(`shutdown`,o),t.addListener(`updateHookSettings`,function(t){e.settings=t}),t.addListener(`getHookSettings`,function(){e.settings!=null&&t.onHookSettings(e.settings)}),r&&t.onReloadAndProfileSupportedByHost(),function(){a.forEach(function(e){return e()})}}function us(e,t){var n=!1,r={bottom:0,left:0,right:0,top:0},i=t[e];if(i!=null){for(var a=0,o=Object.keys(r);a<o.length;a++){var s=o[a];r[s]=i}n=!0}var c=t[e+`Horizontal`];if(c!=null)r.left=c,r.right=c,n=!0;else{var l=t[e+`Left`];l!=null&&(r.left=l,n=!0);var u=t[e+`Right`];u!=null&&(r.right=u,n=!0);var d=t[e+`End`];d!=null&&(r.right=d,n=!0);var f=t[e+`Start`];f!=null&&(r.left=f,n=!0)}var p=t[e+`Vertical`];if(p!=null)r.bottom=p,r.top=p,n=!0;else{var m=t[e+`Bottom`];m!=null&&(r.bottom=m,n=!0);var h=t[e+`Top`];h!=null&&(r.top=h,n=!0)}return n?r:null}function ds(e){"@babel/helpers - typeof";return ds=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ds(e)}function fs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ps(e,t,n,r){e.addListener(`NativeStyleEditor_measure`,function(r){var i=r.id,a=r.rendererID;gs(t,e,n,i,a)}),e.addListener(`NativeStyleEditor_renameAttribute`,function(r){var i=r.id,a=r.rendererID,o=r.oldName,s=r.newName,c=r.value;vs(t,i,a,o,s,c),setTimeout(function(){return gs(t,e,n,i,a)})}),e.addListener(`NativeStyleEditor_setValue`,function(r){var i=r.id,a=r.rendererID,o=r.name,s=r.value;ys(t,i,a,o,s),setTimeout(function(){return gs(t,e,n,i,a)})}),e.send(`isNativeStyleEditorSupported`,{isSupported:!0,validAttributes:r})}var ms={top:0,left:0,right:0,bottom:0},hs=new Map;function gs(e,t,n,r,i){var a=e.getInstanceAndStyle({id:r,rendererID:i});if(!a||!a.style){t.send(`NativeStyleEditor_styleAndLayout`,{id:r,layout:null,style:null});return}var o=a.instance,s=a.style,c=n(s),l=hs.get(r);if(l!=null&&(c=Object.assign({},c,l)),!o||typeof o.measure!=`function`){t.send(`NativeStyleEditor_styleAndLayout`,{id:r,layout:null,style:c||null});return}o.measure(function(e,n,i,a,o,s){if(typeof e!=`number`){t.send(`NativeStyleEditor_styleAndLayout`,{id:r,layout:null,style:c||null});return}var l=c!=null&&us(`margin`,c)||ms,u=c!=null&&us(`padding`,c)||ms;t.send(`NativeStyleEditor_styleAndLayout`,{id:r,layout:{x:e,y:n,width:i,height:a,left:o,top:s,margin:l,padding:u},style:c||null})})}function _s(e){var t={};for(var n in e)t[n]=e[n];return t}function vs(e,t,n,r,i,a){var o,s=e.getInstanceAndStyle({id:t,rendererID:n});if(!(!s||!s.style)){var c=s.instance,l=s.style,u=i?(o={},fs(o,r,void 0),fs(o,i,a),o):fs({},r,void 0),d;if(c!==null&&typeof c.setNativeProps==`function`){var f=hs.get(t);f?Object.assign(f,u):hs.set(t,u),c.setNativeProps({style:u})}else if(Fe(l)){var p=l.length-1;ds(l[p])===`object`&&!Fe(l[p])?(d=_s(l[p]),delete d[r],i?d[i]=a:d[r]=void 0,e.overrideValueAtPath({type:`props`,id:t,rendererID:n,path:[`style`,p],value:d})):e.overrideValueAtPath({type:`props`,id:t,rendererID:n,path:[`style`],value:l.concat([u])})}else ds(l)===`object`?(d=_s(l),delete d[r],i?d[i]=a:d[r]=void 0,e.overrideValueAtPath({type:`props`,id:t,rendererID:n,path:[`style`],value:d})):e.overrideValueAtPath({type:`props`,id:t,rendererID:n,path:[`style`],value:[l,u]});e.emit(`hideNativeHighlight`)}}function ys(e,t,n,r,i){var a=e.getInstanceAndStyle({id:t,rendererID:n});if(!(!a||!a.style)){var o=a.instance,s=a.style,c=fs({},r,i);if(o!==null&&typeof o.setNativeProps==`function`){var l=hs.get(t);l?Object.assign(l,c):hs.set(t,c),o.setNativeProps({style:c})}else if(Fe(s)){var u=s.length-1;ds(s[u])===`object`&&!Fe(s[u])?e.overrideValueAtPath({type:`props`,id:t,rendererID:n,path:[`style`,u,r],value:i}):e.overrideValueAtPath({type:`props`,id:t,rendererID:n,path:[`style`],value:s.concat([c])})}else e.overrideValueAtPath({type:`props`,id:t,rendererID:n,path:[`style`],value:[s,c]});e.emit(`hideNativeHighlight`)}}var bs=nt();function xs(e){if(s){var t,n=[...arguments].slice(1);(t=console).log.apply(t,[`%c[core/backend] %c${e}`,`color: teal; font-weight: bold;`,`font-weight: bold;`].concat(n))}}function Ss(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;cs(window,e,t,n)}function Cs(e){var t=window.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t==null)return;var n=e||{},r=n.host,i=r===void 0?`localhost`:r,a=n.nativeStyleEditorValidAttributes,o=n.useHttps,c=o===void 0?!1:o,l=n.port,u=l===void 0?8097:l,d=n.websocket,f=n.resolveRNStyle,p=f===void 0?null:f,m=n.retryConnectionDelay,h=m===void 0?2e3:m,g=n.isAppActive,_=g===void 0?function(){return!0}:g,v=n.onSettingsUpdated,y=n.isReloadAndProfileSupported,b=y===void 0?ht():y,x=n.isProfiling,S=n.onReloadAndProfile,C=n.onReloadAndProfileFlagsReset,w=c?`wss`:`ws`,T=null;function E(){T===null&&(T=setTimeout(function(){return Cs(e)},h))}if(!_()){E();return}var D=null,O=[],k=w+`://`+i+`:`+u,A=d||new window.WebSocket(k);A.onclose=j,A.onerror=M,A.onmessage=N,A.onopen=function(){D=new Lr({listen:function(e){return O.push(e),function(){var t=O.indexOf(e);t>=0&&O.splice(t,1)}},send:function(e,t,n){A.readyState===A.OPEN?(s&&xs(`wall.send()`,e,t),A.send(JSON.stringify({event:e,payload:t}))):(s&&xs(`wall.send()`,`Shutting down bridge because of closed WebSocket connection`),D!==null&&D.shutdown(),E())}}),D.addListener(`updateComponentFilters`,function(e){bs=e}),window.__REACT_DEVTOOLS_COMPONENT_FILTERS__??D.send(`overrideComponentFilters`,bs);var e=new Qr(D,x,S);if(typeof C==`function`&&C(),v!=null&&e.addListener(`updateHookSettings`,v),e.addListener(`shutdown`,function(){v!=null&&e.removeListener(`updateHookSettings`,v),t.emit(`shutdown`)}),ls(t,e,window,b),p!=null||t.resolveRNStyle!=null)ps(D,e,p||t.resolveRNStyle,a||t.nativeStyleEditorValidAttributes||null);else{var n,r,i=function(){D!==null&&ps(D,e,n,r)};t.hasOwnProperty(`resolveRNStyle`)||Object.defineProperty(t,`resolveRNStyle`,{enumerable:!1,get:function(){return n},set:function(e){n=e,i()}}),t.hasOwnProperty(`nativeStyleEditorValidAttributes`)||Object.defineProperty(t,`nativeStyleEditorValidAttributes`,{enumerable:!1,get:function(){return r},set:function(e){r=e,i()}})}};function j(){s&&xs(`WebSocket.onclose`),D!==null&&D.emit(`shutdown`),E()}function M(){s&&xs(`WebSocket.onerror`),E()}function N(e){var t;try{if(typeof e.data==`string`)t=JSON.parse(e.data),s&&xs(`WebSocket.onmessage`,t);else throw Error()}catch{console.error(`[React DevTools] Failed to parse JSON: `+e.data);return}O.forEach(function(e){try{e(t)}catch(e){throw console.log(`[React DevTools] Error calling listener`,t),console.log(`error:`,e),e}})}}function ws(e){var t=e.onSubscribe,n=e.onUnsubscribe,r=e.onMessage,i=e.nativeStyleEditorValidAttributes,a=e.resolveRNStyle,o=e.onSettingsUpdated,s=e.isReloadAndProfileSupported,c=s===void 0?ht():s,l=e.isProfiling,u=e.onReloadAndProfile,d=e.onReloadAndProfileFlagsReset,f=window.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(f!=null){var p={listen:function(e){return t(e),function(){n(e)}},send:function(e,t){r(e,t)}},m=new Lr(p);m.addListener(`updateComponentFilters`,function(e){bs=e}),window.__REACT_DEVTOOLS_COMPONENT_FILTERS__??m.send(`overrideComponentFilters`,bs);var h=new Qr(m,l,u);typeof d==`function`&&d(),o!=null&&h.addListener(`updateHookSettings`,o),h.addListener(`shutdown`,function(){o!=null&&h.removeListener(`updateHookSettings`,o),f.emit(`shutdown`)});var g=ls(f,h,window,c),_=a||f.resolveRNStyle;if(_!=null){var v=i||f.nativeStyleEditorValidAttributes||null;ps(m,h,_,v)}return g}}})(),r})())})),a=t(i(),1);a.default.connectToDevTools();export{};
|