mobx-view-model-devtools 0.0.30 → 0.0.32

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/auto.global.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.vmButton_esipO{position:fixed;z-index:999999;width:36px;height:36px;border-radius:8px;transition:all .15s ease-in-out;cursor:pointer;-webkit-user-select:none;user-select:none}.vmButton_esipO.dragging_kUMCE{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.vmButton_esipO.opened_NYAFW{opacity:0!important;pointer-events:none}.vmButton_esipO[data-position=top-right]{top:12px;right:12px}.vmButton_esipO[data-position=top-left]{top:12px;left:12px}.vmButton_esipO[data-position=bottom-left]{bottom:12px;left:12px}.vmButton_esipO[data-position=bottom-right]{bottom:12px;right:12px}.vmButton_esipO>img{pointer-events:none;position:absolute;inset:0;border-radius:8px}.vmButton_esipO>div{transition:all .15s ease-in-out;position:absolute;inset:0;border-radius:8px;border:2px solid #00000057}.vmButton_esipO>span{left:-4px;top:-4px;pointer-events:none;position:absolute;display:flex;border-radius:8px;background:#005c26cf;padding:2px;font-weight:600;font-size:12px;line-height:12px;color:#2aff0a}.vmButton_esipO:not(.isConnected_eObxX){filter:grayscale(1)}.iconToggleButton_R48wm{display:flex;align-items:center;gap:2px;position:relative;height:20px;outline:none;border-radius:4px;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.activePosition_IXsRn{position:absolute;height:16px;width:16px;padding:1px;box-sizing:content-box!important;background:var(--vmd-control-active-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));border-radius:4px;transition:all 149ms ease;transform:translate(calc(20px * var(--index)))}.option_a5IcR{padding:1px;z-index:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;transition:all 149ms ease;color:var(--vmd-control-inactive-color)}.option_a5IcR.active_6QS-2{color:var(--vmd-control-active-color)}.option_a5IcR>svg{width:14px;height:14px}:root{--vmd-base-blur: 2px;--vmd-bg: #0c0a19e6;--vmd-overlay-bg: #0e1227bd;--vmd-base-color: #ccc;--vmd-control-active-bg: #e6e6e682;--vmd-control-active-color: #181818;--vmd-control-active-text-input-color: var(--vmd-base-color);--vmd-control-active-text-input-placeholder-color: #a3a3a3;--vmd-control-inactive-color: #8b8b8b;--vmd-control-border: #5b5468a6;--vmd-control-bg: transparent;--vmd-control-blur: 2px;--vmd-bg-transparent: #1f1c2600;--vmd-content-bg: transparent;--vmd-content-highlight-bg: #ffffff0a;--vmd-scrollbar-track-size: 8px;--vmd-scrollbar-bg-base: #81818170;--vmd-scrollbar-bg-active: #818181;--vmd-property-meta-color: #616161;--vmd-primary-bg: #0f6013;--vmd-primary-color: #5ab65e;--vmd-secondary-bg: #6b6902;--vmd-header-height: 60px}.root_Xsw1F{display:contents;box-sizing:border-box}.root_Xsw1F *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;box-sizing:border-box}.root_Xsw1F button{outline:none;background:transparent;border:0;cursor:pointer;margin:0;padding-block:0;padding-inline:0;color:var(--vmd-base-color)}.hierarchyButton_h3FD7{width:18px;height:18px;padding:2px;border-radius:6px}.hierarchyButton_h3FD7.active_4JTx5{background:#f0f0f01f}.treeItemHeader_9gR6Q{display:flex;align-items:center;gap:4px;margin:auto 0;cursor:pointer;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItemLabel_eiMgP{padding:0 4px;border-radius:4px}.treeItemMetaText_cmfX0{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItem_sRXPA{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;height:22px;display:flex;flex-direction:row;align-items:center;padding-left:calc(8px + (var(--level) * 20px));position:sticky;top:calc(var(--vmd-header-height) + var(--vmd-control-panel-height));z-index:1}.treeItem_sRXPA:hover{background:var(--vmd-content-highlight-bg)}.treeItem_sRXPA:not([data-fitted=true])>header{opacity:.6}.vmTreeItem_t-7jc .treeItemLabel_eiMgP{background:var(--vmd-primary-bg)}.vmTreeItem_t-7jc .treeItemMetaText_cmfX0{color:var(--vmd-primary-color)}.extraTreeItem_z3KA1 .treeItemLabel_eiMgP{background:var(--vmd-secondary-bg)}.expandButton_B24E3{color:#a0a0a0;opacity:1!important;width:16px;height:16px;font-weight:700;cursor:pointer}.expandButton_B24E3.expanded_8-pD6{color:#b8b8b8;transform:rotate(90deg)}.expandButton_B24E3.disabled_MBq1Q{opacity:.35!important}.vmContent_TIK57[data-simplebar]{position:relative;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;color:var(--vmd-base-color);background:var(--vmd-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));display:flex;flex-direction:column;overflow:auto;overflow-y:auto;scrollbar-width:thin;overflow-anchor:none}.vmContent_TIK57[data-simplebar] .simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.vmContent_TIK57[data-simplebar] .simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.vmContent_TIK57[data-simplebar] .simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper::-webkit-scrollbar,.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.vmContent_TIK57[data-simplebar] .simplebar-content:after,.vmContent_TIK57[data-simplebar] .simplebar-content:before{content:" ";display:table}.vmContent_TIK57[data-simplebar] .simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.vmContent_TIK57[data-simplebar] .simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}.vmContent_TIK57[data-simplebar].simplebar-dragging,.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{position:absolute;content:"";background:var(--vmd-scrollbar-bg-base);border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-vertical{top:0;width:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{inset:2px}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal{left:0;height:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.vmContentHeader_M1JNM{display:flex;flex-direction:column;height:var(--vmd-header-height);flex:none;padding:0 8px;position:sticky;top:0;z-index:1}.vmContentHeaderLogo_FRJDO{width:16px;margin-right:6px}.vmContentHeaderTitle_lYmde{display:flex;justify-content:space-between;align-items:center;flex:none;font-weight:600;z-index:1}.vmContentHeaderTitleText_RlIFH{font-size:16px;margin-right:auto}.vmContentControlPanel_CgUN9{width:100%;height:var(--vmd-control-panel-height);padding-bottom:4px;flex:none;display:flex;flex-direction:row;z-index:1;gap:4px;overflow:hidden;padding-right:6px}.vmContentControlPanel_CgUN9:has(.vmContentInput_29GM1 input:focus)>.vmContentControlPanelActions_lONbA{margin-left:-106px}.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center;gap:6px;transition:all .15s ease}.hiearchyToggleButton_0FTG-{display:flex}.vmContentInput_29GM1{display:flex;position:relative;flex:1;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.vmContentInput_29GM1>svg{position:absolute;width:16px;inset:50% 0;transform:translate(6px,-50%);pointer-events:none;opacity:.7}.vmContentInput_29GM1>input{background:var(--vmd-control-bg);border:1px solid var(--vmd-control-border);color:var(--vmd-control-active-text-input-color);border-radius:4px;outline:0;width:100%;padding:3px 26px;font-size:14px;text-overflow:ellipsis}.vmContentInput_29GM1>input::placeholder{color:var(--vmd-control-active-text-input-placeholder-color)}.vmContentInput_29GM1>button{position:absolute;right:6px;width:16px;transform:translate(4px,-50%);top:50%;opacity:.6;display:none}.vmContentInput_29GM1.filled_6JZa0>svg{opacity:.9}.vmContentInput_29GM1.filled_6JZa0>button{display:block}.vmContentVirtualized_lia62{flex:1}.vmContentVirtualized_lia62>div>div{height:22px}.gradientBlur_-y-re{position:absolute;top:0;left:0;width:100%;height:calc(100% + 6px);pointer-events:none;background:linear-gradient(to bottom,var(--vmd-overlay-bg) 0%,rgba(0,0,0,0) 100%)}.gradientBlur_-y-re:before{content:"";position:absolute;inset:0;background:transparent;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);-webkit-mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%);mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%)}.property_sD8FG{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;background:var(--vmd-content-bg);height:22px;display:flex;flex-direction:row;align-items:center;position:relative;color:var(--vmd-property-meta-color);padding-left:calc(0px + 28px + (var(--level) * 15px))}.property_sD8FG:hover{background:var(--vmd-content-highlight-bg)}.property_sD8FG.expandable_np03F{cursor:pointer}.property_sD8FG[data-fitted=false]{opacity:.5}.property_sD8FG.instance_jv3IW{--value-color: rgb(190 113 195)}.property_sD8FG.primitive_v6LAV.boolean_Z6znK,.property_sD8FG.primitive_v6LAV.number_U9H45,.property_sD8FG.primitive_v6LAV.object_bHf4I,.property_sD8FG.primitive_v6LAV.bigint_HkgX8,.property_sD8FG.primitive_v6LAV.symbol_oKSwT{--value-color: rgb(89, 153, 205)}.property_sD8FG.primitive_v6LAV.undefined_6CapW,.property_sD8FG.primitive_v6LAV.null_lugoL{--value-color: #499098}.primitive_v6LAV.string_87vm1{--value-color: #af7249}.propertyName_KicXG{color:#ccc}.propertyMeta_Ia9ce{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g{color:var(--value-color, var(--vmd-property-meta-color));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g:has(+.propertyName_KicXG){margin-right:4px}.propertyOperations_fT6Ez{position:absolute;right:12px;display:flex;align-items:center;opacity:0}.property_sD8FG:hover>.propertyOperations_fT6Ez{opacity:1}.vmPopup_0hkGL{position:fixed!important;z-index:999999;width:520px;border-radius:8px;height:calc(100vh - 24px);width:calc(100vw - 34px);max-width:520px;box-shadow:0 5px 20px #0006}.vmPopup_0hkGL[data-position=top-right]{top:12px;right:12px}.vmPopup_0hkGL[data-position=top-left]{top:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-left]{bottom:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-right]{bottom:12px;right:12px}.closePopupButton_igv9j{width:28px;height:28px;padding:6px;border:0;background:transparent;color:var(--vmd-base-color);display:flex;align-items:center;justify-content:center}')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var e,t,n={exports:{}},r={};function i(){return t||(t=1,n.exports=function(){if(e)return r;e=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): 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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var w=y.prototype=new b;w.constructor=y,m(w,g.prototype),w.isPureReactComponent=!0;var _=Array.isArray,x=Object.prototype.hasOwnProperty,k={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var i,o={},a=null,l=null;if(null!=n)for(i in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)x.call(n,i)&&!S.hasOwnProperty(i)&&(o[i]=n[i]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in s=e.defaultProps)void 0===o[i]&&(o[i]=s[i]);return{$$typeof:t,type:e,key:a,ref:l,props:o,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var O=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(e,r,i,o,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case t:case n:s=!0}}if(s)return a=a(s=e),e=""===o?"."+T(s,0):o,_(a)?(i="",null!=e&&(i=e.replace(O,"$&/")+"/"),A(a,r,i,"",function(e){return e})):null!=a&&(C(a)&&(a=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+e)),r.push(a)),1;if(s=0,o=""===o?".":o+":",_(e))for(var u=0;u<e.length;u++){var c=o+T(l=e[u],u);s+=A(l,r,i,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=A(l=l.value,r,i,c=o+T(l,u++),a);else if("object"===l)throw r=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function M(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},L={transition:null},R={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:L,ReactCurrentOwner:k};function z(){throw Error("act(...) is not supported in production builds of React.")}return r.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=g,r.Fragment=i,r.Profiler=a,r.PureComponent=y,r.StrictMode=o,r.Suspense=c,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,r.act=z,r.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,l=e._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=k.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in n)x.call(n,u)&&!S.hasOwnProperty(u)&&(i[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}return{$$typeof:t,type:e.type,key:o,ref:a,props:i,_owner:l}},r.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},r.createElement=E,r.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:u,render:e}},r.isValidElement=C,r.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},r.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},r.unstable_act=z,r.useCallback=function(e,t){return P.current.useCallback(e,t)},r.useContext=function(e){return P.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return P.current.useDeferredValue(e)},r.useEffect=function(e,t){return P.current.useEffect(e,t)},r.useId=function(){return P.current.useId()},r.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},r.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return P.current.useMemo(e,t)},r.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},r.useRef=function(e){return P.current.useRef(e)},r.useState=function(e){return P.current.useState(e)},r.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},r.useTransition=function(){return P.current.useTransition()},r.version="18.3.1",r}()),n.exports}var o=i();const a=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(o);var l,s,u={exports:{}},c={},d=(s||(s=1,u.exports=function(){if(l)return c;l=1;var e=i(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,i){var l,s={},u=null,c=null;for(l in void 0!==i&&(u=""+i),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!a.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return c.Fragment=n,c.jsx=s,c.jsxs=s,c}()),u.exports);function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var p={};function h(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:p}var m=Object.assign,v=Object.getOwnPropertyDescriptor,g=Object.defineProperty,b=Object.prototype,y=[];Object.freeze(y);var w={};Object.freeze(w);var _="undefined"!=typeof Proxy,x=Object.toString();function k(){_||f("Proxy not available")}function S(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var E=function(){};function C(e){return"function"==typeof e}function O(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function T(e){return null!==e&&"object"==typeof e}function A(e){if(!T(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===x}function M(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function N(e,t,n){g(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function P(e,t,n){g(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function L(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return T(e)&&!0===e[n]}}function R(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function z(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var I=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:I?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function D(e){return null===e?null:"object"==typeof e?""+e:e}function V(e,t){return b.hasOwnProperty.call(e,t)}var F=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach(function(n){t[n]=v(e,n)}),t};function B(e,t){return!!(e&t)}function U(e,t,n){return n?e|=t:e&=~t,e}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function H(e,t,n){return t&&function(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,Y(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function K(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return W(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(null,arguments)}function $(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,q(e,t)}function q(e,t){return(q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var X=Symbol("mobx-stored-annotations");function Q(e){return Object.assign(function(t,n){if(Z(n))return e.decorate_20223_(t,n);J(t,n,e)},e)}function J(e,t,n){V(e,X)||N(e,X,G({},e[X])),function(e){return e.annotationType_===le}(n)||(e[X][t]=n)}function Z(e){return"object"==typeof e&&"string"==typeof e.kind}var ee=Symbol("mobx administration"),te=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=it.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return At(this)},t.reportChanged=function(){Ot(),Mt(this),Tt()},t.toString=function(){return this.name_},H(e,[{key:"isBeingObserved",get:function(){return B(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=U(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return B(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=U(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return B(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();te.isBeingObservedMask_=1,te.isPendingUnobservationMask_=2,te.diffValueMask_=4;var ne=L("Atom",te);function re(e,t,n){void 0===t&&(t=E),void 0===n&&(n=E);var r=new te(e);return t!==E&&tn(Jt,r,t,undefined),n!==E&&en(r,n),r}var ie={structural:function(e,t){return mr(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function oe(e,t,n){return fn(e)?e:Array.isArray(e)?We.array(e,{name:n}):A(e)?We.object(e,void 0,{name:n}):R(e)?We.map(e,{name:n}):z(e)?We.set(e,{name:n}):"function"!=typeof e||$t(e)||dn(e)?e:M(e)?un(e):Kt(n,e)}function ae(e){return e}var le="override";function se(e,t){return{annotationType_:e,options_:t,make_:ue,extend_:ce,decorate_20223_:de}}function ue(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if($t(n.value))return 1;var o=fe(e,this,t,n,!1);return g(r,t,o),2}function ce(e,t,n,r){var i=fe(e,this,t,n);return e.defineProperty_(t,i,r)}function de(e,t){var n,r=t.kind,i=t.name,o=t.addInitializer,a=this,l=function(e){var t,n,r,o;return Je(null!=(t=null==(n=a.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=a.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return $t(n)||(n=l(n)),null!=(t=a.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?($t(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&o(function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t}),e):void f("Cannot apply '"+a.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}function fe(e,t,n,r,i){var o,a,l,s,u,c,d,f;void 0===i&&(i=kt.safeDescriptors),f=r,t.annotationType_,f.value;var p,h=r.value;return null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(p=e.proxy_)?p:e.target_)),{value:Je(null!=(a=null==(l=t.options_)?void 0:l.name)?a:n.toString(),h,null!=(s=null==(u=t.options_)?void 0:u.autoAction)&&s,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function pe(e,t){return{annotationType_:e,options_:t,make_:he,extend_:me,decorate_20223_:ve}}function he(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!V(e.target_,t)||!dn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(dn(n.value))return 1;var o=ge(e,this,t,n,!1,!1);return g(r,t,o),2}function me(e,t,n,r){var i,o=ge(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ve(e,t){var n,r=t.name,i=t.addInitializer;return dn(e)||(e=un(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t}),e}function ge(e,t,n,r,i,o){var a;void 0===o&&(o=kt.safeDescriptors),a=r,t.annotationType_,a.value;var l,s=r.value;return dn(s)||(s=un(s)),i&&((s=s.bind(null!=(l=e.proxy_)?l:e.target_)).isMobXFlow=!0),{value:s,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function be(e,t){return{annotationType_:e,options_:t,make_:ye,extend_:we,decorate_20223_:_e}}function ye(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function we(e,t,n,r){var i;return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,G({},this.options_,{get:n.get,set:n.set}),r)}function _e(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=qn(this)[ee],i=G({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new rt(i))}),function(){return this[ee].getObservablePropValue_(r)}}function xe(e,t){return{annotationType_:e,options_:t,make_:ke,extend_:Se,decorate_20223_:Ee}}function ke(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Se(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:oe,r)}function Ee(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,l=qn(e)[ee],s=new nt(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:oe,"ObservableObject."+i.toString(),!1);l.values_.set(i,s),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[ee].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[ee].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var Ce="true",Oe=Te();function Te(e){return{annotationType_:Ce,options_:e,make_:Ae,extend_:Me,decorate_20223_:Ne}}function Ae(e,t,n,r){var i,o,a,l;if(n.get)return $e.make_(e,t,n,r);if(n.set){var s=$t(n.set)?n.set:Je(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!kt.safeDescriptors||e.isPlainObject_,set:s})?0:2:(g(r,t,{configurable:!0,set:s}),2)}if(r!==e.target_&&"function"==typeof n.value)return M(n.value)?(null!=(l=this.options_)&&l.autoBind?un.bound:un).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?Kt.bound:Kt).make_(e,t,n,r);var u,c=!1===(null==(i=this.options_)?void 0:i.deep)?We.ref:We;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),c.make_(e,t,n,r)}function Me(e,t,n,r){var i,o,a;return n.get?$e.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!kt.safeDescriptors||e.isPlainObject_,set:Je(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?We.ref:We).extend_(e,t,n,r))}function Ne(e,t){f("'"+this.annotationType_+"' cannot be used as a decorator")}var Pe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Le(e){return e||Pe}Object.freeze(Pe);var Re=xe("observable"),ze=xe("observable.ref",{enhancer:ae}),Ie=xe("observable.shallow",{enhancer:function(e,t,n){return null==e||Qn(e)||Rn(e)||Vn(e)||Wn(e)?e:Array.isArray(e)?We.array(e,{name:n,deep:!1}):A(e)?We.object(e,void 0,{name:n,deep:!1}):R(e)?We.map(e,{name:n,deep:!1}):z(e)?We.set(e,{name:n,deep:!1}):void 0}}),je=xe("observable.struct",{enhancer:function(e,t){return mr(e,t)?t:e}}),De=Q(Re);function Ve(e){return!0===e.deep?oe:!1===e.deep?ae:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:oe;var t,n,r}function Fe(e,t,n){return Z(t)?Re.decorate_20223_(e,t):O(t)?void J(e,t,Re):fn(e)?e:A(e)?We.object(e,t,n):Array.isArray(e)?We.array(e,t):R(e)?We.map(e,t):z(e)?We.set(e,t):"object"==typeof e&&null!==e?e:We.box(e,t)}m(Fe,De);var Be,Ue,We=m(Fe,{box:function(e,t){var n=Le(t);return new nt(e,Ve(n),n.name,!0,n.equals)},array:function(e,t){var n=Le(t);return(!1===kt.useProxies||!1===n.proxy?ur:On)(e,Ve(n),n.name)},map:function(e,t){var n=Le(t);return new Dn(e,Ve(n),n.name)},set:function(e,t){var n=Le(t);return new Un(e,Ve(n),n.name)},object:function(e,t,n){return fr(function(){return function(e,t,n){var r=F(t);return fr(function(){var t=qn(e,undefined)[ee];j(r).forEach(function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])})}),e}(!1===kt.useProxies||!1===(null==n?void 0:n.proxy)?qn({},n):function(e,t){var n,r;return k(),null!=(r=(n=(e=qn(e,t))[ee]).proxy_)?r:n.proxy_=new Proxy(e,mn)}({},n),e,t)})},ref:Q(ze),shallow:Q(Ie),deep:De,struct:Q(je)}),He="computed",Ke=be(He),Ge=be("computed.struct",{equals:ie.structural}),$e=function(e,t){if(Z(t))return Ke.decorate_20223_(e,t);if(O(t))return J(e,t,Ke);if(A(e))return Q(be(He,e));var n=A(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new rt(n)};Object.assign($e,Ke),$e.struct=Q(Ge);var qe=0,Ye=1,Xe=null!=(Be=null==(Ue=v(function(){},"name"))?void 0:Ue.configurable)&&Be,Qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Je(e,t,n,r){function i(){return Ze(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},Xe&&(Qe.value=e,g(i,"name",Qe)),i}function Ze(e,t,n,r,i){var o=function(e,t){var n=kt.trackingDerivation,r=!t||!n;Ot();var i=kt.allowStateChanges;r&&(mt(),i=et(!0));var o={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:i,prevAllowStateReads_:gt(!0),notifySpy_:!1,startTime_:0,actionId_:Ye++,parentActionId_:qe};return qe=o.actionId_,o}(0,t);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{!function(e){qe!==e.actionId_&&f(30),qe=e.parentActionId_,void 0!==e.error_&&(kt.suppressReactionErrors=!0),tt(e.prevAllowStateChanges_),bt(e.prevAllowStateReads_),Tt(),e.runAsAction_&&vt(e.prevDerivation_),kt.suppressReactionErrors=!1}(o)}}function et(e){var t=kt.allowStateChanges;return kt.allowStateChanges=e,t}function tt(e){kt.allowStateChanges=e}var nt=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=ie.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}$(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==kt.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(vn(this)){var t=bn(this,{object:this,type:Sn,newValue:e});if(!t)return kt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?kt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),yn(this)&&_n(this,{type:Sn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return gn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Sn,newValue:this.value_,oldValue:void 0}),wn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return D(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(te),rt=function(){function e(e){this.dependenciesState_=it.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=it.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new ut(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=at.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||f(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Je("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ie.structural:ie.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===it.UP_TO_DATE_&&(e.lowestObserverState_=it.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===it.UP_TO_DATE_&&(e.dependenciesState_=it.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&f(32,this.name_,this.derivation),0!==kt.inBatch||0!==this.observers_.size||this.keepAlive_){if(At(this),dt(this)){var e=kt.trackingContext;this.keepAlive_&&!e&&(kt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==it.STALE_&&(e.lowestObserverState_=it.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===it.POSSIBLY_STALE_?t.dependenciesState_=it.STALE_:t.dependenciesState_===it.UP_TO_DATE_&&(e.lowestObserverState_=it.UP_TO_DATE_)}))}(this),kt.trackingContext=e}}else dt(this)&&(this.warnAboutUntrackedRead_(),Ot(),this.value_=this.computeValue_(!1),Tt());var t=this.value_;if(ct(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&f(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else f(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===it.NOT_TRACKING_,n=this.computeValue_(!0),r=t||ct(e)||ct(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=et(!1);if(e)t=ft(this,this.derivation,this.scope_);else if(!0===kt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new ut(e)}return tt(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(pt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return qt(function(){var o=n.get();if(!r||t){var a=mt();e({observableKind:"computed",debugObjectName:n.name_,type:Sn,object:n,newValue:o,oldValue:i}),vt(a)}r=!1,i=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return D(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},H(e,[{key:"isComputing",get:function(){return B(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=U(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return B(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=U(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return B(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=U(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return B(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=U(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return B(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();rt.isComputingMask_=1,rt.isRunningSetterMask_=2,rt.isBeingObservedMask_=4,rt.isPendingUnobservationMask_=8,rt.diffValueMask_=16;var it,ot,at,lt,st=L("ComputedValue",rt);(ot=it||(it={}))[ot.NOT_TRACKING_=-1]="NOT_TRACKING_",ot[ot.UP_TO_DATE_=0]="UP_TO_DATE_",ot[ot.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",ot[ot.STALE_=2]="STALE_",(lt=at||(at={}))[lt.NONE=0]="NONE",lt[lt.LOG=1]="LOG",lt[lt.BREAK=2]="BREAK";var ut=function(e){this.cause=void 0,this.cause=e};function ct(e){return e instanceof ut}function dt(e){switch(e.dependenciesState_){case it.UP_TO_DATE_:return!1;case it.NOT_TRACKING_:case it.STALE_:return!0;case it.POSSIBLY_STALE_:for(var t=gt(!0),n=mt(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(st(a)){if(kt.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return vt(n),bt(t),!0}if(e.dependenciesState_===it.STALE_)return vt(n),bt(t),!0}}return yt(e),vt(n),bt(t),!1}}function ft(e,t,n){var r=gt(!0);yt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++kt.runId;var i,o=kt.trackingDerivation;if(kt.trackingDerivation=e,kt.inBatch++,!0===kt.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(e){i=new ut(e)}return kt.inBatch--,kt.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=it.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var l=n[a];0===l.diffValue&&(l.diffValue=1,i!==a&&(n[i]=l),i++),l.dependenciesState_>r&&(r=l.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var s=t[o];0===s.diffValue&&Et(s,e),s.diffValue=0}for(;i--;){var u=n[i];1===u.diffValue&&(u.diffValue=0,St(u,e))}r!==it.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),bt(r),i}function pt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Et(t[n],e);e.dependenciesState_=it.NOT_TRACKING_}function ht(e){var t=mt();try{return e()}finally{vt(t)}}function mt(){var e=kt.trackingDerivation;return kt.trackingDerivation=null,e}function vt(e){kt.trackingDerivation=e}function gt(e){var t=kt.allowStateReads;return kt.allowStateReads=e,t}function bt(e){kt.allowStateReads=e}function yt(e){if(e.dependenciesState_!==it.UP_TO_DATE_){e.dependenciesState_=it.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=it.UP_TO_DATE_}}var wt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},_t=!0,xt=!1,kt=function(){var e=h();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(_t=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new wt).version&&(_t=!1),_t?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new wt):(setTimeout(function(){xt||f(35)},1),new wt)}();function St(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Et(e,t){e.observers_.delete(t),0===e.observers_.size&&Ct(e)}function Ct(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,kt.pendingUnobservations.push(e))}function Ot(){kt.inBatch++}function Tt(){if(0===--kt.inBatch){Rt();for(var e=kt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof rt&&n.suspend_())}kt.pendingUnobservations=[]}}function At(e){var t=kt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&kt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&kt.inBatch>0&&Ct(e),!1)}function Mt(e){e.lowestObserverState_!==it.STALE_&&(e.lowestObserverState_=it.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===it.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=it.STALE_}))}var Nt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=it.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=at.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,kt.pendingReactions.push(this),Rt())},t.runReaction_=function(){if(!this.isDisposed){Ot(),this.isScheduled=!1;var e=kt.trackingContext;if(kt.trackingContext=this,dt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}kt.trackingContext=e,Tt()}},t.track=function(e){if(!this.isDisposed){Ot(),this.isRunning=!0;var t=kt.trackingContext;kt.trackingContext=this;var n=ft(this,e,void 0);kt.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&pt(this),ct(n)&&this.reportExceptionInDerivation_(n.cause),Tt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(kt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";kt.suppressReactionErrors||console.error(n,e),kt.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(Ot(),pt(this),Tt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[ee]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){},H(e,[{key:"isDisposed",get:function(){return B(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=U(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return B(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=U(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return B(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=U(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return B(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=U(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return B(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();Nt.isDisposedMask_=1,Nt.isScheduledMask_=2,Nt.isTrackPendingMask_=4,Nt.isRunningMask_=8,Nt.diffValueMask_=16;var Pt=100,Lt=function(e){return e()};function Rt(){kt.inBatch>0||kt.isRunningReactions||Lt(zt)}function zt(){kt.isRunningReactions=!0;for(var e=kt.pendingReactions,t=0;e.length>0;){++t===Pt&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}kt.isRunningReactions=!1}var It=L("Reaction",Nt),jt="action",Dt="autoAction",Vt=se(jt),Ft=se("action.bound",{bound:!0}),Bt=se(Dt,{autoAction:!0}),Ut=se("autoAction.bound",{autoAction:!0,bound:!0});function Wt(e){return function(t,n){return C(t)?Je(t.name||"<unnamed action>",t,e):C(n)?Je(t,n,e):Z(n)?(e?Bt:Vt).decorate_20223_(t,n):O(n)?J(t,n,e?Bt:Vt):O(t)?Q(se(e?Dt:jt,{name:t,autoAction:e})):void 0}}var Ht=Wt(!1);Object.assign(Ht,Vt);var Kt=Wt(!0);function Gt(e){return Ze(e.name,!1,e,this,void 0)}function $t(e){return C(e)&&!0===e.isMobxAction}function qt(e,t){var n,r,i,o;void 0===t&&(t=w);var a,l=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var s=Xt(t),u=!1;a=new Nt(l,function(){u||(u=!0,s(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}else a=new Nt(l,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}Object.assign(Kt,Bt),Ht.bound=Q(Ft),Kt.bound=Q(Ut);var Yt=function(e){return e()};function Xt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Yt}function Qt(e,t,n){var r,i,o;void 0===n&&(n=w);var a,l,s,u=null!=(r=n.name)?r:"Reaction",c=Ht(u,n.onError?(a=n.onError,l=t,function(){try{return l.apply(this,arguments)}catch(e){a.call(this,e)}}):t),d=!n.scheduler&&!n.delay,f=Xt(n),p=!0,h=!1,m=n.compareStructural?ie.structural:n.equals||ie.default,v=new Nt(u,function(){p||d?g():h||(h=!0,f(g))},n.onError,n.requiresObservable);function g(){if(h=!1,!v.isDisposed){var t=!1,r=s;v.track(function(){var n=function(e,t){var n=et(!1);try{return t()}finally{tt(n)}}(0,function(){return e(v)});t=p||!m(s,n),s=n}),(p&&n.fireImmediately||!p&&t)&&c(s,r,v),p=!1}}return null!=(i=n)&&null!=(i=i.signal)&&i.aborted||v.schedule_(),v.getDisposer_(null==(o=n)?void 0:o.signal)}var Jt="onBO",Zt="onBUO";function en(e,t,n){return tn(Zt,e,t,n)}function tn(e,t,n,r){var i=cr(t),o=C(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var nn="always";function rn(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(rn)),n}var on=0;function an(){this.message="FLOW_CANCELLED"}an.prototype=Object.create(Error.prototype);var ln=pe("flow"),sn=pe("flow.bound",{bound:!0}),un=Object.assign(function(e,t){if(Z(t))return ln.decorate_20223_(e,t);if(O(t))return J(e,t,ln);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++on,o=Ht(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,l=new Promise(function(t,n){var l=0;function s(e){var t;a=void 0;try{t=Ht(r+" - runid: "+i+" - yield "+l++,o.next).call(o,e)}catch(e){return n(e)}c(t)}function u(e){var t;a=void 0;try{t=Ht(r+" - runid: "+i+" - yield "+l++,o.throw).call(o,e)}catch(e){return n(e)}c(t)}function c(e){if(!C(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(s,u);e.then(c,n)}e=n,s(void 0)});return l.cancel=Ht(r+" - runid: "+i+" - cancel",function(){try{a&&cn(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(E,E),cn(n),e(new an)}catch(t){e(t)}}),l};return i.isMobXFlow=!0,i},ln);function cn(e){C(e.cancel)&&e.cancel()}function dn(e){return!0===(null==e?void 0:e.isMobXFlow)}function fn(e){return function(e){return!!e&&(Qn(e)||!!e[ee]||ne(e)||It(e)||st(e))}(e)}function pn(e,t){void 0===t&&(t=void 0),Ot();try{return e.apply(t)}finally{Tt()}}function hn(e){return e[ee]}un.bound=Q(sn);var mn={has:function(e,t){return hn(e).has_(t)},get:function(e,t){return hn(e).get_(t)},set:function(e,t,n){var r;return!!O(t)&&(null==(r=hn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!O(t)&&(null==(n=hn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=hn(e).defineProperty_(t,n))||r},ownKeys:function(e){return hn(e).ownKeys_()},preventExtensions:function(e){f(13)}};function vn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function gn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),S(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function bn(e,t){var n=mt();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i<o&&((t=r[i](t))&&!t.type&&f(14),t);i++);return t}finally{vt(n)}}function yn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function wn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),S(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function _n(e,t){var n=mt(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);vt(n)}}function xn(e,t,n){return fr(function(){var r=qn(e,n)[ee];null!=t||(t=function(e){return V(e,X)||N(e,X,G({},e[X])),e[X]}(e)),j(t).forEach(function(e){return r.make_(e,t[e])})}),e}var kn="splice",Sn="update",En={get:function(e,t){var n=e[ee];return t===ee?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?V(Tn,t)?Tn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[ee];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){f(15)}},Cn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new te(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return gn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),wn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&f("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&f(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&sr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=y),vn(this)){var o=bn(this,{object:this.proxy_,type:kn,index:e,removedCount:t,added:n});if(!o)return y;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var l=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,l),this.dehanceValues_(l)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var l=0;l<o.length;l++)this.values_[e+n.length+l]=o[l];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=yn(this),o=i||r?{observableKind:"array",object:this.proxy_,type:Sn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&_n(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=yn(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:kn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&_n(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&f(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(vn(this)){var i=bn(this,{type:Sn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var o=new Array(e+1-n.length),a=0;a<o.length-1;a++)o[a]=void 0;o[o.length-1]=t,this.spliceWithArray_(n.length,0,o)}},e}();function On(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),k(),fr(function(){var i=new Cn(n,t,r,!1);P(i.values_,ee,i);var o=new Proxy(i.values_,En);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})}var Tn={clear:function(){return this.splice(0)},replace:function(e){var t=this[ee];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[ee];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[ee].spliceWithArray_(e,t,n)},push:function(){for(var e=this[ee],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[ee].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[ee],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return kt.trackingDerivation&&f(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){kt.trackingDerivation&&f(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[ee],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function An(e,t){"function"==typeof Array.prototype[e]&&(Tn[e]=t(e))}function Mn(e){return function(){var t=this[ee];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Nn(e){return function(t,n){var r=this,i=this[ee];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function Pn(e){return function(){var t=this,n=this[ee];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}An("at",Mn),An("concat",Mn),An("flat",Mn),An("includes",Mn),An("indexOf",Mn),An("join",Mn),An("lastIndexOf",Mn),An("slice",Mn),An("toString",Mn),An("toLocaleString",Mn),An("toSorted",Mn),An("toSpliced",Mn),An("with",Mn),An("every",Nn),An("filter",Nn),An("find",Nn),An("findIndex",Nn),An("findLast",Nn),An("findLastIndex",Nn),An("flatMap",Nn),An("forEach",Nn),An("map",Nn),An("some",Nn),An("toReversed",Nn),An("reduce",Pn),An("reduceRight",Pn);var Ln=L("ObservableArrayAdministration",Cn);function Rn(e){return T(e)&&Ln(e[ee])}var zn={},In="add",jn="delete",Dn=function(){function e(e,t,n){var r=this;void 0===t&&(t=oe),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[ee]=zn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,C(Map)||f(18),fr(function(){r.keysAtom_=re("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!kt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new nt(this.has_(e),ae,"ObservableMap.key?",!1);this.hasMap_.set(e,r),en(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(vn(this)){var r=bn(this,{type:n?Sn:In,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,vn(this)&&!bn(this,{type:jn,object:this,name:e}))return!1;if(this.has_(e)){var n=yn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:jn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return pn(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&_n(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==kt.UNCHANGED){var r=yn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Sn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&_n(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,pn(function(){var r,i=new nt(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=yn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:In,object:this,name:e,newValue:t}:null;r&&_n(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Fn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Fn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=K(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return Vn(e)&&(e=new Map(e)),pn(function(){var n,r,i;A(e)?function(e){var t=Object.keys(e);if(!I)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return b.propertyIsEnumerable.call(e,t)})):t}(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):R(e)?(n=e,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&f(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&f(20,e)}),this},t.clear=function(){var e=this;pn(function(){ht(function(){for(var t,n=K(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return pn(function(){for(var n,r=function(e){if(R(e)||Vn(e))return e;if(Array.isArray(e))return new Map(e);if(A(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return f(21,e)}(e),i=new Map,o=!1,a=K(t.data_.keys());!(n=a()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))o=!0;else{var s=t.data_.get(l);i.set(l,s)}}for(var u,c=K(r.entries());!(u=c()).done;){var d=u.value,p=d[0],h=d[1],m=t.data_.has(p);if(t.set(p,h),t.data_.has(p)){var v=t.data_.get(p);i.set(p,v),m||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),w=b.next();!y.done;){if(y.value!==w.value){t.keysAtom_.reportChanged();break}y=g.next(),w=b.next()}t.data_=i}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},H(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Vn=L("ObservableMap",Dn);function Fn(e){return e[Symbol.toStringTag]="MapIterator",yr(e)}var Bn={},Un=function(){function e(e,t,n){var r=this;void 0===t&&(t=oe),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[ee]=Bn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,C(Set)||f(22),this.enhancer_=function(e,r){return t(e,r,n)},fr(function(){r.atom_=re(r.name_),e&&r.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;pn(function(){ht(function(){for(var t,n=K(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=K(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,vn(this)){var n=bn(this,{type:In,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){pn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=yn(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:In,object:this,newValue:e}:null;r&&_n(this,i)}return this},t.delete=function(e){var t=this;if(vn(this)&&!bn(this,{type:jn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=yn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:jn,object:this,oldValue:e}:null;return pn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&_n(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return Hn({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return Hn({next:function(){var n=t.next(),r=n.value,i=n.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(r),done:i}}})},t.intersection=function(e){return z(e)&&!Wn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return z(e)&&!Wn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return z(e)&&!Wn(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return z(e)&&!Wn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Wn(e)&&(e=new Set(e)),pn(function(){Array.isArray(e)||z(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&f("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},H(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Wn=L("ObservableSet",Un);function Hn(e){return e[Symbol.toStringTag]="SetIterator",yr(e)}var Kn=Object.create(null),Gn="remove",$n=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=Oe),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new te("ObservableObject.keys"),this.isPlainObject_=A(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof rt)return n.set(t),!0;if(vn(this)){var r=bn(this,{type:Sn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==kt.UNCHANGED){var i=yn(this),o=i?{type:Sn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&_n(this,o)}return!0},t.get_=function(e){return kt.trackingDerivation&&!V(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),V(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!kt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new nt(e in this.target_,ae,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[X])&&n[e])return;f(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==b;){var i=v(r,e);if(i){var o=t.make_(this,e,i,r);if(0===o)return;if(1===o)break}r=Object.getPrototypeOf(r)}Jn(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var i=n.extend_(this,e,t,r);return i&&Jn(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ot();var r=this.delete_(e);if(!r)return r;if(vn(this)){var i=bn(this,{object:this.proxy_||this.target_,name:e,type:In,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=G({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else g(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Tt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{Ot();var i=this.delete_(e);if(!i)return i;if(vn(this)){var o=bn(this,{object:this.proxy_||this.target_,name:e,type:In,newValue:t});if(!o)return null;t=o.newValue}var a=Xn(e),l={configurable:!kt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,l))return!1}else g(this.target_,e,l);var s=new nt(t,n,"ObservableObject.key",!1);this.values_.set(e,s),this.notifyPropertyAddition_(e,s.value_)}finally{Tt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ot();var r=this.delete_(e);if(!r)return r;if(vn(this)&&!bn(this,{object:this.proxy_||this.target_,name:e,type:In,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=Xn(e),o={configurable:!kt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else g(this.target_,e,o);this.values_.set(e,new rt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Tt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!V(this.target_,e))return!0;if(vn(this)&&!bn(this,{object:this.proxy_||this.target_,name:e,type:Gn}))return null;try{var n;Ot();var r,i=yn(this),o=this.values_.get(e),a=void 0;if(!o&&i&&(a=null==(r=v(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof nt&&(a=o.value_),Mt(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i){var l={type:Gn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&_n(this,l)}}finally{Tt()}return!0},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=yn(this);if(r){var i=r?{type:In,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&_n(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function qn(e,t){var n;if(V(e,ee))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new $n(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Te(e):void 0}(t));return N(e,ee,i),e}var Yn=L("ObservableObjectAdministration",$n);function Xn(e){return Kn[e]||(Kn[e]={get:function(){return this[ee].getObservablePropValue_(e)},set:function(t){return this[ee].setObservablePropValue_(e,t)}})}function Qn(e){return!!T(e)&&Yn(e[ee])}function Jn(e,t,n){var r;null==(r=e.target_[X])||delete r[n]}var Zn,er,tr=ar(0),nr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),rr=0,ir=function(){};Zn=ir,er=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Zn.prototype,er):void 0!==Zn.prototype.__proto__?Zn.prototype.__proto__=er:Zn.prototype=er;var or=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,fr(function(){var e=new Cn(r,n,i,!0);e.proxy_=o,P(o,ee,e),t&&t.length&&o.spliceWithArray(0,0,t),nr&&Object.defineProperty(o,"0",tr)}),o}$(t,e);var n=t.prototype;return n.concat=function(){this[ee].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return Rn(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return yr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},H(t,[{key:"length",get:function(){return this[ee].getArrayLength_()},set:function(e){this[ee].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(ir);function ar(e){return{enumerable:!1,configurable:!0,get:function(){return this[ee].get_(e)},set:function(t){this[ee].set_(e,t)}}}function lr(e){g(or.prototype,""+e,ar(e))}function sr(e){if(e>rr){for(var t=rr;t<e+100;t++)lr(t);rr=e}}function ur(e,t,n){return new or(e,t,n)}function cr(e,t){if("object"==typeof e&&null!==e){if(Rn(e))return void 0!==t&&f(23),e[ee].atom_;if(Wn(e))return e.atom_;if(Vn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||f(25,t,dr(e)),n}if(Qn(e)){if(!t)return f(26);var r=e[ee].values_.get(t);return r||f(27,t,dr(e)),r}if(ne(e)||st(e)||It(e))return e}else if(C(e)&&It(e[ee]))return e[ee];f(28)}function dr(e,t){var n;if(void 0!==t)n=cr(e,t);else{if($t(e))return e.name;n=Qn(e)||Vn(e)||Wn(e)?function(e){return e||f(29),ne(e)||st(e)||It(e)||Vn(e)||Wn(e)?e:e[ee]?e[ee]:void f(24,e)}(e):cr(e)}return n.name_}function fr(e){var t=mt(),n=et(!0);Ot();try{return e()}finally{Tt(),tt(n),vt(t)}}Object.entries(Tn).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&N(or.prototype,t,n)}),sr(1e3);var pr,hr=b.toString;function mr(e,t,n){return void 0===n&&(n=-1),vr(e,t,n)}function vr(e,t,n,r,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=hr.call(e);if(a!==hr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0===+e?1/+e==1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=gr(e),t=gr(t);var l="[object Array]"===a;if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,u=t.constructor;if(s!==u&&!(C(s)&&s instanceof s&&C(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),l){if((c=e.length)!==t.length)return!1;for(;c--;)if(!vr(e[c],t[c],n-1,r,i))return!1}else{var d=Object.keys(e),f=d.length;if(Object.keys(t).length!==f)return!1;for(var p=0;p<f;p++){var h=d[p];if(!V(t,h)||!vr(e[h],t[h],n-1,r,i))return!1}}return r.pop(),i.pop(),!0}function gr(e){return Rn(e)?e.slice():R(e)||Vn(e)||z(e)||Wn(e)?Array.from(e.entries()):e}var br=(null==(pr=h().Iterator)?void 0:pr.prototype)||{};function yr(e){return e[Symbol.iterator]=wr,Object.assign(Object.create(br),e)}function wr(){return this}if(["Symbol","Map","Set"].forEach(function(e){void 0===h()[e]&&f("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:dr},$mobx:ee}),!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!xn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var _r,xr,kr,Sr,Er={exports:{}},Cr={},Or={exports:{}},Tr={};function Ar(){return xr||(xr=1,Or.exports=(_r||(_r=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var i=n(u);null!==i;){if(null===i.callback)r(u);else{if(!(i.startTime<=e))break;r(u),i.sortIndex=i.expirationTime,t(s,i)}i=n(u)}}function w(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,P(_);else{var t=n(u);null!==t&&L(w,t.startTime-e)}}function _(t,i){h=!1,m&&(m=!1,g(E),E=-1),p=!0;var o=f;try{for(y(i),d=n(s);null!==d&&(!(d.expirationTime>i)||t&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var l=a(d.expirationTime<=i);i=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(i)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&L(w,v.startTime-i),c=!1}return c}finally{d=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,k=!1,S=null,E=-1,C=5,O=-1;function T(){return!(e.unstable_now()-O<C)}function A(){if(null!==S){var t=e.unstable_now();O=t;var n=!0;try{n=S(!0,t)}finally{n?x():(k=!1,S=null)}}else k=!1}if("function"==typeof b)x=function(){b(A)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,N=M.port2;M.port1.onmessage=A,x=function(){N.postMessage(null)}}else x=function(){v(A,0)};function P(e){S=e,k||(k=!0,x())}function L(t,n){E=v(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,P(_))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:i,priorityLevel:r,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>a?(r.sortIndex=o,t(u,r),null===n(s)&&r===n(u)&&(m?(g(E),E=-1):m=!0,L(w,o-a))):(r.sortIndex=l,t(s,r),h||p||(h=!0,P(_))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(Tr)),Tr)),Or.exports}function Mr(){if(kr)return Cr;kr=1;var e=i(),t=Ar();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,o={};function a(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,c=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},f={};function p(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){h[e]=new p(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];h[t]=new p(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){h[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){h[e]=new p(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){h[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){h[e]=new p(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){h[e]=new p(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){h[e]=new p(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){h[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function g(e,t,n,r){var i=h.hasOwnProperty(t)?h[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!u.call(f,e)||!u.call(d,e)&&(c.test(e)?f[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(m,v);h[t]=new p(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(m,v);h[t]=new p(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(m,v);h[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){h[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)}),h.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){h[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)});var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),w=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),E=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),P=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var R,z=Object.assign;function I(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var j=!1;function D(e,t){if(!e||j)return"";j=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(1!==a||1!==l)do{if(a--,0>--l||i[a]!==o[l]){var s="\n"+i[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?I(e):""}function V(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return D(e.type,!1);case 11:return D(e.type.render,!1);case 1:return D(e.type,!0);default:return""}}function F(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case w:return"Portal";case k:return"Profiler";case x:return"StrictMode";case O:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return F(e(t))}catch(e){}}return null}function B(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return F(t);case 8:return t===x?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function H(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function $(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?J(e,t.type,n):t.hasOwnProperty("defaultValue")&&J(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function J(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Z=Array.isArray;function ee(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function te(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ne(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(Z(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:U(r)}}function re(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ae(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,se,ue=(se=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return se(e,t)})}:se);function ce(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function pe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||de.hasOwnProperty(e)&&de[e]?(""+t).trim():t+"px"}function he(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=pe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(de).forEach(function(e){fe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),de[t]=de[e]})});var me=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ge(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var be=null;function ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,_e=null,xe=null;function ke(e){if(e=wi(e)){if("function"!=typeof we)throw Error(n(280));var t=e.stateNode;t&&(t=xi(t),we(e.stateNode,e.type,t))}}function Se(e){_e?xe?xe.push(e):xe=[e]:_e=e}function Ee(){if(_e){var e=_e,t=xe;if(xe=_e=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Ce(e,t){return e(t)}function Oe(){}var Te=!1;function Ae(e,t,n){if(Te)return e(t,n);Te=!0;try{return Ce(e,t,n)}finally{Te=!1,(null!==_e||null!==xe)&&(Oe(),Ee())}}function Me(e,t){var r=e.stateNode;if(null===r)return null;var i=xi(r);if(null===i)return null;r=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Ne=!1;if(s)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(se){Ne=!1}function Le(e,t,n,r,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Re=!1,ze=null,Ie=!1,je=null,De={onError:function(e){Re=!0,ze=e}};function Ve(e,t,n,r,i,o,a,l,s){Re=!1,ze=null,Le.apply(De,arguments)}function Fe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Be(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ue(e){if(Fe(e)!==e)throw Error(n(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,i=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(i=o.return)){r=i;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Ue(o),e;if(a===i)return Ue(o),t;a=a.sibling}throw Error(n(188))}if(r.return!==i.return)r=o,i=a;else{for(var l=!1,s=o.child;s;){if(s===r){l=!0,r=o,i=a;break}if(s===i){l=!0,i=o,r=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===r){l=!0,r=a,i=o;break}if(s===i){l=!0,i=a,r=o;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==i)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e))?He(e):null}function He(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=He(e);if(null!==t)return t;e=e.sibling}return null}var Ke=t.unstable_scheduleCallback,Ge=t.unstable_cancelCallback,$e=t.unstable_shouldYield,qe=t.unstable_requestPaint,Ye=t.unstable_now,Xe=t.unstable_getCurrentPriorityLevel,Qe=t.unstable_ImmediatePriority,Je=t.unstable_UserBlockingPriority,Ze=t.unstable_NormalPriority,et=t.unstable_LowPriority,tt=t.unstable_IdlePriority,nt=null,rt=null,it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(ot(e)/at|0)|0},ot=Math.log,at=Math.LN2,lt=64,st=4194304;function ut(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ct(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~i;0!==l?r=ut(l):0!==(o&=a)&&(r=ut(o))}else 0!==(a=n&~i)?r=ut(a):0!==o&&(r=ut(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-it(t)),r|=e[n],t&=~i;return r}function dt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function pt(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function ht(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var gt=0;function bt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var yt,wt,_t,xt,kt,St=!1,Et=[],Ct=null,Ot=null,Tt=null,At=new Map,Mt=new Map,Nt=[],Pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Rt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=wi(t))&&wt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function zt(e){var t=yi(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void kt(e.priority,function(){_t(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function It(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=$t(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wi(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function jt(e,t,n){It(e)&&n.delete(t)}function Dt(){St=!1,null!==Ct&&It(Ct)&&(Ct=null),null!==Ot&&It(Ot)&&(Ot=null),null!==Tt&&It(Tt)&&(Tt=null),At.forEach(jt),Mt.forEach(jt)}function Vt(e,n){e.blockedOn===n&&(e.blockedOn=null,St||(St=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Dt)))}function Ft(e){function t(t){return Vt(t,e)}if(0<Et.length){Vt(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ct&&Vt(Ct,e),null!==Ot&&Vt(Ot,e),null!==Tt&&Vt(Tt,e),At.forEach(t),Mt.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)zt(n),null===n.blockedOn&&Nt.shift()}var Bt=b.ReactCurrentBatchConfig,Ut=!0;function Wt(e,t,n,r){var i=gt,o=Bt.transition;Bt.transition=null;try{gt=1,Kt(e,t,n,r)}finally{gt=i,Bt.transition=o}}function Ht(e,t,n,r){var i=gt,o=Bt.transition;Bt.transition=null;try{gt=4,Kt(e,t,n,r)}finally{gt=i,Bt.transition=o}}function Kt(e,t,n,r){if(Ut){var i=$t(e,t,n,r);if(null===i)Kr(e,t,r,Gt,n),Lt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ct=Rt(Ct,e,t,n,r,i),!0;case"dragenter":return Ot=Rt(Ot,e,t,n,r,i),!0;case"mouseover":return Tt=Rt(Tt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return At.set(o,Rt(At.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Mt.set(o,Rt(Mt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==i;){var o=wi(i);if(null!==o&&yt(o),null===(o=$t(e,t,n,r))&&Kr(e,t,r,Gt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Kr(e,t,r,null,n)}}var Gt=null;function $t(e,t,n,r){if(Gt=null,null!==(e=yi(e=ye(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Qe:return 1;case Je:return 4;case Ze:case et:return 16;case tt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Qt=null;function Jt(){if(Qt)return Qt;var e,t,n=Xt,r=n.length,i="value"in Yt?Yt.value:Yt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Qt=i.slice(e,1<t?1-t:void 0)}function Zt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function en(){return!0}function tn(){return!1}function nn(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?en:tn,this.isPropagationStopped=tn,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=en)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=en)},persist:function(){},isPersistent:en}),t}var rn,on,an,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sn=nn(ln),un=z({},ln,{view:0,detail:0}),cn=nn(un),dn=z({},un,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==an&&(an&&"mousemove"===e.type?(rn=e.screenX-an.screenX,on=e.screenY-an.screenY):on=rn=0,an=e),rn)},movementY:function(e){return"movementY"in e?e.movementY:on}}),fn=nn(dn),pn=nn(z({},dn,{dataTransfer:0})),hn=nn(z({},un,{relatedTarget:0})),mn=nn(z({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=z({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gn=nn(vn),bn=nn(z({},ln,{data:0})),yn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function kn(){return xn}var Sn=z({},un,{key:function(e){if(e.key){var t=yn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Zt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?Zt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Zt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),En=nn(Sn),Cn=nn(z({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=nn(z({},un,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),Tn=nn(z({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=z({},dn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=nn(An),Nn=[9,13,27,32],Pn=s&&"CompositionEvent"in window,Ln=null;s&&"documentMode"in document&&(Ln=document.documentMode);var Rn=s&&"TextEvent"in window&&!Ln,zn=s&&(!Pn||Ln&&8<Ln&&11>=Ln),In=String.fromCharCode(32),jn=!1;function Dn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1,Bn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function Wn(e,t,n,r){Se(r),0<(t=$r(t,"onChange")).length&&(n=new sn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hn=null,Kn=null;function Gn(e){Vr(e,0)}function $n(e){if(K(_i(e)))return e}function qn(e,t){if("change"===e)return t}var Yn=!1;if(s){var Xn;if(s){var Qn="oninput"in document;if(!Qn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Qn="function"==typeof Jn.oninput}Xn=Qn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function Zn(){Hn&&(Hn.detachEvent("onpropertychange",er),Kn=Hn=null)}function er(e){if("value"===e.propertyName&&$n(Kn)){var t=[];Wn(t,Kn,e,ye(e)),Ae(Gn,t)}}function tr(e,t,n){"focusin"===e?(Zn(),Kn=n,(Hn=t).attachEvent("onpropertychange",er)):"focusout"===e&&Zn()}function nr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $n(Kn)}function rr(e,t){if("click"===e)return $n(t)}function ir(e,t){if("input"===e||"change"===e)return $n(t)}var or="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ar(e,t){if(or(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!u.call(t,i)||!or(e[i],t[i]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function ur(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ur(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function cr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=cr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ur(n.ownerDocument.documentElement,n)){if(null!==r&&dr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=sr(n,o);var a=sr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var pr=s&&"documentMode"in document&&11>=document.documentMode,hr=null,mr=null,vr=null,gr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;gr||null==hr||hr!==G(r)||(r="selectionStart"in(r=hr)&&dr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ar(vr,r)||(vr=r,0<(r=$r(mr,"onSelect")).length&&(t=new sn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}function yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:yr("Animation","AnimationEnd"),animationiteration:yr("Animation","AnimationIteration"),animationstart:yr("Animation","AnimationStart"),transitionend:yr("Transition","TransitionEnd")},_r={},xr={};function Sr(e){if(_r[e])return _r[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in xr)return _r[e]=n[t];return e}s&&(xr=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Er=Sr("animationend"),Or=Sr("animationiteration"),Tr=Sr("animationstart"),Mr=Sr("transitionend"),Nr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){Nr.set(e,t),a(t,[e])}for(var Rr=0;Rr<Pr.length;Rr++){var zr=Pr[Rr];Lr(zr.toLowerCase(),"on"+(zr[0].toUpperCase()+zr.slice(1)))}Lr(Er,"onAnimationEnd"),Lr(Or,"onAnimationIteration"),Lr(Tr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(Mr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Dr(e,t,r){var i=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,i,o,a,l,s,u){if(Ve.apply(this,arguments),Re){if(!Re)throw Error(n(198));var c=ze;Re=!1,ze=null,Ie||(Ie=!0,je=c)}}(i,t,void 0,e),e.currentTarget=null}function Vr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;Dr(i,l,u),o=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;Dr(i,l,u),o=s}}}if(Ie)throw e=je,Ie=!1,je=null,e}function Fr(e,t){var n=t[vi];void 0===n&&(n=t[vi]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Ur]){e[Ur]=!0,r.forEach(function(t){"selectionchange"!==t&&(jr.has(t)||Br(t,!1,e),Br(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(qt(t)){case 1:var i=Wt;break;case 4:i=Ht;break;default:i=Kt}n=i.bind(null,t,n,e),i=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Kr(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===i||8===l.nodeType&&l.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===i||8===s.nodeType&&s.parentNode===i))return;a=a.return}for(;null!==l;){if(null===(a=yi(l)))return;if(5===(s=a.tag)||6===s){r=o=a;continue e}l=l.parentNode}}r=r.return}Ae(function(){var r=o,i=ye(n),a=[];e:{var l=Nr.get(e);if(void 0!==l){var s=sn,u=e;switch(e){case"keypress":if(0===Zt(n))break e;case"keydown":case"keyup":s=En;break;case"focusin":u="focus",s=hn;break;case"focusout":u="blur",s=hn;break;case"beforeblur":case"afterblur":s=hn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=On;break;case Er:case Or:case Tr:s=mn;break;case Mr:s=Tn;break;case"scroll":s=cn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=gn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Cn}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Me(h,f))&&c.push(Gr(h,m,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,i),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===be||!(u=n.relatedTarget||n.fromElement)||!yi(u)&&!u[mi])&&(s||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yi(u):null)&&(u!==(d=Fe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=fn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Cn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:_i(s),p=null==u?l:_i(u),(l=new c(m,h+"leave",s,n,i)).target=d,l.relatedTarget=p,m=null,yi(i)===r&&((c=new c(f,h+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=qr(p))h++;for(p=0,m=f;m;m=qr(m))p++;for(;0<h-p;)c=qr(c),h--;for(;0<p-h;)f=qr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=qr(c),f=qr(f)}c=null}else c=null;null!==s&&Yr(a,l,s,c,!1),null!==u&&null!==d&&Yr(a,d,u,c,!0)}if("select"===(s=(l=r?_i(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=qn;else if(Un(l))if(Yn)v=ir;else{v=nr;var g=tr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=rr);switch(v&&(v=v(e,r))?Wn(a,v,n,i):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&J(l,"number",l.value)),g=r?_i(r):window,e){case"focusin":(Un(g)||"true"===g.contentEditable)&&(hr=g,mr=r,vr=null);break;case"focusout":vr=mr=hr=null;break;case"mousedown":gr=!0;break;case"contextmenu":case"mouseup":case"dragend":gr=!1,br(a,n,i);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":br(a,n,i)}var b;if(Pn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Fn?Dn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(zn&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Fn&&(b=Jt()):(Xt="value"in(Yt=i)?Yt.value:Yt.textContent,Fn=!0)),0<(g=$r(r,y)).length&&(y=new bn(y,e,null,n,i),a.push({event:y,listeners:g}),(b||null!==(b=Vn(n)))&&(y.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(jn=!0,In);case"textInput":return(e=t.data)===In&&jn?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!Pn&&Dn(e,t)?(e=Jt(),Qt=Xt=Yt=null,Fn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=$r(r,"onBeforeInput")).length&&(i=new bn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=b)}Vr(a,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Me(e,n))&&r.unshift(Gr(e,o,i)),null!=(o=Me(e,t))&&r.push(Gr(e,o,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,i?null!=(s=Me(n,o))&&a.unshift(Gr(n,s,l)):i||null!=(s=Me(n,o))&&a.push(Gr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Jr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Qr,"")}function Zr(e,t,r){if(t=Jr(t),Jr(e)!==t&&r)throw Error(n(425))}function ei(){}var ti=null,ni=null;function ri(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ii="function"==typeof setTimeout?setTimeout:void 0,oi="function"==typeof clearTimeout?clearTimeout:void 0,ai="function"==typeof Promise?Promise:void 0,li="function"==typeof queueMicrotask?queueMicrotask:void 0!==ai?function(e){return ai.resolve(null).then(e).catch(si)}:ii;function si(e){setTimeout(function(){throw e})}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ft(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function di(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),pi="__reactFiber$"+fi,hi="__reactProps$"+fi,mi="__reactContainer$"+fi,vi="__reactEvents$"+fi,gi="__reactListeners$"+fi,bi="__reactHandles$"+fi;function yi(e){var t=e[pi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mi]||n[pi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=di(e);null!==e;){if(n=e[pi])return n;e=di(e)}return t}n=(e=n).parentNode}return null}function wi(e){return!(e=e[pi]||e[mi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _i(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function xi(e){return e[hi]||null}var ki=[],Si=-1;function Ei(e){return{current:e}}function Ci(e){0>Si||(e.current=ki[Si],ki[Si]=null,Si--)}function Oi(e,t){Si++,ki[Si]=e.current,e.current=t}var Ti={},Ai=Ei(Ti),Mi=Ei(!1),Ni=Ti;function Pi(e,t){var n=e.type.contextTypes;if(!n)return Ti;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Li(e){return null!=e.childContextTypes}function Ri(){Ci(Mi),Ci(Ai)}function zi(e,t,r){if(Ai.current!==Ti)throw Error(n(168));Oi(Ai,t),Oi(Mi,r)}function Ii(e,t,r){var i=e.stateNode;if(t=t.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var o in i=i.getChildContext())if(!(o in t))throw Error(n(108,B(e)||"Unknown",o));return z({},r,i)}function ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ti,Ni=Ai.current,Oi(Ai,e),Oi(Mi,Mi.current),!0}function Di(e,t,r){var i=e.stateNode;if(!i)throw Error(n(169));r?(e=Ii(e,t,Ni),i.__reactInternalMemoizedMergedChildContext=e,Ci(Mi),Ci(Ai),Oi(Ai,e)):Ci(Mi),Oi(Mi,r)}var Vi=null,Fi=!1,Bi=!1;function Ui(e){null===Vi?Vi=[e]:Vi.push(e)}function Wi(){if(!Bi&&null!==Vi){Bi=!0;var e=0,t=gt;try{var n=Vi;for(gt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Vi=null,Fi=!1}catch(t){throw null!==Vi&&(Vi=Vi.slice(e+1)),Ke(Qe,Wi),t}finally{gt=t,Bi=!1}}return null}var Hi=[],Ki=0,Gi=null,$i=0,qi=[],Yi=0,Xi=null,Qi=1,Ji="";function Zi(e,t){Hi[Ki++]=$i,Hi[Ki++]=Gi,Gi=e,$i=t}function eo(e,t,n){qi[Yi++]=Qi,qi[Yi++]=Ji,qi[Yi++]=Xi,Xi=e;var r=Qi;e=Ji;var i=32-it(r)-1;r&=~(1<<i),n+=1;var o=32-it(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Qi=1<<32-it(t)+i|n<<i|r,Ji=o+e}else Qi=1<<o|n<<i|r,Ji=e}function to(e){null!==e.return&&(Zi(e,1),eo(e,1,0))}function no(e){for(;e===Gi;)Gi=Hi[--Ki],Hi[Ki]=null,$i=Hi[--Ki],Hi[Ki]=null;for(;e===Xi;)Xi=qi[--Yi],qi[Yi]=null,Ji=qi[--Yi],qi[Yi]=null,Qi=qi[--Yi],qi[Yi]=null}var ro=null,io=null,oo=!1,ao=null;function lo(e,t){var n=Pu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ro=e,io=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ro=e,io=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xi?{id:Qi,overflow:Ji}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ro=e,io=null,!0);default:return!1}}function uo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(oo){var t=io;if(t){var r=t;if(!so(e,t)){if(uo(e))throw Error(n(418));t=ci(r.nextSibling);var i=ro;t&&so(e,t)?lo(i,r):(e.flags=-4097&e.flags|2,oo=!1,ro=e)}}else{if(uo(e))throw Error(n(418));e.flags=-4097&e.flags|2,oo=!1,ro=e}}}function fo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ro=e}function po(e){if(e!==ro)return!1;if(!oo)return fo(e),oo=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ri(e.type,e.memoizedProps)),t&&(t=io)){if(uo(e))throw ho(),Error(n(418));for(;t;)lo(e,t),t=ci(t.nextSibling)}if(fo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){io=ci(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}io=null}}else io=ro?ci(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=io;e;)e=ci(e.nextSibling)}function mo(){io=ro=null,oo=!1}function vo(e){null===ao?ao=[e]:ao.push(e)}var go=b.ReactCurrentBatchConfig;function bo(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var i=r.stateNode}if(!i)throw Error(n(147,e));var o=i,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function wo(e){return(0,e._init)(e._payload)}function _o(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Du(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===M&&wo(i)===t.type)?((r=o(t,n.props)).ref=bo(e,t,n),r.return=e,r):((r=zu(n.type,n.key,n.props,null,e.mode,r)).ref=bo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Du(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case y:return(n=zu(t.type,t.key,t.props,null,e.mode,n)).ref=bo(e,null,t),n.return=e,n;case w:return(t=Vu(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(Z(t)||L(t))return(t=Iu(t,e.mode,n,null)).return=e,t;yo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===i?u(e,t,n,r):null;case w:return n.key===i?c(e,t,n,r):null;case M:return p(e,t,(i=n._init)(n._payload),r)}if(Z(n)||L(n))return null!==i?null:d(e,t,n,r,null);yo(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case M:return h(e,t,n,(0,r._init)(r._payload),i)}if(Z(r)||L(r))return d(t,e=e.get(n)||null,r,i,null);yo(t,r)}return null}return function s(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===_&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case y:e:{for(var v=d.key,g=c;null!==g;){if(g.key===v){if((v=d.type)===_){if(7===g.tag){r(u,g.sibling),(c=o(g,d.props.children)).return=u,u=c;break e}}else if(g.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===M&&wo(v)===g.type){r(u,g.sibling),(c=o(g,d.props)).ref=bo(u,g,d),c.return=u,u=c;break e}r(u,g);break}t(u,g),g=g.sibling}d.type===_?((c=Iu(d.props.children,u.mode,m,d.key)).return=u,u=c):((m=zu(d.type,d.key,d.props,null,u.mode,m)).ref=bo(u,c,d),m.return=u,u=m)}return l(u);case w:e:{for(g=d.key;null!==c;){if(c.key===g){if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){r(u,c.sibling),(c=o(c,d.children||[])).return=u,u=c;break e}r(u,c);break}t(u,c),c=c.sibling}(c=Vu(d,u.mode,m)).return=u,u=c}return l(u);case M:return s(u,c,(g=d._init)(d._payload),m)}if(Z(d))return function(n,o,l,s){for(var u=null,c=null,d=o,m=o=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(n,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(n,d),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return r(n,d),oo&&Zi(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(n,l[m],s))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return oo&&Zi(n,m),u}for(d=i(n,d);m<l.length;m++)null!==(v=h(d,n,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach(function(e){return t(n,e)}),oo&&Zi(n,m),u}(u,c,d,m);if(L(d))return function(o,l,s,u){var c=L(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=l,v=l=0,g=null,b=s.next();null!==m&&!b.done;v++,b=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var y=p(o,m,b.value,u);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),l=a(y,l,v),null===d?c=y:d.sibling=y,d=y,m=g}if(b.done)return r(o,m),oo&&Zi(o,v),c;if(null===m){for(;!b.done;v++,b=s.next())null!==(b=f(o,b.value,u))&&(l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return oo&&Zi(o,v),c}for(m=i(o,m);!b.done;v++,b=s.next())null!==(b=h(m,o,v,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?v:b.key),l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach(function(e){return t(o,e)}),oo&&Zi(o,v),c}(u,c,d,m);yo(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d?(d=""+d,null!==c&&6===c.tag?(r(u,c.sibling),(c=o(c,d)).return=u,u=c):(r(u,c),(c=Du(d,u.mode,m)).return=u,u=c),l(u)):r(u,c)}}var xo=_o(!0),ko=_o(!1),So=Ei(null),Eo=null,Co=null,Oo=null;function To(){Oo=Co=Eo=null}function Ao(e){var t=So.current;Ci(So),e._currentValue=t}function Mo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function No(e,t){Eo=e,Oo=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(Oo!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(n(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var Lo=null;function Ro(e){null===Lo?Lo=[e]:Lo.push(e)}function zo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Ro(t)):(n.next=i.next,i.next=n),t.interleaved=n,Io(e,r)}function Io(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var jo=!1;function Do(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&As){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Io(e,n)}return null===(i=r.interleaved)?(t.next=t,Ro(r)):(t.next=i.next,i.next=t),r.interleaved=t,Io(e,n)}function Uo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Wo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ho(e,t,n,r){var i=e.updateQueue;jo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?o=u:a.next=u,a=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=i.baseState;for(a=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=z({},d,f);break e;case 2:jo=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=i.effects)?i.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=i.shared.pending))break;l=(f=l).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===c&&(s=d),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);js|=a,e.lanes=a,e.memoizedState=d}}function Ko(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(null!==o){if(i.callback=null,i=r,"function"!=typeof o)throw Error(n(191,o));o.call(i)}}}var Go={},$o=Ei(Go),qo=Ei(Go),Yo=Ei(Go);function Xo(e){if(e===Go)throw Error(n(174));return e}function Qo(e,t){switch(Oi(Yo,t),Oi(qo,e),Oi($o,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ae(null,"");break;default:t=ae(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ci($o),Oi($o,t)}function Jo(){Ci($o),Ci(qo),Ci(Yo)}function Zo(e){Xo(Yo.current);var t=Xo($o.current),n=ae(t,e.type);t!==n&&(Oi(qo,e),Oi($o,n))}function ea(e){qo.current===e&&(Ci($o),Ci(qo))}var ta=Ei(0);function na(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=[];function ia(){for(var e=0;e<ra.length;e++)ra[e]._workInProgressVersionPrimary=null;ra.length=0}var oa=b.ReactCurrentDispatcher,aa=b.ReactCurrentBatchConfig,la=0,sa=null,ua=null,ca=null,da=!1,fa=!1,pa=0,ha=0;function ma(){throw Error(n(321))}function va(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function ga(e,t,r,i,o,a){if(la=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?el:tl,e=r(i,o),fa){a=0;do{if(fa=!1,pa=0,25<=a)throw Error(n(301));a+=1,ca=ua=null,t.updateQueue=null,oa.current=nl,e=r(i,o)}while(fa)}if(oa.current=Za,t=null!==ua&&null!==ua.next,la=0,ca=ua=sa=null,da=!1,t)throw Error(n(300));return e}function ba(){var e=0!==pa;return pa=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function wa(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,ua=e;else{if(null===e)throw Error(n(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function _a(e,t){return"function"==typeof t?t(e):t}function xa(e){var t=wa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var i=ua,o=i.baseQueue,a=r.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}i.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,i=i.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((la&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:e(i,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=i):u=u.next=f,sa.lanes|=d,js|=d}c=c.next}while(null!==c&&c!==a);null===u?l=i:u.next=s,or(i,t.memoizedState)||(wl=!0),t.memoizedState=i,t.baseState=l,t.baseQueue=u,r.lastRenderedState=i}if(null!==(e=r.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,js|=a,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function ka(e){var t=wa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var i=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);or(a,t.memoizedState)||(wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,i]}function Sa(){}function Ea(e,t){var r=sa,i=wa(),o=t(),a=!or(i.memoizedState,o);if(a&&(i.memoizedState=o,wl=!0),i=i.queue,ja(Ta.bind(null,r,i,e),[e]),i.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(r.flags|=2048,Pa(9,Oa.bind(null,r,i,o,t),void 0,null),null===Ms)throw Error(n(349));30&la||Ca(r,t,o)}return o}function Ca(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Aa(t)&&Ma(e)}function Ta(e,t,n){return n(function(){Aa(t)&&Ma(e)})}function Aa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch(e){return!0}}function Ma(e){var t=Io(e,1);null!==t&&ru(t,e,1,-1)}function Na(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Pa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function La(){return wa().memoizedState}function Ra(e,t,n,r){var i=ya();sa.flags|=e,i.memoizedState=Pa(1|t,n,void 0,void 0===r?null:r)}function za(e,t,n,r){var i=wa();r=void 0===r?null:r;var o=void 0;if(null!==ua){var a=ua.memoizedState;if(o=a.destroy,null!==r&&va(r,a.deps))return void(i.memoizedState=Pa(t,n,o,r))}sa.flags|=e,i.memoizedState=Pa(1|t,n,o,r)}function Ia(e,t){return Ra(8390656,8,e,t)}function ja(e,t){return za(2048,8,e,t)}function Da(e,t){return za(4,2,e,t)}function Va(e,t){return za(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,n){return n=null!=n?n.concat([e]):null,za(4,4,Fa.bind(null,t,e),n)}function Ua(){}function Wa(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&va(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ha(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&va(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ka(e,t,n){return 21&la?(or(n,t)||(n=pt(),sa.lanes|=n,js|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n)}function Ga(e,t){var n=gt;gt=0!==n&&4>n?n:4,e(!0);var r=aa.transition;aa.transition={};try{e(!1),t()}finally{gt=n,aa.transition=r}}function $a(){return wa().memoizedState}function qa(e,t,n){var r=nu(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Xa(e)?Qa(t,n):null!==(n=zo(e,t,n,r))&&(ru(n,e,r,tu()),Ja(n,t,r))}function Ya(e,t,n){var r=nu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xa(e))Qa(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,or(l,a)){var s=t.interleaved;return null===s?(i.next=i,Ro(t)):(i.next=s.next,s.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=zo(e,t,i,r))&&(ru(n,e,r,i=tu()),Ja(n,t,r))}}function Xa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Qa(e,t){fa=da=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ja(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Za={readContext:Po,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useInsertionEffect:ma,useLayoutEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useMutableSource:ma,useSyncExternalStore:ma,useId:ma,unstable_isNewReconciler:!1},el={readContext:Po,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:Ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ra(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qa.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Na,useDebugValue:Ua,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Na(!1),t=e[0];return e=Ga.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var i=sa,o=ya();if(oo){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Ms)throw Error(n(349));30&la||Ca(i,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Ia(Ta.bind(null,i,a,e),[e]),i.flags|=2048,Pa(9,Oa.bind(null,i,a,r,t),void 0,null),r},useId:function(){var e=ya(),t=Ms.identifierPrefix;if(oo){var n=Ji;t=":"+t+"R"+(n=(Qi&~(1<<32-it(Qi)-1)).toString(32)+n),0<(n=pa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},tl={readContext:Po,useCallback:Wa,useContext:Po,useEffect:ja,useImperativeHandle:Ba,useInsertionEffect:Da,useLayoutEffect:Va,useMemo:Ha,useReducer:xa,useRef:La,useState:function(){return xa(_a)},useDebugValue:Ua,useDeferredValue:function(e){return Ka(wa(),ua.memoizedState,e)},useTransition:function(){return[xa(_a)[0],wa().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Ea,useId:$a,unstable_isNewReconciler:!1},nl={readContext:Po,useCallback:Wa,useContext:Po,useEffect:ja,useImperativeHandle:Ba,useInsertionEffect:Da,useLayoutEffect:Va,useMemo:Ha,useReducer:ka,useRef:La,useState:function(){return ka(_a)},useDebugValue:Ua,useDeferredValue:function(e){var t=wa();return null===ua?t.memoizedState=e:Ka(t,ua.memoizedState,e)},useTransition:function(){return[ka(_a)[0],wa().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Ea,useId:$a,unstable_isNewReconciler:!1};function rl(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function il(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ol={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Fo(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(ru(t,e,i,r),Uo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Fo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(ru(t,e,i,r),Uo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),i=Fo(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Bo(e,i,r))&&(ru(t,e,r,n),Uo(t,e,r))}};function al(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&ar(n,r)&&ar(i,o))}function ll(e,t,n){var r=!1,i=Ti,o=t.contextType;return"object"==typeof o&&null!==o?o=Po(o):(i=Li(t)?Ni:Ai.current,o=(r=null!=(r=t.contextTypes))?Pi(e,i):Ti),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ol,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function sl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ol.enqueueReplaceState(t,t.state,null)}function ul(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Do(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Po(o):(o=Li(t)?Ni:Ai.current,i.context=Pi(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(il(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ol.enqueueReplaceState(i,i.state,null),Ho(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var pl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Gs=r),fl(0,t)},n}function ml(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===$s?$s=new Set([this]):$s.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e)}var yl=b.ReactCurrentOwner,wl=!1;function _l(e,t,n,r){t.child=null===e?ko(t,null,n,r):xo(t,e.child,n,r)}function xl(e,t,n,r,i){n=n.render;var o=t.ref;return No(t,i),r=ga(e,t,n,r,o,i),n=ba(),null===e||wl?(oo&&n&&to(t),t.flags|=1,_l(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kl(e,t,i))}function kl(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Lu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sl(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ar)(a,r)&&e.ref===t.ref)return Kl(e,t,i)}return t.flags|=1,(e=Ru(o,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ar(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Kl(e,t,i);131072&e.flags&&(wl=!0)}}return Ol(e,t,n,r,i)}function El(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oi(Rs,Ls),Ls|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Oi(Rs,Ls),Ls|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oi(Rs,Ls),Ls|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Oi(Rs,Ls),Ls|=r;return _l(e,t,i,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ol(e,t,n,r,i){var o=Li(n)?Ni:Ai.current;return o=Pi(t,o),No(t,i),n=ga(e,t,n,r,o,i),r=ba(),null===e||wl?(oo&&r&&to(t),t.flags|=1,_l(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kl(e,t,i))}function Tl(e,t,n,r,i){if(Li(n)){var o=!0;ji(t)}else o=!1;if(No(t,i),null===t.stateNode)Hl(e,t),ll(t,n,r),ul(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;u="object"==typeof u&&null!==u?Po(u):Pi(t,u=Li(n)?Ni:Ai.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&sl(t,a,r,u),jo=!1;var f=t.memoizedState;a.state=f,Ho(t,r,a,i),s=t.memoizedState,l!==r||f!==s||Mi.current||jo?("function"==typeof c&&(il(t,n,c,r),s=t.memoizedState),(l=jo||al(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Vo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:rl(t.type,l),a.props=u,d=t.pendingProps,f=a.context,s="object"==typeof(s=n.contextType)&&null!==s?Po(s):Pi(t,s=Li(n)?Ni:Ai.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&sl(t,a,r,s),jo=!1,f=t.memoizedState,a.state=f,Ho(t,r,a,i);var h=t.memoizedState;l!==d||f!==h||Mi.current||jo?("function"==typeof p&&(il(t,n,p,r),h=t.memoizedState),(u=jo||al(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Al(e,t,n,r,o,i)}function Al(e,t,n,r,i,o){Cl(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Di(t,n,!1),Kl(e,t,o);r=t.stateNode,yl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,l,o)):_l(e,t,l,o),t.memoizedState=r.state,i&&Di(t,n,!0),t.child}function Ml(e){var t=e.stateNode;t.pendingContext?zi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zi(0,t.context,!1),Qo(e,t.containerInfo)}function Nl(e,t,n,r,i){return mo(),vo(i),t.flags|=256,_l(e,t,n,r),t.child}var Pl,Ll,Rl,zl,Il={dehydrated:null,treeContext:null,retryLane:0};function jl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dl(e,t,r){var i,o=t.pendingProps,a=ta.current,l=!1,s=!!(128&t.flags);if((i=s)||(i=(null===e||null!==e.memoizedState)&&!!(2&a)),i?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Oi(ta,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},1&o||null===l?l=ju(s,o,0,null):(l.childLanes=0,l.pendingProps=s),e=Iu(e,o,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=jl(r),t.memoizedState=Il,e):Vl(t,s));if(null!==(a=e.memoizedState)&&null!==(i=a.dehydrated))return function(e,t,r,i,o,a,l){if(r)return 256&t.flags?(t.flags&=-257,Fl(e,t,l,i=dl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=ju({mode:"visible",children:i.children},o,0,null),(a=Iu(a,o,l,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,1&t.mode&&xo(t,e.child,null,l),t.child.memoizedState=jl(l),t.memoizedState=Il,a);if(!(1&t.mode))return Fl(e,t,l,null);if("$!"===o.data){if(i=o.nextSibling&&o.nextSibling.dataset)var s=i.dgst;return i=s,Fl(e,t,l,i=dl(a=Error(n(419)),i,void 0))}if(s=0!==(l&e.childLanes),wl||s){if(null!==(i=Ms)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(i.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Io(e,o),ru(i,e,o,-1))}return vu(),Fl(e,t,l,i=dl(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Tu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,io=ci(o.nextSibling),ro=t,oo=!0,ao=null,null!==e&&(qi[Yi++]=Qi,qi[Yi++]=Ji,qi[Yi++]=Xi,Qi=e.id,Ji=e.overflow,Xi=t),(t=Vl(t,i.children)).flags|=4096,t)}(e,t,s,o,i,a,r);if(l){l=o.fallback,s=t.mode,i=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 1&s||t.child===a?(o=Ru(a,u)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==i?l=Ru(i,l):(l=Iu(l,s,r,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?jl(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Ru(l,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Vl(e,t){return(t=ju({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fl(e,t,n,r){return null!==r&&vo(r),xo(t,e.child,null,n),(e=Vl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Mo(e.return,t,n)}function Ul(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Wl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_l(e,t,r.children,n),2&(r=ta.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oi(ta,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===na(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ul(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===na(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Hl(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Kl(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),js|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Ru(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Ru(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Gl(e,t){if(!oo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $l(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,r){var i=t.pendingProps;switch(no(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $l(t),null;case 1:case 17:return Li(t.type)&&Ri(),$l(t),null;case 3:return i=t.stateNode,Jo(),Ci(Mi),Ci(Ai),ia(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ao&&(lu(ao),ao=null))),Ll(e,t),$l(t),null;case 5:ea(t);var a=Xo(Yo.current);if(r=t.type,null!==e&&null!=t.stateNode)Rl(e,t,r,i,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(n(166));return $l(t),null}if(e=Xo($o.current),po(t)){i=t.stateNode,r=t.type;var l=t.memoizedProps;switch(i[pi]=t,i[hi]=l,e=!!(1&t.mode),r){case"dialog":Fr("cancel",i),Fr("close",i);break;case"iframe":case"object":case"embed":Fr("load",i);break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],i);break;case"source":Fr("error",i);break;case"img":case"image":case"link":Fr("error",i),Fr("load",i);break;case"details":Fr("toggle",i);break;case"input":q(i,l),Fr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",i);break;case"textarea":ne(i,l),Fr("invalid",i)}for(var s in ve(r,l),a=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?i.textContent!==u&&(!0!==l.suppressHydrationWarning&&Zr(i.textContent,u,e),a=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Zr(i.textContent,u,e),a=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",i)}switch(r){case"input":H(i),Q(i,l,!0);break;case"textarea":H(i),ie(i);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(i.onclick=ei)}i=a,t.updateQueue=i,null!==i&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=s.createElement(r,{is:i.is}):(e=s.createElement(r),"select"===r&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,r),e[pi]=t,e[hi]=i,Pl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ge(r,i),r){case"dialog":Fr("cancel",e),Fr("close",e),a=i;break;case"iframe":case"object":case"embed":Fr("load",e),a=i;break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],e);a=i;break;case"source":Fr("error",e),a=i;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),a=i;break;case"details":Fr("toggle",e),a=i;break;case"input":q(e,i),a=$(e,i),Fr("invalid",e);break;case"option":default:a=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},a=z({},i,{value:void 0}),Fr("invalid",e);break;case"textarea":ne(e,i),a=te(e,i),Fr("invalid",e)}for(l in ve(r,a),u=a)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?he(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&ue(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&ce(e,c):"number"==typeof c&&ce(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(o.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fr("scroll",e):null!=c&&g(e,l,c,s))}switch(r){case"input":H(e),Q(e,i,!1);break;case"textarea":H(e),ie(e);break;case"option":null!=i.value&&e.setAttribute("value",""+U(i.value));break;case"select":e.multiple=!!i.multiple,null!=(l=i.value)?ee(e,!!i.multiple,l,!1):null!=i.defaultValue&&ee(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=ei)}switch(r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $l(t),null;case 6:if(e&&null!=t.stateNode)zl(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(n(166));if(r=Xo(Yo.current),Xo($o.current),po(t)){if(i=t.stateNode,r=t.memoizedProps,i[pi]=t,(l=i.nodeValue!==r)&&null!==(e=ro))switch(e.tag){case 3:Zr(i.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(i.nodeValue,r,!!(1&e.mode))}l&&(t.flags|=4)}else(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[pi]=t,t.stateNode=i}return $l(t),null;case 13:if(Ci(ta),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oo&&null!==io&&1&t.mode&&!(128&t.flags))ho(),mo(),t.flags|=98560,l=!1;else if(l=po(t),null!==i&&null!==i.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[pi]=t}else mo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$l(t),l=!1}else null!==ao&&(lu(ao),ao=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((i=null!==i)!=(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ta.current?0===zs&&(zs=3):vu())),null!==t.updateQueue&&(t.flags|=4),$l(t),null);case 4:return Jo(),Ll(e,t),null===e&&Wr(t.stateNode.containerInfo),$l(t),null;case 10:return Ao(t.type._context),$l(t),null;case 19:if(Ci(ta),null===(l=t.memoizedState))return $l(t),null;if(i=!!(128&t.flags),null===(s=l.rendering))if(i)Gl(l,!1);else{if(0!==zs||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=na(e))){for(t.flags|=128,Gl(l,!1),null!==(i=s.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=r,r=t.child;null!==r;)e=i,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Oi(ta,1&ta.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Ws&&(t.flags|=128,i=!0,Gl(l,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=na(s))){if(t.flags|=128,i=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Gl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!oo)return $l(t),null}else 2*Ye()-l.renderingStartTime>Ws&&1073741824!==r&&(t.flags|=128,i=!0,Gl(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ye(),t.sibling=null,r=ta.current,Oi(ta,i?1&r|2:1&r),t):($l(t),null);case 22:case 23:return fu(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&1&t.mode?!!(1073741824&Ls)&&($l(t),6&t.subtreeFlags&&(t.flags|=8192)):$l(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Yl(e,t){switch(no(t),t.tag){case 1:return Li(t.type)&&Ri(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),Ci(Mi),Ci(Ai),ia(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ea(t),null;case 13:if(Ci(ta),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ci(ta),null;case 4:return Jo(),null;case 10:return Ao(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Pl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ll=function(){},Rl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Xo($o.current);var a,l=null;switch(n){case"input":i=$(e,i),r=$(e,r),l=[];break;case"select":i=z({},i,{value:void 0}),r=z({},r,{value:void 0}),l=[];break;case"textarea":i=te(e,i),r=te(e,r),l=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=ei)}for(c in ve(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var s=i[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},zl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Ql=!1,Jl="function"==typeof WeakSet?WeakSet:Set,Zl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Eu(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Eu(e,t,n)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&ts(t,n,o)}i=i.next}while(i!==r)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[pi],delete t[hi],delete t[vi],delete t[gi],delete t[bi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ei));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(rt&&"function"==typeof rt.onCommitFiberUnmount)try{rt.onCommitFiberUnmount(nt,n)}catch(e){}switch(n.tag){case 5:Ql||es(n,t);case 6:var r=ds,i=fs;ds=null,ps(e,t,n),fs=i,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),Ft(e)):ui(ds,n.stateNode));break;case 4:r=ds,i=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=i;break;case 0:case 11:case 14:case 15:if(!Ql&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&ts(n,t,a),i=i.next}while(i!==r)}ps(e,t,n);break;case 1:if(!Ql&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Eu(n,t,e)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,ps(e,t,n),Ql=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach(function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function vs(e,t){var r=t.deletions;if(null!==r)for(var i=0;i<r.length;i++){var o=r[i];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(n(160));hs(a,l,o),ds=null,fs=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Eu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),bs(e),4&i){try{rs(3,e,e.return),is(3,e)}catch(t){Eu(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Eu(e,e.return,t)}}break;case 1:vs(t,e),bs(e),512&i&&null!==r&&es(r,r.return);break;case 5:if(vs(t,e),bs(e),512&i&&null!==r&&es(r,r.return),32&e.flags){var o=e.stateNode;try{ce(o,"")}catch(t){Eu(e,e.return,t)}}if(4&i&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==r?r.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&Y(o,a),ge(s,l);var c=ge(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?he(o,f):"dangerouslySetInnerHTML"===d?ue(o,f):"children"===d?ce(o,f):g(o,d,f,c)}switch(s){case"input":X(o,a);break;case"textarea":re(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ee(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ee(o,!!a.multiple,a.defaultValue,!0):ee(o,!!a.multiple,a.multiple?[]:"",!1))}o[hi]=a}catch(t){Eu(e,e.return,t)}}break;case 6:if(vs(t,e),bs(e),4&i){if(null===e.stateNode)throw Error(n(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Eu(e,e.return,t)}}break;case 3:if(vs(t,e),bs(e),4&i&&null!==r&&r.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(t){Eu(e,e.return,t)}break;case 4:default:vs(t,e),bs(e);break;case 13:vs(t,e),bs(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Us=Ye())),4&i&&ms(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Ql=(c=Ql)||d,vs(t,e),Ql=c):vs(t,e),bs(e),8192&i){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Zl=e,d=e.child;null!==d;){for(f=Zl=d;null!==Zl;){switch(h=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){i=p,r=p.return;try{t=i,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Eu(i,r,e)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==h?(h.return=p,Zl=h):xs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=pe("display",l))}catch(t){Eu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Eu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),bs(e),4&i&&ms(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ls(r)){var i=r;break e}r=r.return}throw Error(n(160))}switch(i.tag){case 5:var o=i.stateNode;32&i.flags&&(ce(o,""),i.flags&=-33),cs(e,ss(e),o);break;case 3:case 4:var a=i.stateNode.containerInfo;us(e,ss(e),a);break;default:throw Error(n(161))}}catch(t){Eu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ys(e,t,n){Zl=e,ws(e)}function ws(e,t,n){for(var r=!!(1&e.mode);null!==Zl;){var i=Zl,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Xl;if(!a){var l=i.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=Xl;var u=Ql;if(Xl=a,(Ql=s)&&!u)for(Zl=i;null!==Zl;)s=(a=Zl).child,22===a.tag&&null!==a.memoizedState?ks(i):null!==s?(s.return=a,Zl=s):ks(i);for(;null!==o;)Zl=o,ws(o),o=o.sibling;Zl=i,Xl=l,Ql=u}_s(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Zl=o):_s(e)}}function _s(e){for(;null!==Zl;){var t=Zl;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ql||is(5,t);break;case 1:var i=t.stateNode;if(4&t.flags&&!Ql)if(null===r)i.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:rl(t.type,r.memoizedProps);i.componentDidUpdate(o,r.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ko(t,a,i);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Ko(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ft(f)}}}break;default:throw Error(n(163))}Ql||512&t.flags&&os(t)}catch(e){Eu(t,t.return,e)}}if(t===e){Zl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zl=r;break}Zl=t.return}}function xs(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function ks(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{is(4,t)}catch(e){Eu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Eu(t,i,e)}}var o=t.return;try{os(t)}catch(e){Eu(t,o,e)}break;case 5:var a=t.return;try{os(t)}catch(e){Eu(t,a,e)}}}catch(e){Eu(t,t.return,e)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Ss,Es=Math.ceil,Cs=b.ReactCurrentDispatcher,Os=b.ReactCurrentOwner,Ts=b.ReactCurrentBatchConfig,As=0,Ms=null,Ns=null,Ps=0,Ls=0,Rs=Ei(0),zs=0,Is=null,js=0,Ds=0,Vs=0,Fs=null,Bs=null,Us=0,Ws=1/0,Hs=null,Ks=!1,Gs=null,$s=null,qs=!1,Ys=null,Xs=0,Qs=0,Js=null,Zs=-1,eu=0;function tu(){return 6&As?Ye():-1!==Zs?Zs:Zs=Ye()}function nu(e){return 1&e.mode?2&As&&0!==Ps?Ps&-Ps:null!==go.transition?(0===eu&&(eu=pt()),eu):0!==(e=gt)?e:e=void 0===(e=window.event)?16:qt(e.type):1}function ru(e,t,r,i){if(50<Qs)throw Qs=0,Js=null,Error(n(185));mt(e,r,i),2&As&&e===Ms||(e===Ms&&(!(2&As)&&(Ds|=r),4===zs&&su(e,Ps)),iu(e,i),1===r&&0===As&&!(1&t.mode)&&(Ws=Ye()+500,Fi&&Wi()))}function iu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-it(o),l=1<<a,s=i[a];-1===s?0!==(l&n)&&0===(l&r)||(i[a]=dt(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ct(e,e===Ms?Ps:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Fi=!0,Ui(e)}(uu.bind(null,e)):Ui(uu.bind(null,e)),li(function(){!(6&As)&&Wi()}),n=null;else{switch(bt(r)){case 1:n=Qe;break;case 4:n=Je;break;case 16:default:n=Ze;break;case 536870912:n=tt}n=Mu(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Zs=-1,eu=0,6&As)throw Error(n(327));var r=e.callbackNode;if(ku()&&e.callbackNode!==r)return null;var i=ct(e,e===Ms?Ps:0);if(0===i)return null;if(30&i||0!==(i&e.expiredLanes)||t)t=gu(e,i);else{t=i;var o=As;As|=2;var a=mu();for(Ms===e&&Ps===t||(Hs=null,Ws=Ye()+500,pu(e,t));;)try{yu();break}catch(t){hu(e,t)}To(),Cs.current=a,As=o,null!==Ns?t=0:(Ms=null,Ps=0,t=zs)}if(0!==t){if(2===t&&0!==(o=ft(e))&&(i=o,t=au(e,o)),1===t)throw r=Is,pu(e,0),su(e,i),iu(e,Ye()),r;if(6===t)su(e,i);else{if(o=e.current.alternate,!(30&i||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!or(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=gu(e,i),2===t&&(a=ft(e),0!==a&&(i=a,t=au(e,a))),1!==t)))throw r=Is,pu(e,0),su(e,i),iu(e,Ye()),r;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(n(345));case 2:case 5:xu(e,Bs,Hs);break;case 3:if(su(e,i),(130023424&i)===i&&10<(t=Us+500-Ye())){if(0!==ct(e,0))break;if(((o=e.suspendedLanes)&i)!==i){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ii(xu.bind(null,e,Bs,Hs),t);break}xu(e,Bs,Hs);break;case 4:if(su(e,i),(4194240&i)===i)break;for(t=e.eventTimes,o=-1;0<i;){var l=31-it(i);a=1<<l,(l=t[l])>o&&(o=l),i&=~a}if(i=o,10<(i=(120>(i=Ye()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Es(i/1960))-i)){e.timeoutHandle=ii(xu.bind(null,e,Bs,Hs),i);break}xu(e,Bs,Hs);break;default:throw Error(n(329))}}}return iu(e,Ye()),e.callbackNode===r?ou.bind(null,e):null}function au(e,t){var n=Fs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&lu(t)),e}function lu(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function su(e,t){for(t&=~Vs,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(6&As)throw Error(n(327));ku();var t=ct(e,0);if(!(1&t))return iu(e,Ye()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var i=ft(e);0!==i&&(t=i,r=au(e,i))}if(1===r)throw r=Is,pu(e,0),su(e,t),iu(e,Ye()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Bs,Hs),iu(e,Ye()),null}function cu(e,t){var n=As;As|=1;try{return e(t)}finally{0===(As=n)&&(Ws=Ye()+500,Fi&&Wi())}}function du(e){null!==Ys&&0===Ys.tag&&!(6&As)&&ku();var t=As;As|=1;var n=Ts.transition,r=gt;try{if(Ts.transition=null,gt=1,e)return e()}finally{gt=r,Ts.transition=n,!(6&(As=t))&&Wi()}}function fu(){Ls=Rs.current,Ci(Rs)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oi(n)),null!==Ns)for(n=Ns.return;null!==n;){var r=n;switch(no(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ri();break;case 3:Jo(),Ci(Mi),Ci(Ai),ia();break;case 5:ea(r);break;case 4:Jo();break;case 13:case 19:Ci(ta);break;case 10:Ao(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Ms=e,Ns=e=Ru(e.current,null),Ps=Ls=t,zs=0,Is=null,Vs=Ds=js=0,Bs=Fs=null,null!==Lo){for(t=0;t<Lo.length;t++)if(null!==(r=(n=Lo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Lo=null}return e}function hu(e,t){for(;;){var r=Ns;try{if(To(),oa.current=Za,da){for(var i=sa.memoizedState;null!==i;){var o=i.queue;null!==o&&(o.pending=null),i=i.next}da=!1}if(la=0,ca=ua=sa=null,fa=!1,pa=0,Os.current=null,null===r||null===r.return){zs=1,Is=t,Ns=null;break}e:{var a=e,l=r.return,s=r,u=t;if(t=Ps,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,bl(h,l,s,0,t),1&h.mode&&vl(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(!(1&t)){vl(a,c,t),vu();break e}u=Error(n(426))}else if(oo&&1&s.mode){var g=gl(l);if(null!==g){!(65536&g.flags)&&(g.flags|=256),bl(g,l,s,0,t),vo(cl(u,s));break e}}a=u=cl(u,s),4!==zs&&(zs=2),null===Fs?Fs=[a]:Fs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,hl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==$s&&$s.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}_u(r)}catch(e){t=e,Ns===r&&null!==r&&(Ns=r=r.return);continue}break}}function mu(){var e=Cs.current;return Cs.current=Za,null===e?Za:e}function vu(){0!==zs&&3!==zs&&2!==zs||(zs=4),null===Ms||!(268435455&js)&&!(268435455&Ds)||su(Ms,Ps)}function gu(e,t){var r=As;As|=2;var i=mu();for(Ms===e&&Ps===t||(Hs=null,pu(e,t));;)try{bu();break}catch(t){hu(e,t)}if(To(),As=r,Cs.current=i,null!==Ns)throw Error(n(261));return Ms=null,Ps=0,zs}function bu(){for(;null!==Ns;)wu(Ns)}function yu(){for(;null!==Ns&&!$e();)wu(Ns)}function wu(e){var t=Ss(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,null===t?_u(e):Ns=t,Os.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Yl(n,t)))return n.flags&=32767,void(Ns=n);if(null===e)return zs=6,void(Ns=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=ql(n,t,Ls)))return void(Ns=n);if(null!==(t=t.sibling))return void(Ns=t);Ns=t=e}while(null!==t);0===zs&&(zs=5)}function xu(e,t,r){var i=gt,o=Ts.transition;try{Ts.transition=null,gt=1,function(e,t,r,i){do{ku()}while(null!==Ys);if(6&As)throw Error(n(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-it(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Ms&&(Ns=Ms=null,Ps=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||qs||(qs=!0,Mu(Ze,function(){return ku(),null})),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=Ts.transition,Ts.transition=null;var l=gt;gt=1;var s=As;As|=4,Os.current=null,function(e,t){if(ti=Ut,dr(e=cr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(i&&0!==i.rangeCount){r=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==i&&3!==f.nodeType||(u=l+i),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===o&&(s=l),p===a&&++d===i&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(ni={focusedElem:e,selectionRange:r},Ut=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?v:rl(t.type,v),g);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(n(163))}}catch(e){Eu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=ns,ns=!1}(e,r),gs(r,e),fr(ni),Ut=!!ti,ni=ti=null,e.current=r,ys(r),qe(),As=s,gt=l,Ts.transition=a}else e.current=r;if(qs&&(qs=!1,Ys=e,Xs=o),0===(a=e.pendingLanes)&&($s=null),function(e){if(rt&&"function"==typeof rt.onCommitFiberRoot)try{rt.onCommitFiberRoot(nt,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),iu(e,Ye()),null!==t)for(i=e.onRecoverableError,r=0;r<t.length;r++)i((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Ks)throw Ks=!1,e=Gs,Gs=null,e;!!(1&Xs)&&0!==e.tag&&ku(),1&(a=e.pendingLanes)?e===Js?Qs++:(Qs=0,Js=e):Qs=0,Wi()}(e,t,r,i)}finally{Ts.transition=o,gt=i}return null}function ku(){if(null!==Ys){var e=bt(Xs),t=Ts.transition,r=gt;try{if(Ts.transition=null,gt=16>e?16:e,null===Ys)var i=!1;else{if(e=Ys,Ys=null,Xs=0,6&As)throw Error(n(331));var o=As;for(As|=4,Zl=e.current;null!==Zl;){var a=Zl,l=a.child;if(16&Zl.flags){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zl=f;else for(;null!==Zl;){var p=(d=Zl).sibling,h=d.return;if(as(d),d===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Zl=a}}if(2064&a.subtreeFlags&&null!==l)l.return=a,Zl=l;else e:for(;null!==Zl;){if(2048&(a=Zl).flags)switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Zl=b;break e}Zl=a.return}}var y=e.current;for(Zl=y;null!==Zl;){var w=(l=Zl).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,Zl=w;else e:for(l=y;null!==Zl;){if(2048&(s=Zl).flags)try{switch(s.tag){case 0:case 11:case 15:is(9,s)}}catch(e){Eu(s,s.return,e)}if(s===l){Zl=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Zl=_;break e}Zl=s.return}}if(As=o,Wi(),rt&&"function"==typeof rt.onPostCommitFiberRoot)try{rt.onPostCommitFiberRoot(nt,e)}catch(e){}i=!0}return i}finally{gt=r,Ts.transition=t}}return!1}function Su(e,t,n){e=Bo(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(mt(e,1,t),iu(e,t))}function Eu(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$s||!$s.has(r))){t=Bo(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(mt(t,1,e),iu(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Ms===e&&(Ps&n)===n&&(4===zs||3===zs&&(130023424&Ps)===Ps&&500>Ye()-Us?pu(e,0):Vs|=n),iu(e,t)}function Ou(e,t){0===t&&(1&e.mode?(t=st,!(130023424&(st<<=1))&&(st=4194304)):t=1);var n=tu();null!==(e=Io(e,t))&&(mt(e,t,n),iu(e,n))}function Tu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ou(e,n)}function Au(e,t){var r=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(n(314))}null!==i&&i.delete(t),Ou(e,r)}function Mu(e,t){return Ke(e,t)}function Nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pu(e,t,n,r){return new Nu(e,t,n,r)}function Lu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Pu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zu(e,t,r,i,o,a){var l=2;if(i=e,"function"==typeof e)Lu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case _:return Iu(r.children,o,a,t);case x:l=8,o|=8;break;case k:return(e=Pu(12,r,t,2|o)).elementType=k,e.lanes=a,e;case O:return(e=Pu(13,r,t,o)).elementType=O,e.lanes=a,e;case T:return(e=Pu(19,r,t,o)).elementType=T,e.lanes=a,e;case N:return ju(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:l=10;break e;case E:l=9;break e;case C:l=11;break e;case A:l=14;break e;case M:l=16,i=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Pu(l,r,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Iu(e,t,n,r){return(e=Pu(7,e,r,t)).lanes=n,e}function ju(e,t,n,r){return(e=Pu(22,e,r,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function Du(e,t,n){return(e=Pu(6,e,null,t)).lanes=n,e}function Vu(e,t,n){return(t=Pu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,i,o,a,l,s){return e=new Fu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Pu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Do(o),e}function Uu(e){if(!e)return Ti;e:{if(Fe(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Li(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Li(r))return Ii(e,r,t)}return t}function Wu(e,t,n,r,i,o,a,l,s){return(e=Bu(n,r,!0,e,0,o,0,l,s)).context=Uu(null),n=e.current,(o=Fo(r=tu(),i=nu(n))).callback=null!=t?t:null,Bo(n,o,i),e.current.lanes=i,mt(e,i,r),iu(e,r),e}function Hu(e,t,n,r){var i=t.current,o=tu(),a=nu(i);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(i,t,a))&&(ru(e,i,a,o),Uo(e,i,a)),a}function Ku(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $u(e,t){Gu(e,t),(e=e.alternate)&&Gu(e,t)}Ss=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Mi.current)wl=!0;else{if(0===(e.lanes&r)&&!(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Ml(t),mo();break;case 5:Zo(t);break;case 1:Li(t.type)&&ji(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Oi(So,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oi(ta,1&ta.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Dl(e,t,n):(Oi(ta,1&ta.current),null!==(e=Kl(e,t,n))?e.sibling:null);Oi(ta,1&ta.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Wl(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Oi(ta,ta.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Kl(e,t,n)}(e,t,r);wl=!!(131072&e.flags)}else wl=!1,oo&&1048576&t.flags&&eo(t,$i,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Hl(e,t),e=t.pendingProps;var o=Pi(t,Ai.current);No(t,r),o=ga(null,t,i,e,o,r);var a=ba();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Li(i)?(a=!0,ji(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Do(t),o.updater=ol,t.stateNode=o,o._reactInternals=t,ul(t,i,e,r),t=Al(null,t,i,!0,a,r)):(t.tag=0,oo&&a&&to(t),_l(null,t,o,r),t=t.child),t;case 16:i=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Lu(e)?1:0;if(null!=e){if((e=e.$$typeof)===C)return 11;if(e===A)return 14}return 2}(i),e=rl(i,e),o){case 0:t=Ol(null,t,i,e,r);break e;case 1:t=Tl(null,t,i,e,r);break e;case 11:t=xl(null,t,i,e,r);break e;case 14:t=kl(null,t,i,rl(i.type,e),r);break e}throw Error(n(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,Ol(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 1:return i=t.type,o=t.pendingProps,Tl(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 3:e:{if(Ml(t),null===e)throw Error(n(387));i=t.pendingProps,o=(a=t.memoizedState).element,Vo(e,t),Ho(t,i,null,r);var l=t.memoizedState;if(i=l.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Nl(e,t,i,r,o=cl(Error(n(423)),t));break e}if(i!==o){t=Nl(e,t,i,r,o=cl(Error(n(424)),t));break e}for(io=ci(t.stateNode.containerInfo.firstChild),ro=t,oo=!0,ao=null,r=ko(t,null,i,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(mo(),i===o){t=Kl(e,t,r);break e}_l(e,t,i,r)}t=t.child}return t;case 5:return Zo(t),null===e&&co(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,ri(i,o)?l=null:null!==a&&ri(i,a)&&(t.flags|=32),Cl(e,t),_l(e,t,l,r),t.child;case 6:return null===e&&co(t),null;case 13:return Dl(e,t,r);case 4:return Qo(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=xo(t,null,i,r):_l(e,t,i,r),t.child;case 11:return i=t.type,o=t.pendingProps,xl(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 7:return _l(e,t,t.pendingProps,r),t.child;case 8:case 12:return _l(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Oi(So,i._currentValue),i._currentValue=l,null!==a)if(or(a.value,l)){if(a.children===o.children&&!Mi.current){t=Kl(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===i){if(1===a.tag){(u=Fo(-1,r&-r)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=r,null!==(u=a.alternate)&&(u.lanes|=r),Mo(a.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Mo(l,r,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}_l(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,No(t,r),i=i(o=Po(o)),t.flags|=1,_l(e,t,i,r),t.child;case 14:return o=rl(i=t.type,t.pendingProps),kl(e,t,i,o=rl(i.type,o),r);case 15:return Sl(e,t,t.type,t.pendingProps,r);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:rl(i,o),Hl(e,t),t.tag=1,Li(i)?(e=!0,ji(t)):e=!1,No(t,r),ll(t,i,o),ul(t,i,o,r),Al(null,t,i,!0,e,r);case 19:return Wl(e,t,r);case 22:return El(e,t,r)}throw Error(n(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var l=i;i=function(){var e=Ku(a);l.call(e)}}Hu(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Ku(a);o.call(e)}}var a=Wu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[mi]=a.current,Wr(8===e.nodeType?e.parentNode:e),du(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var l=r;r=function(){var e=Ku(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[mi]=s.current,Wr(8===e.nodeType?e.parentNode:e),du(function(){Hu(t,s,n,r)}),s}(n,t,e,i,r);return Ku(a)}Xu.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Hu(e,t,null,null)},Xu.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du(function(){Hu(null,e,null,null)}),t[mi]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&zt(e)}},yt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ut(t.pendingLanes);0!==n&&(vt(t,1|n),iu(t,Ye()),!(6&As)&&(Ws=Ye()+500,Wi()))}break;case 13:du(function(){var t=Io(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}}),$u(e,1)}},wt=function(e){if(13===e.tag){var t=Io(e,134217728);null!==t&&ru(t,e,134217728,tu()),$u(e,134217728)}},_t=function(e){if(13===e.tag){var t=nu(e),n=Io(e,t);null!==n&&ru(n,e,t,tu()),$u(e,t)}},xt=function(){return gt},kt=function(e,t){var n=gt;try{return gt=e,t()}finally{gt=n}},we=function(e,t,r){switch(t){case"input":if(X(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var i=r[t];if(i!==e&&i.form===e.form){var o=xi(i);if(!o)throw Error(n(90));K(i),X(i,o)}}}break;case"textarea":re(e,r);break;case"select":null!=(t=r.value)&&ee(e,!!r.multiple,t,!1)}},Ce=cu,Oe=du;var tc={usingClientEntryPoint:!1,Events:[wi,_i,xi,Se,Ee,cu]},nc={findFiberByHostInstance:yi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{nt=ic.inject(rc),rt=ic}catch(se){}}return Cr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,Cr.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},Cr.createRoot=function(e,t){if(!Qu(e))throw Error(n(299));var r=!1,i="",o=qu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bu(e,1,!1,null,0,r,0,i,o),e[mi]=t.current,Wr(8===e.nodeType?e.parentNode:e),new Yu(t)},Cr.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return null===(e=We(t))?null:e.stateNode},Cr.flushSync=function(e){return du(e)},Cr.hydrate=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!0,r)},Cr.hydrateRoot=function(e,t,r){if(!Qu(e))throw Error(n(405));var i=null!=r&&r.hydratedSources||null,o=!1,a="",l=qu;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Wu(t,null,e,1,null!=r?r:null,o,0,a,l),e[mi]=t.current,Wr(e),i)for(e=0;e<i.length;e++)o=(o=(r=i[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Xu(t)},Cr.render=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!1,r)},Cr.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(n(40));return!!e._reactRootContainer&&(du(function(){ec(null,null,e,!1,function(){e._reactRootContainer=null,e[mi]=null})}),!0)},Cr.unstable_batchedUpdates=cu,Cr.unstable_renderSubtreeIntoContainer=function(e,t,r,i){if(!Ju(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return ec(e,t,r,!1,i)},Cr.version="18.3.1-next-f1338f8080-20240426",Cr}function Nr(){return Sr||(Sr=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),Er.exports=Mr()),Er.exports}var Pr=Nr();function Lr(e){return rn(cr(e,undefined))}var Rr,zr,Ir,jr,Dr=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),Vr=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Dr)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),Fr={exports:{}},Br={},Ur=(zr||(zr=1,Fr.exports=function(){if(Rr)return Br;Rr=1;var e=i(),t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,o=e.useLayoutEffect,a=e.useDebugValue;function l(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var i=t(),s=n({inst:{value:i,getSnapshot:t}}),u=s[0].inst,c=s[1];return o(function(){u.value=i,u.getSnapshot=t,l(u)&&c({inst:u})},[e,i,t]),r(function(){return l(u)&&c({inst:u}),e(function(){l(u)&&c({inst:u})})},[e]),a(i),i};return Br.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,Br}()),Fr.exports);function Wr(e){e.reaction=new Nt("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}var Hr="function"==typeof Symbol&&Symbol.for,Kr=null!==(jr=null===(Ir=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===Ir?void 0:Ir.configurable)&&void 0!==jr&&jr,Gr=Hr?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&o.forwardRef(function(e){return null}).$$typeof,$r=Hr?Symbol.for("react.memo"):"function"==typeof o.memo&&o.memo(function(e){return null}).$$typeof;function qr(e,t){if($r&&e.$$typeof===$r)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=!1,r=e,i=e.displayName||e.name;if(Gr&&e.$$typeof===Gr&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var l,s,u=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=a.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Vr.unregister(r),r.onStoreChange=e,r.reaction||(Wr(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var i,o,l=n.current;if(l.reaction||(Wr(l),Vr.register(n,l,l)),a.useDebugValue(l.reaction,Lr),Ur.useSyncExternalStore(l.subscribe,l.getSnapshot,l.getSnapshot),l.reaction.track(function(){try{i=e()}catch(e){o=e}}),o)throw o;return i}(function(){return r(e,t)},i)};return u.displayName=e.displayName,Kr&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes),n&&(u=o.forwardRef(u)),u=o.memo(u),l=e,s=u,Object.keys(l).forEach(function(e){Xr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(l,e))}),u}var Yr,Xr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(Yr=Pr.unstable_batchedUpdates)||(Yr=function(e){e()}),function(e){!0===e.isolateGlobalState&&function(){if((kt.pendingReactions.length||kt.inBatch||kt.isRunningReactions)&&f(36),xt=!0,_t){var e=h();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),kt=new wt}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(kt.useProxies=r===nn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(kt.verifyProxies=!0),void 0!==i){var o=i===nn?nn:"observed"===i;kt.enforceActions=o,kt.allowStateChanges=!0!==o&&o!==nn}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(kt[t]=!!e[t])}),kt.allowStateReads=!kt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=Lt,Lt=function(e){return t(function(){return n(e)})})}({reactionScheduler:Yr}),Vr.finalizeAllImmediately;const Qr=(e,t=0)=>{const n=t=>(i.value=e?.(t)??t,i.value),r=()=>n(++i.counter),i=r;return i.increment=r,i.decrement=()=>n(--i.counter),i.reset=()=>{i.counter=t,i.value=e?.(t)??t},i.reset(),i},Jr="null",Zr="undefined",ei="[object Number]",ti="infinite",ni="element",ri=(...e)=>t=>e.includes(function(e){if(void 0===e)return Zr;if(null===e)return Jr;if(e&&(1===e.nodeType||9===e.nodeType))return ni;const t=Object.prototype.toString.call(e);if(t===ei){if(Number.isNaN(e))return"nan";if(!Number.isFinite(e))return ti}return t}(t)),ii=ri(Jr),oi=ri(Zr),ai=ri("[object Object]"),li=ri("[object Array]"),si=ri("[object String]"),ui=ri(ei),ci=ri("[object Boolean]"),di=ri("[object Function]","[object AsyncFunction]"),fi=ri("[object RegExp]"),pi=ri(ni),hi=ri("nan"),mi=ri(ti),vi=ri("[object Symbol]"),gi=Object.freeze(Object.defineProperty({__proto__:null,isArray:li,isBoolean:ci,isDefined:e=>null!=e,isElement:pi,isFunction:di,isInfinite:mi,isNaN:hi,isNull:ii,isNumber:ui,isObject:ai,isRegExp:fi,isString:si,isSymbol:vi,isUndefined:oi},Symbol.toStringTag,{value:"Module"})),bi=e=>{let t;const n=e?.comparer??ie.default,r=e=>{const i=e??null;n(r.current,i)||Gt(()=>{t=r.current??void 0,r.current=i,r.listeners.forEach(e=>{e(r.current,t)}),null===r.current&&void 0!==t&&(t=void 0)})};return r.listeners=new Set(e?.onChange?[e.onChange]:[]),(e?.onSet||e?.onUnset)&&r.listeners.add((t,n)=>{t?e.onSet?.(t,n):e.onUnset?.(n)}),r.current=e?.initial??null,r.meta=e?.meta??{},xn(r,{current:We.ref,meta:We}),r},yi=(e,t)=>{if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(e.constructor!==t.constructor)return!1;const n=Array.isArray(e);if(n!==Array.isArray(t))return!1;if(n){const n=e,r=t;if(n.length!==r.length)return!1;for(const[e,t]of n.entries())if(t!==r[e])return!1;return!0}if(e instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp)return e.toString()===t.toString();const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;const o=t;for(const t of r)if(!Object.hasOwn(o,t)||e[t]!==o[t])return!1;return!0},{entries:wi,setPrototypeOf:_i,isFrozen:xi,getPrototypeOf:ki,getOwnPropertyDescriptor:Si}=Object;let{freeze:Ei,seal:Ci,create:Oi}=Object,{apply:Ti,construct:Ai}="undefined"!=typeof Reflect&&Reflect;Ei||(Ei=function(e){return e}),Ci||(Ci=function(e){return e}),Ti||(Ti=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),Ai||(Ai=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const Mi=Ki(Array.prototype.forEach),Ni=Ki(Array.prototype.lastIndexOf),Pi=Ki(Array.prototype.pop),Li=Ki(Array.prototype.push),Ri=Ki(Array.prototype.splice),zi=Ki(String.prototype.toLowerCase),Ii=Ki(String.prototype.toString),ji=Ki(String.prototype.match),Di=Ki(String.prototype.replace),Vi=Ki(String.prototype.indexOf),Fi=Ki(String.prototype.trim),Bi=Ki(Object.prototype.hasOwnProperty),Ui=Ki(RegExp.prototype.test),Wi=(Hi=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ai(Hi,t)});var Hi;function Ki(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Ti(e,t,r)}}function Gi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:zi;_i&&_i(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(xi(t)||(t[r]=e),i=e)}e[i]=!0}return e}function $i(e){for(let t=0;t<e.length;t++)Bi(e,t)||(e[t]=null);return e}function qi(e){const t=Oi(null);for(const[n,r]of wi(e))Bi(e,n)&&(Array.isArray(r)?t[n]=$i(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=qi(r):t[n]=r);return t}function Yi(e,t){for(;null!==e;){const n=Si(e,t);if(n){if(n.get)return Ki(n.get);if("function"==typeof n.value)return Ki(n.value)}e=ki(e)}return function(){return null}}const Xi=Ei(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Qi=Ei(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ji=Ei(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Zi=Ei(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),eo=Ei(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),to=Ei(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),no=Ei(["#text"]),ro=Ei(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),io=Ei(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),oo=Ei(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ao=Ei(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),lo=Ci(/\{\{[\w\W]*|[\w\W]*\}\}/gm),so=Ci(/<%[\w\W]*|[\w\W]*%>/gm),uo=Ci(/\$\{[\w\W]*/gm),co=Ci(/^data-[\-\w.\u00B7-\uFFFF]+$/),fo=Ci(/^aria-[\-\w]+$/),po=Ci(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ho=Ci(/^(?:\w+script|data):/i),mo=Ci(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vo=Ci(/^html$/i),go=Ci(/^[a-z][.\w]*(-[.\w]+)+$/i);var bo=Object.freeze({__proto__:null,ARIA_ATTR:fo,ATTR_WHITESPACE:mo,CUSTOM_ELEMENT:go,DATA_ATTR:co,DOCTYPE_NAME:vo,ERB_EXPR:so,IS_ALLOWED_URI:po,IS_SCRIPT_OR_DATA:ho,MUSTACHE_EXPR:lo,TMPLIT_EXPR:uo});!function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:s,Element:u,NodeFilter:c,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:h}=t,m=u.prototype,v=Yi(m,"cloneNode"),g=Yi(m,"remove"),b=Yi(m,"nextSibling"),y=Yi(m,"childNodes"),w=Yi(m,"parentNode");if("function"==typeof l){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let _,x="";const{implementation:k,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:C}=r,{importNode:O}=i;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof wi&&"function"==typeof w&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:M,TMPLIT_EXPR:N,DATA_ATTR:P,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:z,CUSTOM_ELEMENT:I}=bo;let{IS_ALLOWED_URI:j}=bo,D=null;const V=Gi({},[...Xi,...Qi,...Ji,...eo,...no]);let F=null;const B=Gi({},[...ro,...io,...oo,...ao]);let U=Object.seal(Oi(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,H=null;const K=Object.seal(Oi(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,$=!0,q=!1,Y=!0,X=!1,Q=!0,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,ae=!0,le=!1,se={},ue=null;const ce=Gi({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const fe=Gi({},["audio","video","img","source","image","track"]);let pe=null;const he=Gi({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let be=ge,ye=!1,we=null;const _e=Gi({},[me,ve,ge],Ii);let xe=Gi({},["mi","mo","mn","ms","mtext"]),ke=Gi({},["annotation-xml"]);const Se=Gi({},["title","style","font","a","script"]);let Ee=null;const Ce=["application/xhtml+xml","text/html"];let Oe=null,Te=null;const Ae=r.createElement("form"),Me=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=qi(e),Ee=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Oe="application/xhtml+xml"===Ee?Ii:zi,D=Bi(e,"ALLOWED_TAGS")?Gi({},e.ALLOWED_TAGS,Oe):V,F=Bi(e,"ALLOWED_ATTR")?Gi({},e.ALLOWED_ATTR,Oe):B,we=Bi(e,"ALLOWED_NAMESPACES")?Gi({},e.ALLOWED_NAMESPACES,Ii):_e,pe=Bi(e,"ADD_URI_SAFE_ATTR")?Gi(qi(he),e.ADD_URI_SAFE_ATTR,Oe):he,de=Bi(e,"ADD_DATA_URI_TAGS")?Gi(qi(fe),e.ADD_DATA_URI_TAGS,Oe):fe,ue=Bi(e,"FORBID_CONTENTS")?Gi({},e.FORBID_CONTENTS,Oe):ce,W=Bi(e,"FORBID_TAGS")?Gi({},e.FORBID_TAGS,Oe):qi({}),H=Bi(e,"FORBID_ATTR")?Gi({},e.FORBID_ATTR,Oe):qi({}),se=!!Bi(e,"USE_PROFILES")&&e.USE_PROFILES,G=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Q=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,le=e.IN_PLACE||!1,j=e.ALLOWED_URI_REGEXP||po,be=e.NAMESPACE||ge,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,U=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Me(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Me(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(U.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&($=!1),ne&&(te=!0),se&&(D=Gi({},no),F=[],!0===se.html&&(Gi(D,Xi),Gi(F,ro)),!0===se.svg&&(Gi(D,Qi),Gi(F,io),Gi(F,ao)),!0===se.svgFilters&&(Gi(D,Ji),Gi(F,io),Gi(F,ao)),!0===se.mathMl&&(Gi(D,eo),Gi(F,oo),Gi(F,ao))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?K.tagCheck=e.ADD_TAGS:(D===V&&(D=qi(D)),Gi(D,e.ADD_TAGS,Oe))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?K.attributeCheck=e.ADD_ATTR:(F===B&&(F=qi(F)),Gi(F,e.ADD_ATTR,Oe))),e.ADD_URI_SAFE_ATTR&&Gi(pe,e.ADD_URI_SAFE_ATTR,Oe),e.FORBID_CONTENTS&&(ue===ce&&(ue=qi(ue)),Gi(ue,e.FORBID_CONTENTS,Oe)),ae&&(D["#text"]=!0),J&&Gi(D,["html","head","body"]),D.table&&(Gi(D,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Wi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Wi('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,x=_.createHTML("")}else void 0===_&&(_=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(h,o)),null!==_&&"string"==typeof x&&(x=_.createHTML(""));Ei&&Ei(e),Te=e}},Pe=Gi({},[...Qi,...Ji,...Zi]),Le=Gi({},[...eo,...to]),Re=function(e){Li(n.removed,{element:e});try{w(e).removeChild(e)}catch(t){g(e)}},ze=function(e,t){try{Li(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Li(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Re(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=ji(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ee&&be===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=_?_.createHTML(e):e;if(be===ge)try{t=(new p).parseFromString(i,Ee)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?x:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),be===ge?C.call(t,J?"html":"body")[0]:J?t.documentElement:o},je=function(e){return S.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},De=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Ve=function(e){return"function"==typeof s&&e instanceof s};function Fe(e,t,r){Mi(e,e=>{e.call(n,t,r,Te)})}const Be=function(e){let t=null;if(Fe(T.beforeSanitizeElements,e,null),De(e))return Re(e),!0;const r=Oe(e.nodeName);if(Fe(T.uponSanitizeElement,e,{tagName:r,allowedTags:D}),Q&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&Ui(/<[/\w!]/g,e.innerHTML)&&Ui(/<[/\w!]/g,e.textContent))return Re(e),!0;if(7===e.nodeType)return Re(e),!0;if(Q&&8===e.nodeType&&Ui(/<[/\w]/g,e.data))return Re(e),!0;if(!(K.tagCheck instanceof Function&&K.tagCheck(r))&&(!D[r]||W[r])){if(!W[r]&&We(r)){if(U.tagNameCheck instanceof RegExp&&Ui(U.tagNameCheck,r))return!1;if(U.tagNameCheck instanceof Function&&U.tagNameCheck(r))return!1}if(ae&&!ue[r]){const t=w(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=v(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,b(e))}}return Re(e),!0}return e instanceof u&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=zi(e.tagName),r=zi(t.tagName);return!!we[e.namespaceURI]&&(e.namespaceURI===ve?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Pe[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===ve?"math"===n&&ke[r]:Boolean(Le[n]):e.namespaceURI===ge?!(t.namespaceURI===ve&&!ke[r])&&!(t.namespaceURI===me&&!xe[r])&&!Le[n]&&(Se[n]||!Pe[n]):!("application/xhtml+xml"!==Ee||!we[e.namespaceURI]))}(e)?(Re(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Ui(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&3===e.nodeType&&(t=e.textContent,Mi([A,M,N],e=>{t=Di(t,e," ")}),e.textContent!==t&&(Li(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(T.afterSanitizeElements,e,null),!1):(Re(e),!0)},Ue=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in r||n in Ae))return!1;if($&&!H[t]&&Ui(P,t));else if(G&&Ui(L,t));else if(K.attributeCheck instanceof Function&&K.attributeCheck(t,e));else if(!F[t]||H[t]){if(!(We(e)&&(U.tagNameCheck instanceof RegExp&&Ui(U.tagNameCheck,e)||U.tagNameCheck instanceof Function&&U.tagNameCheck(e))&&(U.attributeNameCheck instanceof RegExp&&Ui(U.attributeNameCheck,t)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(t,e))||"is"===t&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&Ui(U.tagNameCheck,n)||U.tagNameCheck instanceof Function&&U.tagNameCheck(n))))return!1}else if(pe[t]);else if(Ui(j,Di(n,z,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Vi(n,"data:")||!de[e])if(q&&!Ui(R,Di(n,z,"")));else if(n)return!1;return!0},We=function(e){return"annotation-xml"!==e&&ji(e,I)},He=function(e){Fe(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||De(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:l,value:s}=o,u=Oe(a),c=s;let d="value"===a?c:Fi(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Fe(T.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==u&&"name"!==u||(ze(a,e),d="user-content-"+d),Q&&Ui(/((--!?|])>)|<\/(style|title|textarea)/i,d)){ze(a,e);continue}if("attributename"===u&&ji(d,"href")){ze(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){ze(a,e);continue}if(!Y&&Ui(/\/>/i,d)){ze(a,e);continue}X&&Mi([A,M,N],e=>{d=Di(d,e," ")});const f=Oe(e.nodeName);if(Ue(f,u,d)){if(_&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(l);else switch(h.getAttributeType(f,u)){case"TrustedHTML":d=_.createHTML(d);break;case"TrustedScriptURL":d=_.createScriptURL(d)}if(d!==c)try{l?e.setAttributeNS(l,a,d):e.setAttribute(a,d),De(e)?Re(e):Pi(n.removed)}catch(t){ze(a,e)}}else ze(a,e)}Fe(T.afterSanitizeAttributes,e,null)},Ke=function e(t){let n=null;const r=je(t);for(Fe(T.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Fe(T.uponSanitizeShadowNode,n,null),Be(n),He(n),n.content instanceof a&&e(n.content);Fe(T.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,l=null,u=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ve(e)){if("function"!=typeof e.toString)throw Wi("toString is not a function");if("string"!=typeof(e=e.toString()))throw Wi("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Ne(t),n.removed=[],"string"==typeof e&&(le=!1),le){if(e.nodeName){const t=Oe(e.nodeName);if(!D[t]||W[t])throw Wi("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)r=Ie("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!J&&-1===e.indexOf("<"))return _&&re?_.createHTML(e):e;if(r=Ie(e),!r)return te?null:re?x:""}r&&ee&&Re(r.firstChild);const c=je(le?e:r);for(;l=c.nextNode();)Be(l),He(l),l.content instanceof a&&Ke(l.content);if(le)return e;if(te){if(ne)for(u=E.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(F.shadowroot||F.shadowrootmode)&&(u=O.call(i,u,!0)),u}let d=J?r.outerHTML:r.innerHTML;return J&&D["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Ui(vo,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&Mi([A,M,N],e=>{d=Di(d,e," ")}),_&&re?_.createHTML(d):d},n.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){Te=null,Z=!1},n.isValidAttribute=function(e,t,n){Te||Ne({});const r=Oe(e),i=Oe(t);return Ue(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&Li(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Ni(T[e],t);return-1===n?void 0:Ri(T[e],n,1)[0]}return Pi(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const yo=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()},wo=o.createContext(null),_o=o.createContext(null),xo=wo.Provider,ko=Qr(e=>e.toString(16)),So=(...e)=>{const t={...Eo,startViewTransitions:structuredClone(Eo.startViewTransitions),observable:{viewModels:{...Eo.observable.viewModels},viewModelStores:{...Eo.observable.viewModelStores}}};return e.forEach(e=>{if(!e)return;const{startViewTransitions:n,comparePayload:r,observable:i,generateId:o,...a}=e;if(o&&(t.generateId=o),n){const e="boolean"==typeof n?{mount:n,payloadChange:n,unmount:n}:n;Object.assign(t.startViewTransitions,e)}i?.viewModels&&Object.assign(t.observable.viewModels,i.viewModels||{}),i?.viewModelStores&&Object.assign(t.observable.viewModelStores,i.viewModelStores||{}),null!=r&&(t.comparePayload=r),Object.assign(t,a)}),t},Eo=(e=>{const t=(e=>{if(null==e){let e;return{get:()=>e,set:t=>(e=t,t)}}const t=globalThis;return{get:()=>t[e],set:n=>(t[e]=n,n)}})(Symbol.for("VIEW_MODELS_CONFIG"));return t.get()||t.set(e)})({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:e=>{if(!e.generateId){const t=ko(),n=Qr(e=>e.toString().padStart(5,"0"));e.generateId=()=>`${t}_${n().toString().padStart(5,"0")}`}return e.generateId()},factory:e=>new(0,e.VM)({...e,vmConfig:So(e.vmConfig)}),hooks:{storeCreate:(()=>{const e=(...t)=>{e.lastPub=t,e.subs.forEach(e=>{e(...t)})};return e.lastPub=void 0,e.subs=[],e.unsub=t=>{e.subs=e.subs.filter(e=>e!==t)},e.sub=t=>(e.subs.push(t),()=>e.unsub(t)),e})()}}),Co=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),xn(e)):xn(e,Object.fromEntries(t))})(e,t,n.useDecorators)},Oo="undefined"==typeof window?o.useEffect:o.useLayoutEffect;let To=null;To=e=>{const t=o.useRef(null);return t.current||(t.current=e()),t.current};const Ao=To;function Mo(e,t,n){return e.prototype.payloadChanged?No(e,t,n):Po(e,t)}const No=(e,t,n)=>{const r=o.useContext(_o),i=o.useContext(wo),a=n?.ctx??{},l=Ao(()=>{const o=r?.generateViewModelId({...n,ctx:a,VM:e,parentViewModelId:i?.id??null})??n?.id??Eo.generateId(a),l=r?r.get(o):null;if(l)return l;{const l={...n,vmConfig:n?.vmConfig,id:o,parentViewModelId:i?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:i,ctx:a};r?.processCreateConfig(l);const s=n?.factory?.(l)??r?.createViewModel(l)??Eo.factory(l);return s.willMount(),r?.markToBeAttached(s),s}});return Oo(()=>r?(r.attach(l),()=>{r.detach(l.id)}):(l.mount(),()=>{l.willUnmount(),l.unmount()}),[l]),l.setPayload(t??{}),l},Po=(e,t)=>{const n=o.useContext(_o),r=o.useContext(wo),i=Ao(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in i&&o.useLayoutEffect(()=>{i.setPayload(t)},[t]),Oo(()=>n?(n.attach(i),()=>{n.detach(i.id)}):(i.mount?.(),()=>{i.unmount?.()}),[i]),i},Lo=e=>{const t=o.useContext(_o),n=o.useContext(wo);if(t?.get(e),!n)throw new Error("Error #1: https://js2me.github.io/mobx-view-model/errors/1");return n};qr(({model:e,config:t,payload:n,children:r})=>{const i=Mo(e,n,t);return i.isMounted?"function"==typeof r?r(i):d.jsx(d.Fragment,{children:r}):null});const Ro=_o.Provider;function zo(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return jo(e,{...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}},t)}{const n=t??{},r={...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}};return t=>jo(e,r,t)}}const Io=Symbol.for("react.memo"),jo=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??Eo.processViewComponent,i=t.vmConfig?.wrapViewsInObserver??Eo.wrapViewsInObserver;let a=r?.(n,e,t)??n;i&&a&&a.$$typeof!==Io&&(a=qr(a));const l=t.reactHook,s=t.getPayload,u=t.fallback??Eo.fallbackComponent;let c=(n,r)=>{const i=o.useContext(_o);l?.(n,t.ctx,i,r);const{payload:c,...f}=n,p=s?.(n)??c;t.forwardRef&&!("forwardedRef"in f)&&(f.forwardedRef=r);const h=Mo(e,p,{...t,props:f});return i&&!i.isAbleToRenderView(h.id)||!1===h.isMounted?u&&d.jsx(u,{...n,payload:p}):d.jsx(xo,{value:h,children:a&&d.jsx(a,{...f,model:h})})};return t.forwardRef&&(c=o.forwardRef(c)),c=qr(c),t.component=c,c},Do=[["_isMounted",We.ref],["_isUnmounting",We.ref],["isMounted",$e],["isUnmounting",$e],["parentViewModel",$e],["mount",Ht.bound],["didMount",Ht],["unmount",Ht.bound],["didUnmount",Ht],["willUnmount",Ht],["setPayload",Ht]];class Vo{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=So(e.vmConfig),this._payload=e.payload,this.props=e.props??{},this.abortController=new AbortController,this.unmountSignal=this.abortController.signal,"strict"===this.vmConfig.comparePayload?this.isPayloadEqual=ie.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=yi:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...Do];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",We[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",$e.struct]):t.push(["payload",$e({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),Co(this,t,this.vmConfig.observable.viewModels)}abortController;unmountSignal;id;_isMounted=!1;_isUnmounting=!1;_payload;vmConfig;isPayloadEqual;props;get payload(){return this._payload}get viewModels(){return this.vmParams.viewModels}get isMounted(){return this._isMounted}get isUnmounting(){return this._isUnmounting}willUnmount(){this._isUnmounting=!0}willMount(){}mount(){this.vmConfig.onMount?.(this),yo(()=>{Gt(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),yo(()=>{Gt(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),Gt(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||yo(()=>{Gt(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class Fo{constructor(e){this.config=e,this.viewModels=We.map([],{deep:!1}),this.linkedComponentVMClasses=We.map([],{deep:!1}),this.viewModelIdsByClasses=We.map([],{deep:!0}),this.instanceAttachedCount=We.map([],{deep:!1}),this.mountingViews=We.set([],{deep:!1}),this.unmountingViews=We.set([],{deep:!1}),this.vmConfig=So(e?.vmConfig),this.viewModelsTempHeap=new Map,Co(this,[["mountedViewsCount",$e],["mount",Ht],["unmount",Ht],["attachVMConstructor",Ht],["attach",Ht],["detach",Ht],["linkComponents",Ht],["unlinkComponents",Ht]],this.vmConfig.observable.viewModelStores),this.vmConfig.hooks.storeCreate(this)}viewModels;linkedComponentVMClasses;viewModelIdsByClasses;instanceAttachedCount;viewModelsTempHeap;mountingViews;unmountingViews;vmConfig;get mountedViewsCount(){return[...this.instanceAttachedCount.values()].reduce((e,t)=>e+t,0)}processCreateConfig(e){this.linkComponents(e.VM,e.component,e.ctx?.externalComponent)}createViewModel(e){const t=e.VM,n=So(this.vmConfig,e.vmConfig),r={...e,vmConfig:n};return n.factory?n.factory(r):new t(r)}generateViewModelId(e){return e.id?e.id:this.vmConfig.generateId(e.ctx)}linkComponents(e,...t){t.forEach(t=>{t&&!this.linkedComponentVMClasses.has(t)&&this.linkedComponentVMClasses.set(t,e)})}unlinkComponents(...e){e.forEach(e=>{e&&this.linkedComponentVMClasses.has(e)&&this.linkedComponentVMClasses.delete(e)})}getIds(e){if(!e)return[];if("string"==typeof e)return[e];const t=this.linkedComponentVMClasses.get(e)||e;return this.viewModelIdsByClasses.get(t)||[]}getId(e){const t=this.getIds(e);return 0===t.length?null:t.at(-1)}has(e){const t=this.getId(e);return!!t&&this.viewModels.has(t)}get(e){const t=this.getId(e);return t?this.viewModels.get(t)??this.viewModelsTempHeap.get(t)??null:null}getOrCreateVmId(e){return e.id||(e.id=this.vmConfig.generateId({VM:e.constructor})),e.id}getAll(e){return this.getIds(e).map(e=>this.viewModels.get(e))}async mount(e){const t=this.getOrCreateVmId(e);this.mountingViews.add(t),await(e.mount?.()),Gt(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),Gt(()=>{this.unmountingViews.delete(t)})}attachVMConstructor(e){const t=this.getOrCreateVmId(e),n=e.constructor;if(this.viewModelIdsByClasses.has(n)){const e=this.viewModelIdsByClasses.get(n);e.includes(t)||e.push(t)}else this.viewModelIdsByClasses.set(n,[t])}dettachVMConstructor(e){const t=e.constructor;if(this.viewModelIdsByClasses.has(t)){const n=this.viewModelIdsByClasses.get(t).filter(t=>t!==e.id);n.length>0?this.viewModelIdsByClasses.set(t,n):this.viewModelIdsByClasses.delete(t)}}markToBeAttached(e){const t=this.getOrCreateVmId(e);this.viewModelsTempHeap.set(t,e),"attachViewModelStore"in e&&e.attachViewModelStore(this),this.attachVMConstructor(e)}async attach(e){const t=this.getOrCreateVmId(e),n=this.instanceAttachedCount.get(t)??0;this.instanceAttachedCount.set(t,n+1),this.viewModels.has(t)||(this.viewModels.set(t,e),this.attachVMConstructor(e),await this.mount(e),this.viewModelsTempHeap.delete(t))}async detach(e){const t=this.instanceAttachedCount.get(e)??0;this.viewModelsTempHeap.delete(e);const n=this.viewModels.get(e);if(!n)return;const r=t-1;this.instanceAttachedCount.set(e,r),r<=0&&("willUnmount"in n&&n.willUnmount(),this.instanceAttachedCount.delete(e),this.viewModels.delete(e),this.dettachVMConstructor(n),await this.unmount(n))}isAbleToRenderView(e){const t=this.mountingViews.has(e),n=this.viewModels.has(e);return!!e&&n&&!t}clean(){this.viewModels.clear(),this.linkedComponentVMClasses.clear(),this.viewModelIdsByClasses.clear(),this.instanceAttachedCount.clear(),this.mountingViews.clear(),this.unmountingViews.clear(),this.viewModelsTempHeap.clear()}}class Bo extends Vo{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}class Uo extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const Wo=(e,...t)=>"function"==typeof e?e(...t):e;var Ho="object"==typeof global&&global&&global.Object===Object&&global,Ko="object"==typeof self&&self&&self.Object===Object&&self,Go=Ho||Ko||Function("return this")(),$o=Go.Symbol,qo=Object.prototype,Yo=qo.hasOwnProperty,Xo=qo.toString,Qo=$o?$o.toStringTag:void 0,Jo=Object.prototype.toString,Zo=$o?$o.toStringTag:void 0;var ea=/\s/,ta=/^\s+/;function na(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var ra=/^[-+]0x[0-9a-f]+$/i,ia=/^0b[01]+$/i,oa=/^0o[0-7]+$/i,aa=parseInt;function la(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Zo&&Zo in Object(e)?function(e){var t=Yo.call(e,Qo),n=e[Qo];try{e[Qo]=void 0;var r=!0}catch(e){}var i=Xo.call(e);return r&&(t?e[Qo]=n:delete e[Qo]),i}(e):function(e){return Jo.call(e)}(e)}(e)}(e))return NaN;if(na(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=na(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&ea.test(e.charAt(t)););return t}(e)+1).replace(ta,""):e}(e);var n=ia.test(e);return n||oa.test(e)?aa(e.slice(2),n?2:8):ra.test(e)?NaN:+e}var sa=function(){return Go.Date.now()},ua=Math.max,ca=Math.min;function da(e,t,n){var r,i,o,a,l,s,u=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-u>=o}function m(){var e=sa();if(h(e))return v(e);l=setTimeout(m,function(e){var n=t-(e-s);return d?ca(n,o-(e-u)):n}(e))}function v(e){return l=void 0,f&&r?p(e):(r=i=void 0,a)}function g(){var e=sa(),n=h(e);if(r=arguments,i=this,s=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(m,t),c?p(e):a}(s);if(d)return clearTimeout(l),l=setTimeout(m,t),p(s)}return void 0===l&&(l=setTimeout(m,t)),a}return t=la(t)||0,na(n)&&(c=!!n.leading,o=(d="maxWait"in n)?ua(la(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=s=i=l=void 0},g.flush=function(){return void 0===l?a:v(sa())},g}let fa=class{constructor(e){if(this.config=e,this.abortController=new Uo(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),We.ref(this,"isActivated"),We.ref(this,"localActions"),$e.struct(this,"actions"),Ht.bound(this,"handleKeyboardClick"),Ht.bound(this,"setActions"),xn(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new Uo;Qt(()=>e.current,e=>{e?(globalThis.document?.activeElement===e&&this.activate(),e.addEventListener("focus",this.activate,{signal:t.signal}),e.addEventListener("blur",this.deactivate,{signal:t.signal})):(t.abort(),t=new Uo(this.abortController.signal))},{fireImmediately:!0,signal:this.abortController.signal})}globalThis.addEventListener("keydown",this.handleKeyboardClick,{signal:this.abortController.signal}),"keyclick"===e.activateStrategy?.type&&(globalThis.addEventListener("click",this.activate,{signal:this.abortController.signal}),globalThis.addEventListener("mousemove",this.activate,{signal:this.abortController.signal}))}abortController;activateStrategy;localActions;isActivated;get actions(){const e=this.localActions??this.config.actions;return Wo(e)??[]}setActions(e){this.localActions=e}activate=()=>{this.isActivated||(this.isActivated=!0,this.config.onActivate?.())};deactivate=()=>{this.isActivated&&(this.isActivated=!1,this.config.onDeactivate?.())};handleKeyboardClick(e){if(this.config.onKeyClick?.(e),"keyclick"===this.activateStrategy.type&&this.activate(),this.isActivated)for(let t=0;t<this.actions.length;t++){const n=this.actions[t];if(!Wo(n.disabled))for(let t=0;t<n.shortcuts.length;t++)if(n.shortcuts[t].split("+").every(t=>this.checkKey(e,t)))return void Gt(()=>{n.action(e)})}}checkKey(e,t){return!!("Shift"===t&&e.shiftKey||("Ctrl"===t||"Control"===t)&&e.ctrlKey||"Alt"===t&&e.altKey||("Windows"===t||"Meta"===t||"Command"===t||"⌘"===t||"Win"===t)&&e.metaKey||t===e.key||t===e.code)}destroy(){this.abortController.abort()}};class pa{constructor(e){this.config=e,this.abortController=new Uo(e?.abortSignal),this.abortSignal=this.abortController.signal,xn(this)}abortController;abortSignal;getStorage(e){return"session"===(e.type??this.config?.type)?globalThis.sessionStorage:globalThis.localStorage}createKey(e){if(this.config?.createKey)return this.config.createKey(e);const t=e.prefix??this.config?.prefix??"",n=e.namespace??this.config?.namespace;return`${t?`${t}/`:""}${n?`${n}/`:""}${e.key}`}get(e){const t=this.createKey(e),n=this.getStorage(e).getItem(t);let r=null;if("string"==typeof n)try{r=JSON.parse(n)}catch{r=null}else r=n;return r??e.fallback??null}formatValue(e){return JSON.stringify(e)}set(e){const t=this.createKey(e);this.getStorage(e).setItem(t,e.format?e.format(e.value):this.formatValue(e.value))}syncProperty(e,t,n){const r=n?.key??t,i=n&&"fallback"in n?n.fallback:e[t];Gt(()=>{e[t]=this.get({...n,key:r,fallback:i})??e[t]});const o=qt(()=>{const i=e[t];this.set({...n,key:r,value:i})},{signal:this.abortSignal});return this.abortSignal.addEventListener("abort",o),()=>{this.abortSignal.removeEventListener("abort",o),o()}}destroy(){this.abortController.abort()}}var ha,ma={},va=function(){if(ha)return ma;ha=1;var e=Nr();return ma.createRoot=e.createRoot,ma.hydrateRoot=e.hydrateRoot,ma}();function ga(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ga(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const ba=e=>{const t=xa(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),ya(n,t)||_a(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},ya=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?ya(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},wa=/^\[(.+)\]$/,_a=e=>{if(wa.test(e)){const t=wa.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},xa=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)ka(n[e],r,e,t);return r},ka=(e,t,n,r)=>{e.forEach(e=>{if("string"!=typeof e)return"function"==typeof e?Ea(e)?void ka(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n}):void Object.entries(e).forEach(([e,i])=>{ka(i,Sa(t,e),n,r)});(""===e?t:Sa(t,e)).classGroupId=n})},Sa=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},Ea=e=>e.isThemeGetter,Ca=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},Oa=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let l=e[a];if(0===r&&0===i){if(":"===l){t.push(e.slice(o,a)),o=a+1;continue}if("/"===l){n=a;continue}}"["===l?r++:"]"===l?r--:"("===l?i++:")"===l&&i--}const a=0===t.length?e:e.substring(o),l=Ta(a);return{modifiers:t,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},Ta=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Aa=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},Ma=/\s+/;function Na(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Pa(e))&&(r&&(r+=" "),r+=t);return r}const Pa=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Pa(e[r]))&&(n&&(n+=" "),n+=t);return n};const La=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ra=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,za=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ia=/^\d+\/\d+$/,ja=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Da=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Va=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Fa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ba=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ua=e=>Ia.test(e),Wa=e=>!!e&&!Number.isNaN(Number(e)),Ha=e=>!!e&&Number.isInteger(Number(e)),Ka=e=>e.endsWith("%")&&Wa(e.slice(0,-1)),Ga=e=>ja.test(e),$a=()=>!0,qa=e=>Da.test(e)&&!Va.test(e),Ya=()=>!1,Xa=e=>Fa.test(e),Qa=e=>Ba.test(e),Ja=e=>!el(e)&&!al(e),Za=e=>pl(e,gl,Ya),el=e=>Ra.test(e),tl=e=>pl(e,bl,qa),nl=e=>pl(e,yl,Wa),rl=e=>pl(e,ml,Ya),il=e=>pl(e,vl,Qa),ol=e=>pl(e,_l,Xa),al=e=>za.test(e),ll=e=>hl(e,bl),sl=e=>hl(e,wl),ul=e=>hl(e,ml),cl=e=>hl(e,gl),dl=e=>hl(e,vl),fl=e=>hl(e,_l,!0),pl=(e,t,n)=>{const r=Ra.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},hl=(e,t,n=!1)=>{const r=za.exec(e);return!!r&&(r[1]?t(r[1]):n)},ml=e=>"position"===e||"percentage"===e,vl=e=>"image"===e||"url"===e,gl=e=>"length"===e||"size"===e||"bg-size"===e,bl=e=>"length"===e,yl=e=>"number"===e,wl=e=>"family-name"===e,_l=e=>"shadow"===e,xl=function(e,...t){let n,r,i,o=function(l){const s=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Ca(e.cacheSize),parseClassName:Oa(e),sortModifiers:Aa(e),...ba(e)}))(s),r=n.cache.get,i=n.cache.set,o=a,a(l)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],l=e.trim().split(Ma);let s="";for(let e=l.length-1;e>=0;e-=1){const t=l[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(u){s=t+(s.length>0?" "+s:s);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=t+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=t+(s.length>0?" "+s:s);continue}h=!1}const v=o(c).join(":"),g=d?v+"!":v,b=g+m;if(a.includes(b))continue;a.push(b);const y=i(m,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(g+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return i(e,o),o}return function(){return o(Na.apply(null,arguments))}}(()=>{const e=La("color"),t=La("font"),n=La("text"),r=La("font-weight"),i=La("tracking"),o=La("leading"),a=La("breakpoint"),l=La("container"),s=La("spacing"),u=La("radius"),c=La("shadow"),d=La("inset-shadow"),f=La("text-shadow"),p=La("drop-shadow"),h=La("blur"),m=La("perspective"),v=La("aspect"),g=La("ease"),b=La("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",al,el],w=()=>[al,el,s],_=()=>[Ua,"full","auto",...w()],x=()=>[Ha,"none","subgrid",al,el],k=()=>["auto",{span:["full",Ha,al,el]},Ha,al,el],S=()=>[Ha,"auto",al,el],E=()=>["auto","min","max","fr",al,el],C=()=>["auto",...w()],O=()=>[Ua,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],T=()=>[e,al,el],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ul,rl,{position:[al,el]}],M=()=>["auto","cover","contain",cl,Za,{size:[al,el]}],N=()=>[Ka,ll,tl],P=()=>["","none","full",u,al,el],L=()=>["",Wa,ll,tl],R=()=>[Wa,Ka,ul,rl],z=()=>["","none",h,al,el],I=()=>["none",Wa,al,el],j=()=>["none",Wa,al,el],D=()=>[Wa,al,el],V=()=>[Ua,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ga],breakpoint:[Ga],color:[$a],container:[Ga],"drop-shadow":[Ga],ease:["in","out","in-out"],font:[Ja],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ga],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ga],shadow:[Ga],spacing:["px",Wa],text:[Ga],"text-shadow":[Ga],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ua,el,al,v]}],container:["container"],columns:[{columns:[Wa,el,al,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{start:_()}],end:[{end:_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[Ha,"auto",al,el]}],basis:[{basis:[Ua,"full","auto",l,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Wa,Ua,"auto","initial","none",el]}],grow:[{grow:["",Wa,al,el]}],shrink:[{shrink:["",Wa,al,el]}],order:[{order:[Ha,"first","last","none",al,el]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[l,"screen",...O()]}],"min-w":[{"min-w":[l,"screen","none",...O()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,ll,tl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,al,nl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ka,el]}],"font-family":[{font:[sl,el,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,al,el]}],"line-clamp":[{"line-clamp":[Wa,"none",al,nl]}],leading:[{leading:[o,...w()]}],"list-image":[{"list-image":["none",al,el]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",al,el]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Wa,"from-font","auto",al,tl]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[Wa,"auto",al,el]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",al,el]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",al,el]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ha,al,el],radial:["",al,el],conic:[Ha,al,el]},dl,il]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Wa,al,el]}],"outline-w":[{outline:["",Wa,ll,tl]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",c,fl,ol]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,fl,ol]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[Wa,tl]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,fl,ol]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[Wa,al,el]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Wa]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[al,el]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Wa]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:A()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",al,el]}],filter:[{filter:["","none",al,el]}],blur:[{blur:z()}],brightness:[{brightness:[Wa,al,el]}],contrast:[{contrast:[Wa,al,el]}],"drop-shadow":[{"drop-shadow":["","none",p,fl,ol]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",Wa,al,el]}],"hue-rotate":[{"hue-rotate":[Wa,al,el]}],invert:[{invert:["",Wa,al,el]}],saturate:[{saturate:[Wa,al,el]}],sepia:[{sepia:["",Wa,al,el]}],"backdrop-filter":[{"backdrop-filter":["","none",al,el]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[Wa,al,el]}],"backdrop-contrast":[{"backdrop-contrast":[Wa,al,el]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Wa,al,el]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Wa,al,el]}],"backdrop-invert":[{"backdrop-invert":["",Wa,al,el]}],"backdrop-opacity":[{"backdrop-opacity":[Wa,al,el]}],"backdrop-saturate":[{"backdrop-saturate":[Wa,al,el]}],"backdrop-sepia":[{"backdrop-sepia":["",Wa,al,el]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",al,el]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Wa,"initial",al,el]}],ease:[{ease:["linear","initial",g,al,el]}],delay:[{delay:[Wa,al,el]}],animate:[{animate:["none",b,al,el]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,al,el]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:I()}],"rotate-x":[{"rotate-x":I()}],"rotate-y":[{"rotate-y":I()}],"rotate-z":[{"rotate-z":I()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:D()}],"skew-x":[{"skew-x":D()}],"skew-y":[{"skew-y":D()}],transform:[{transform:[al,el,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:V()}],"translate-x":[{"translate-x":V()}],"translate-y":[{"translate-y":V()}],"translate-z":[{"translate-z":V()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",al,el]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",al,el]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[Wa,ll,tl,nl]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),kl=(...e)=>xl(function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ga(e))&&(r&&(r+=" "),r+=t);return r}(...e)),Sl="dragging_kUMCE",El="opened_NYAFW",Cl="isConnected_eObxX",Ol=zo(class extends Vo{devtools=this.parentViewModel.devtools;storage=new pa({namespace:"mobx-view-model-devtools",prefix:"devtools-button",type:"local"});rect=null;ref=bi({onSet:e=>{const t={isDragging:!1,offsetX:0,offsetY:0,hasMoved:!1,startX:0,startY:0},n=this.storage.get({key:"left",fallback:""}),r=this.storage.get({key:"top",fallback:""});if(n&&r){const{x:t,y:i}=this.fixPosition(n,r);e.style.left=`${t}px`,e.style.top=`${i}px`}e.addEventListener("mousedown",n=>{t.isDragging=!0,t.hasMoved=!1;const r=e.getBoundingClientRect();t.offsetX=r.left-n.clientX,t.offsetY=r.top-n.clientY,t.startX=r.left,t.startY=r.top,e.classList.add(Sl)}),e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()}),document.addEventListener("mousemove",n=>{if(!t.isDragging)return;const{x:r,y:i}=this.fixPosition(n.clientX+t.offsetX,n.clientY+t.offsetY);e.style.left=`${r}px`,e.style.top=`${i}px`,r===t.startX&&i===t.startY||(t.hasMoved=!0)}),document.addEventListener("mouseup",()=>{t.isDragging=!1,e.classList.remove(Sl),this.position!==this.devtools.position&&Gt(()=>{this.devtools.position=this.position,this.storage.set({key:"left",value:e.style.left}),this.storage.set({key:"top",value:e.style.top})})})}});handleClick=()=>{this.devtools.isPopupOpened?this.devtools.hidePopup():this.devtools.showPopup()};get position(){const{left:e,top:t}=this.offsets,n=e<window.innerWidth/2,r=t<window.innerHeight/2;return r&&n?"top-left":r&&!n?"top-right":!r&&n?"bottom-left":"bottom-right"}get offsets(){return this.rect=this.ref.current?.getBoundingClientRect(),{left:this.rect?.left??0,top:this.rect?.top??0}}get size(){return!this.rect&&this.ref.current&&(this.rect=this.ref.current.getBoundingClientRect()),{width:this.rect?.width??0,height:this.rect?.height??0}}fixPosition(e,t){const n=window.innerWidth-this.size.width-12,r=window.innerHeight-this.size.height-12;let i="string"==typeof e?+e.replace("px","")||0:e,o="string"==typeof t?+t.replace("px","")||0:t;return i<12&&(i=12),o<12&&(o=12),i>n&&(i=n),o>r&&(o=r),{x:i,y:o}}},({model:e})=>d.jsxs("button",{className:kl("vmButton_esipO",{[El]:e.devtools.isPopupOpened,[Cl]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[d.jsx("img",{src:e.devtools.logoUrl}),d.jsx("div",{}),d.jsx("span",{children:e.devtools.allVms.length})]})),Tl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 13.28a.75.75 0 0 0 1.06 0l2-2a.75.75 0 1 0-1.06-1.06l-.72.72V3.25a.75.75 0 0 0-1.5 0v7.69l-.72-.72a.75.75 0 1 0-1.06 1.06zM7.75 12a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5zm0-3.25a.75.75 0 0 1 0-1.5h5.5a.75.75 0 0 1 0 1.5zm0-4.75a.75.75 0 0 1 0-1.5h2.5a.75.75 0 0 1 0 1.5z",clipRule:"evenodd"})),Al=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 3.25a.75.75 0 0 1 .75-.75h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 3.25M3 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 3 8m3.75 4a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Ml=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 2.72a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1-1.06 1.06l-.72-.72v7.69a.75.75 0 0 1-1.5 0V5.06l-.72.72A.75.75 0 0 1 .22 4.72zM7.75 4a.75.75 0 0 1 0-1.5h7.5a.75.75 0 0 1 0 1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 4.75a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Nl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0",clipRule:"evenodd"})),Pl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5M11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3zM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5",clipRule:"evenodd"})),Ll=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 13.5v-3A.5.5 0 0 1 8 10h.672a.5.5 0 0 1 .353.146l.414.415.44.439H13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5M6 13H4.5a3 3 0 0 1-3-3V1.25a.75.75 0 0 1 1.5 0V2a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V5H4.5A3 3 0 0 1 3 4.599V10a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm1.5-8.75V5.5A.5.5 0 0 0 8 6h5a.5.5 0 0 0 .5-.5v-2A.5.5 0 0 0 13 3H9.879l-.44-.44-.414-.414A.5.5 0 0 0 8.672 2H8a.5.5 0 0 0-.5.5z",clipRule:"evenodd"})),Rl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})),zl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",clipRule:"evenodd"})),Il=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})),jl=null,{min:Dl,max:Vl,abs:Fl,floor:Bl}=Math,Ul=(e,t,n)=>Dl(n,Vl(t,e)),Wl=e=>[...e].sort((e,t)=>e-t),Hl="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},Kl=()=>{let e;return[new Promise(t=>{e=t}),e]},Gl=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},$l=(e,t,n)=>{const r=n?"unshift":"push";for(let n=0;n<t;n++)e[r](-1);return e},ql=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},Yl=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=Dl(t,e.i),r},Xl=(e,t)=>{if(!e.l)return 0;if(e.i>=t)return e.u[t];e.i<0&&(e.u[0]=0,e.i=0);let n=e.i,r=e.u[n];for(;n<t;)r+=ql(e,n),e.u[++n]=r;return e.i=t,r},Ql=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const i=Bl((n+r)/2);if(Xl(e,i)<=t){if(Xl(e,i+1)>t)return i;n=i+1}else r=i-1}return Ul(n,0,e.l-1)},Jl=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:Dl(t-1,e.i),e.l=t,r>0?($l(e.u,r),$l(e.t,r,n),e.o*r):(e.u.splice(r),(n?e.t.splice(0,-r):e.t.splice(r)).reduce((t,n)=>t-(-1===n?e.o:n),0))},Zl="undefined"!=typeof window,es=()=>document.documentElement,ts=Gl(()=>!!Zl&&"rtl"===getComputedStyle(es()).direction),ns=Gl(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),rs=Gl(()=>"scrollBehavior"in es().style),is=setTimeout,os=(e,t)=>t&&ts()?-e:e,as=(e,t)=>{let n,r,i=Kl();const o=t?"scrollLeft":"scrollTop",a=t?"overflowX":"overflowY",[l,s]=((e,t,n)=>{let r;return[async(i,o)=>{if(!await t())return;r&&r();const a=()=>{const[t,n]=Kl();return r=()=>{n(!1)},e.p()&&is(r,150),[t,e.B(2,()=>{n(!0)})]};if(o&&rs())e.J(8,i()),Hl(async()=>{for(;;){let t=!0;for(let[n,r]=e.S();n<=r;n++)if(e.k(n)){t=!1;break}if(t)break;const[n,r]=a();try{if(!await n)return}finally{r()}}e.J(7),n(i(),o)});else for(;;){const[t,r]=a();try{if(e.J(7),n(i()),!await t)return}finally{r()}}},()=>{r&&r()}]})(e,()=>i[0],(e,r)=>{e=os(e,t),r?n.scrollTo({[t?"left":"top"]:e,behavior:"smooth"}):n[o]=e});return{P(l){n=l,r=((e,t,n,r,i)=>{const o=Date.now;let a=0,l=!1,s=!1,u=!1,c=!1;const d=(()=>{let t;const n=()=>{t!=jl&&clearTimeout(t)},r=()=>{n(),t=is(()=>{t=jl,(()=>{if(l||s)return l=!1,void d();u=!1,e.J(2)})()},150)};return r.A=n,r})(),f=()=>{a=o(),u&&(c=!0),e.J(1,r()),d()},p=t=>{if(l||!e.H()||t.ctrlKey)return;const r=o()-a;150>r&&50<r&&(n?t.deltaX:t.deltaY)&&(l=!0)},h=()=>{s=!0,u=c=!1},m=()=>{s=!1,ns()&&(u=!0)};return t.addEventListener("scroll",f),t.addEventListener("wheel",p,{passive:!0}),t.addEventListener("touchstart",h,{passive:!0}),t.addEventListener("touchend",m,{passive:!0}),{L:()=>{t.removeEventListener("scroll",f),t.removeEventListener("wheel",p),t.removeEventListener("touchstart",h),t.removeEventListener("touchend",m),d.A()},D:()=>{const[t,o]=e.O();t&&(i(os(t,n),o,c),c=!1,o&&e.p()>e.h()&&e.J(1,r()))}}})(e,l,t,()=>os(l[o],t),(t,n,r)=>{if(r){const e=l.style,t=e[a];e[a]="hidden",is(()=>{e[a]=t})}l[o]=e.C()+t,n&&s()}),i[1](!0)},v(){r&&r.L(),i[1](!1),i=Kl()},V(e){l(()=>e)},X(t){t+=e.C(),l(()=>t)},Y(t,{align:n,smooth:r,offset:i=0}={}){if(t=Ul(t,0,e.M()-1),"nearest"===n){const r=e.R(t),i=e.C();if(r<i)n="start";else{if(!(r+e.T(t)>i+e.p()))return;n="end"}}l(()=>i+e.W()+e.R(t)+("end"===n?e.T(t)-e.p():"center"===n?(e.T(t)-e.p())/2:0),r)},j:()=>{r&&r.D()}}},ls=(e,t)=>{let n;const r=t?"width":"height",i=new WeakMap,o=(e=>{let t;return{q(n){(t||(t=new((e=>e.defaultView)((e=>e.ownerDocument)(n)).ResizeObserver)(e))).observe(n)},G(e){t.unobserve(e)},L(){t&&t.disconnect()}}})(t=>{const o=[];for(const{target:a,contentRect:l}of t)if(a.offsetParent)if(a===n)e.J(4,l[r]);else{const e=i.get(a);e!=jl&&o.push([e,l[r]])}o.length&&e.J(3,o)});return{U(e){o.q(n=e)},F:(e,t)=>(i.set(e,t),o.q(e),()=>{i.delete(e),o.G(e)}),v:o.L}},ss=Zl?o.useLayoutEffect:o.useEffect,us="current",cs=(e,t)=>{if(Array.isArray(e))for(const n of e)cs(n,t);else null==e||"boolean"==typeof e||t.push(e)},ds=e=>{const t=o.useRef(e);return ss(()=>{t[us]=e},[e]),t},fs=o.memo(({Z:e,ee:t,te:n,oe:r,ne:i,re:a,ie:l,se:s})=>{const u=o.useRef(null);ss(()=>t(u[us],n),[n]);const c=o.useMemo(()=>{const e={contain:"layout style",position:i&&s?void 0:"absolute",[l?"height":"width"]:"100%",[l?"top":"left"]:0,[l?ts()?"right":"left":"top"]:r,visibility:!i||s?void 0:"hidden"};return l&&(e.display="inline-flex"),e},[r,i,s,l]);return d.jsx(a,"string"==typeof a?{ref:u,style:c,children:e}:{ref:u,style:c,index:n,children:e})}),ps=o.forwardRef(({children:e,data:t,bufferSize:n,itemSize:r,shift:i,horizontal:a,keepMounted:l,cache:s,startMargin:u=0,ssrCount:c,as:f="div",item:p="div",scrollRef:h,onScroll:m,onScrollEnd:v},g)=>{const[b,y]=((e,t)=>o.useMemo(()=>{if("function"==typeof e)return[n=>e(t[n],n),t.length];const n=(e=>{const t=[];return cs(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),w=o.useRef(null),_=o.useRef(!!c),x=ds(m),k=ds(v),[S,E,C,O]=(()=>{const e=o.useRef(null);return e[us]||(e[us]=(()=>{const e=!!a,t=((e,t=40,n=0,r,i=!1)=>{let o=!!n,a=1,l=0,s=0,u=0,c=0,d=0,f=0,p=0,h=0,m=jl,v=[0,o?Vl(n-1,0):-1],g=0;const b=(T=e,A=t,{o:(M=r)?M[1]:A,t:M&&M[0]?$l(M[0].slice(0,Dl(T,M[0].length)),Vl(0,T-M[0].length)):$l([],T),l:T,i:-1,u:$l([],T+1)}),y=new Set,w=()=>u-s,_=()=>w()+d+c,x=(e,t)=>((e,t,n,r)=>{if(r=Dl(r,e.l-1),Xl(e,r)<=t){const i=Ql(e,n,r);return[Ql(e,t,r,i),i]}{const i=Ql(e,t,void 0,r);return[i,Ql(e,n,i)]}})(b,e,t,v[0]),k=()=>Xl(b,b.l),S=e=>Xl(b,e)-d,E=e=>ql(b,e),C=(e,t=-1)=>b.t[e]===t,O=e=>{e&&(ns()&&0!==p||m&&1===h?d+=e:c+=e)};var T,A,M;return{v:()=>{y.clear()},m:()=>a,_:()=>(e=>[e.t.slice(),e.o])(b),S:(e=200)=>{if(!l||o)return v;let t,n;if(f)[t,n]=v;else{let r=Vl(0,_()),o=r+l;i||(e=Vl(0,e),1!==p&&(r-=e),2!==p&&(o+=e)),[t,n]=v=x(Vl(0,r),Vl(0,o)),m&&(t=Dl(t,m[0]),n=Vl(n,m[1]))}return[Vl(t,0),Dl(n,b.l-1)]},$:()=>Ql(b,_()),I:()=>Ql(b,_()+l),k:C,R:S,T:E,M:()=>b.l,C:()=>u,H:()=>0!==p,p:()=>l,W:()=>s,h:k,O:()=>(f=c,c=0,[f,2===h]),B:(e,t)=>{const n=[e,t];return y.add(n),()=>{y.delete(n)}},J:(e,t)=>{let n,r,v=0;switch(e){case 1:{if(t===u&&0===h)break;const e=f;f=0;const n=t-u,i=Fl(n);e&&i<Fl(e)+1||0!==h||(p=n<0?2:1),o&&(o=!1),u=t,v=4;const a=w();a>=-l&&a<=k()&&(v+=1,r=i>l);break}case 2:v=8,0!==p&&(n=!0,v+=1),p=0,h=0,m=jl;break;case 3:{const e=t.filter(([e,t])=>!C(e,t));if(!e.length)break;O(e.reduce((e,[t,n])=>((2===h||(m&&1===h?t<m[0]:S(t+(0===p&&0===h?1:0))<w()))&&(e+=n-E(t)),e),0));for(const[t,n]of e){const e=E(t),r=Yl(b,t,n);i&&(g+=r?n:n-e)}i&&l&&g>l&&(O(((e,t)=>{let n=0;const r=[];e.t.forEach((e,i)=>{-1!==e&&(r.push(e),i<t&&n++)}),e.i=-1;const i=Wl(r),o=i.length,a=o/2|0,l=o%2==0?(i[a-1]+i[a])/2:i[a],s=e.o;return((e.o=l)-s)*Vl(t-n,0)})(b,Ql(b,_()))),i=!1),v=3,r=!0;break}case 4:l!==t&&(l||(r=!0),l=t,v=3);break;case 5:t[1]?(O(Jl(b,t[0],!0)),h=2,v=1):(Jl(b,t[0]),v=1);break;case 6:s=t;break;case 7:h=1;break;case 8:m=x(t,t+l),v=1}v&&(a=1+(2147483647&a),n&&d&&(c+=d,d=0),y.forEach(([e,t])=>{v&e&&t(r)}))}}})(y,r,c,s,!r);return[t,ls(t,e),as(t,e),e]})())})();y!==S.M()&&S.J(5,[y,i]),u!==S.W()&&S.J(6,u);const[T,A]=o.useReducer(S.m,void 0,S.m),M=S.H(),N=S.h(),P=[],L=e=>{const t=b(e);return d.jsx(fs,{ee:E.F,te:e,oe:S.R(e),ne:S.k(e),re:p,Z:t,ie:O,se:_[us]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(ss(()=>{_[us]=!1,S.B(1,e=>{e?Pr.flushSync(A):A()}),S.B(4,()=>{x[us]&&x[us](S.C())}),S.B(8,()=>{k[us]&&k[us]()});const e=e=>{E.U(e),C.P(e)};return h?Hl(()=>{h[us]&&e(h[us])}):e(w[us].parentElement),()=>{S.v(),E.v(),C.v()}},[]),ss(()=>{C.j()},[T]),o.useImperativeHandle(g,()=>({get cache(){return S._()},get scrollOffset(){return S.C()},get scrollSize(){return Vl((e=S).h(),e.p());var e},get viewportSize(){return S.p()},findStartIndex:S.$,findEndIndex:S.I,getItemOffset:S.R,getItemSize:S.T,scrollToIndex:C.Y,scrollTo:C.V,scrollBy:C.X}),[]),l){const e=new Set(l);for(let[t,r]=S.S(n);t<=r;t++)e.add(t);Wl([...e]).forEach(e=>{P.push(L(e))})}else for(let[e,t]=S.S(n);e<=t;e++)P.push(L(e));return d.jsx(f,{ref:w,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:O?N:"100%",height:O?"100%":N,pointerEvents:M?"none":void 0},children:P})});class hs{constructor(e,t,n,r,i){this.devtools=e,this.key=t,this._data=n,this.getChildren=r,this.cache=i??e.anyCache,this.expandKey=`${t}/expand-key`,$e(this,"isExpanded"),$e(this,"isFitted"),$e(this,"totalChildCount"),$e(this,"depthLine"),$e(this,"depth"),$e(this,"stringifiedData"),$e.struct(this,"operations"),$e.struct(this,"children"),$e.struct(this,"expandedChildren"),$e.struct(this,"expandedChildrenWithSelf"),$e(this,"data"),$e(this,"isExpandable"),Ht(this,"expand"),Ht(this,"collapse"),xn(this)}cache;get isExpanded(){return!0===this.cache.get(this.expandKey)}get children(){return this.getChildren?.(this)??[]}get isExpandable(){return this.children.length>0}expand(){this.isExpandable&&this.cache.set(this.expandKey,!0)}collapse(){this.cache.set(this.expandKey,!1)}toggleExpand(){this.isExpanded?this.collapse():this.expand()}get expandedChildren(){if(!this.isExpanded)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return e}get expandedChildrenWithSelf(){return[this,...this.expandedChildren]}get data(){return this._data}get isFitted(){return!0}get depthLine(){return String().padEnd(this.depth,"-")}get stringifiedData(){return String(this.data)}get operations(){return[]}expandKey}const ms=new Set(["constructor"]),vs=new Set([globalThis.Object.prototype,globalThis.Function.prototype,globalThis.Array.prototype,globalThis.String.prototype,globalThis.Number.prototype,globalThis.Boolean.prototype,globalThis.Symbol.prototype,globalThis.Date.prototype,globalThis.RegExp.prototype,globalThis.Error.prototype,globalThis.Map.prototype,globalThis.Set.prototype,globalThis.WeakMap.prototype,globalThis.WeakSet.prototype,globalThis.ArrayBuffer.prototype,globalThis.DataView.prototype,globalThis.Float32Array.prototype,globalThis.Float64Array.prototype,globalThis.Int8Array.prototype,globalThis.Int16Array.prototype,globalThis.Int32Array.prototype,globalThis.Uint8Array.prototype,globalThis.Uint8ClampedArray.prototype,globalThis.Uint16Array.prototype,globalThis.Uint32Array.prototype,globalThis.BigInt64Array.prototype,globalThis.BigUint64Array.prototype,globalThis.Promise.prototype,globalThis.Iterator.prototype]);function gs(e){const t=new Set(Object.keys(e));let n=Object.getPrototypeOf(e);for(;n&&n!==globalThis.Object.prototype;){const e=Object.getOwnPropertyDescriptors(n);for(const n in e)ms.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(vs.has(r))break;n=r}return Array.from(t)}class bs extends hs{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}class ys extends hs{constructor(e,t,n,r){const i=t.constructor.name;super(e,`${i}-${t.id}`,t,void 0,new Map),this.allVms=n,this.parent=r,this.displayName=i,this.searchData={name:i.toLowerCase().trim(),id:(t.id||"").toLowerCase().trim()},$e.struct(this,"childVMListItems"),$e.struct(this,"propertyListItems"),xn(this),ht(()=>{this.expand()})}get childVMListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return t?.parentViewModel&&t.parentViewModel===this.data}).map(e=>new ys(this.devtools,e,this.allVms,this))}get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n,r;return e.segments[1]?(n=this.searchData.id===t,r=this.searchData.name===t):(n=this.searchData.id.startsWith(t),r=this.searchData.name.startsWith(t)),r||n}get propertyListItems(){let e=gs(this.data);return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>ws.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems,...this.childVMListItems]}getVmParams(e){return"vmParams"in e?e.vmParams:null}get depth(){return this.parent&&"tree"===this.devtools.presentationMode?this.parent.depth+1:0}searchData;displayName}class ws extends hs{constructor(e,t,n,r,i){super(e,ws.createKey(i,t),void 0),this.property=t,this.path=n,this.order=r,this.parent=i,$e(this,"type"),$e(this,"searchData"),$e(this,"propertyClosingTag"),$e(this,"dataType"),$e(this,"stringifiedDataType"),$e(this,"extraContent"),We.ref(this,"failedStringify"),xn(this)}get data(){return this.property&&this.parent.data[this.property]}get dataType(){return typeof this.data}get stringifiedDataType(){return Object.prototype.toString.call(this.data)}get type(){return Array.isArray(this.data)?"array":gi.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":gi.isFunction(this.data)?"function":gi.isObject(this.data)?"object":this.stringifiedDataType.startsWith("[object ")&&this.data&&"object"==typeof this.data&&"constructor"in this.data?"instance":"primitive"}get children(){let e=[];if("array"===this.type)e=Object.keys(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this)),e.push(ws.create(this.devtools,"length",`${this.path}.length`,e.length,this));else if("function"===this.type)e=Object.keys(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this));else if("instance"===this.type||"object"===this.type)return gs(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this));return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>{const n=String(e.property),r=String(t.property);return"asc"===this.devtools.sortPropertiesBy?n.localeCompare(r):r.localeCompare(n)})),e}get isFitted(){const{searchEngine:e}=this.devtools;return!e.isActive||!this.property||e.segments.some(e=>e.startsWith(this.property))}get extraContent(){if(this.isExpanded)return null;if(this.parent.isExpanded){if(this.parent instanceof ys)return",";if(this.parent instanceof ws)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new bs(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new bs(this.devtools,`${this.key}/closing-tag`,"}",this.depth);default:return null}}get expandedChildren(){if(!this.isExpanded||!this.isExpandable)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return this.propertyClosingTag&&e.push(this.propertyClosingTag),e}get depth(){return this.parent.depth+1}get searchData(){return{property:this.property?.toLowerCase()||""}}failedStringify=!1;get isCopiable(){return"instance"!==this.type&&!this.failedStringify}get stringifiedData(){switch(this.type){case"object":case"array":try{return JSON.stringify(this.data,null,2)}catch(e){return Gt(()=>{this.failedStringify=!0}),super.stringifiedData}default:switch(this.dataType){case"symbol":return`Symbol(${Symbol.keyFor(this.data)||""})`;case"string":return`"${super.stringifiedData}"`}return super.stringifiedData}}get operations(){return this.isCopiable?[{title:"Copy",icon:Pl,action:()=>navigator.clipboard.writeText(this.stringifiedData)}]:[]}static createKey(e,t){return`${e.key}-${t}`}static create(e,t,n,r,i){const o=i.cache??e.anyCache,a=`${ws.createKey(i,t)}/list-item`;let l=o.get(a);return l||(l=new ws(e,t,n,r,i),o.set(a,l)),l}}class _s extends hs{get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n;return n=e.segments[1]?this.searchData.name===t:this.searchData.name.startsWith(t),n}get propertyListItems(){let e=Object.keys(this.data||{});return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>ws.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems]}get depth(){return 0}searchData;displayName;constructor(e,t){const n="Extras";super(e,`extra$$$-${n}-`,t,void 0,new Map),this.displayName=n,this.searchData={name:n.toLowerCase().trim()},$e.struct(this,"propertyListItems"),xn(this),ht(()=>{this.expand()})}}const xs="active_6QS-2",ks=({value:e,options:t,className:n,onUpdate:r})=>{const i=[];let o;return t.forEach((n,a)=>{const{icon:l,value:s}=n,u=e===s;u&&(o=a),i.push(d.jsx("div",{className:kl("option_a5IcR",{[xs]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].value)},children:d.jsx(l,{})},a))}),d.jsxs("button",{className:kl("iconToggleButton_R48wm",n),children:[d.jsx("div",{className:"activePosition_IXsRn",style:{"--index":o}}),i]})},Ss="treeItemHeader_9gR6Q",Es="treeItemLabel_eiMgP",Cs="treeItem_sRXPA",Os={expandButton:"expandButton_B24E3",expanded:"expanded_8-pD6",disabled:"disabled_MBq1Q",vmContent:"vmContent_TIK57",vmContentHeader:"vmContentHeader_M1JNM",vmContentHeaderLogo:"vmContentHeaderLogo_FRJDO",vmContentHeaderTitle:"vmContentHeaderTitle_lYmde",vmContentHeaderTitleText:"vmContentHeaderTitleText_RlIFH",vmContentControlPanel:"vmContentControlPanel_CgUN9",vmContentInput:"vmContentInput_29GM1",vmContentControlPanelActions:"vmContentControlPanelActions_lONbA",filled:"filled_6JZa0",vmContentVirtualized:"vmContentVirtualized_lia62",gradientBlur:"gradientBlur_-y-re"},Ts=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:i})=>d.jsx("span",{onClick:n,className:kl(Os.expandButton,{[Os.expandable]:e,[Os.expanded]:t,[Os.disabled]:r}),children:(e||i)&&d.jsx(Nl,{})}),As=qr(({item:e})=>d.jsx("div",{className:kl(Cs,"extraTreeItem_z3KA1"),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:d.jsxs("header",{className:Ss,children:[d.jsx(Ts,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.isExpandable,expanded:e.isExpanded}),d.jsx("label",{className:Es,title:e.displayName,children:e.displayName})]})})),Ms={property:"property_sD8FG",expandable:"expandable_np03F",instance:"instance_jv3IW",primitive:"primitive_v6LAV",boolean:"boolean_Z6znK",number:"number_U9H45",object:"object_bHf4I",bigint:"bigint_HkgX8",symbol:"symbol_oKSwT",undefined:"undefined_6CapW",null:"null_lugoL",string:"string_87vm1",propertyName:"propertyName_KicXG",propertyMeta:"propertyMeta_Ia9ce",propertyValue:"propertyValue_fYO2g",propertyOperations:"propertyOperations_fT6Ez"},Ns=qr(({item:e})=>d.jsx("div",{className:kl(Ms.property,Ms.primitive),style:{"--level":e.depth},"data-fitted":e.isFitted,title:e.stringifiedData,"data-depth":e.depthLine,children:e.content})),Ps=qr(({item:e})=>d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:e.isExpanded?"[":e.isExpandable?"[...]":"[]"})]})),Ls=qr(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),`(${t.join(", ")})`]})}),Rs=qr(({item:e})=>{const t=e.data.constructor.name;return d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:`${t}`}),e.isExpanded&&d.jsxs(d.Fragment,{children:[" ","{"]})]})}),zs=qr(({item:e})=>d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:e.isExpanded?"{":e.isExpandable?"{...}":"{}"})]})),Is=qr(({item:e})=>d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:e.stringifiedData})]})),js=qr(e=>{const{item:t}=e;let n=null;switch(e.item.type){case"array":n=d.jsx(Ps,{...e});break;case"function":n=d.jsx(Ls,{...e});break;case"instance":n=d.jsx(Rs,{...e});break;case"object":n=d.jsx(zs,{...e});break;case"primitive":n=d.jsx(Is,{...e})}return d.jsxs("div",{className:kl(Ms.property,Ms[t.type],Ms[t.dataType],{[Ms.null]:null===t.data,[Ms.expandable]:t.isExpandable,[Ms.expanded]:t.isExpanded}),style:{"--level":t.depth,"--order":t.order},"data-fitted":t.isFitted,title:t.stringifiedData,onClick:e=>t.devtools.handlePropertyClick(t,e),"data-depth":t.depthLine,children:[n,t.extraContent,t.operations.length>0&&d.jsx("div",{className:Ms.propertyOperations,children:t.operations.map(e=>d.jsx("button",{title:e.title,className:Ms.propertyOperation,onClick:t=>{t.stopPropagation(),e.action()},children:d.jsx(e.icon,{})},e.title))})]})}),Ds=qr(({item:e})=>d.jsx("div",{className:kl(Cs,"vmTreeItem_t-7jc"),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:d.jsxs("header",{className:Ss,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[d.jsx(Ts,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.devtools.isExpandable(e),expanded:e.isExpanded}),d.jsx("label",{className:Es,title:e.displayName,children:e.displayName}),d.jsx("span",{className:"treeItemMetaText_cmfX0",title:e.data.id,children:e.data.id})]})})),Vs=qr(({className:e,headerContent:t,...n})=>{const r=Lo();return d.jsxs("div",{...n,className:kl(Os.vmContent,e),ref:r.contentRef,children:[d.jsxs("header",{className:Os.vmContentHeader,children:[d.jsx("div",{className:Os.gradientBlur}),d.jsxs("div",{className:Os.vmContentHeaderTitle,children:[d.jsx("img",{className:Os.vmContentHeaderLogo,src:r.devtools.logoUrl}),d.jsx("span",{className:Os.vmContentHeaderTitleText,children:"mobx-view-model devtools"}),t]}),d.jsxs("div",{className:Os.vmContentControlPanel,children:[d.jsxs("div",{className:Os.vmContentControlPanelActions,children:[d.jsx(ks,{onUpdate:r.devtools.handleChangePresentationMode,options:[{value:"tree",icon:Ll},{value:"list",icon:Rl}],value:r.devtools.presentationMode}),d.jsx(ks,{onUpdate:r.devtools.handleSortPropertiesChange,options:[{value:"none",icon:Al},{value:"asc",icon:Tl},{value:"desc",icon:Ml}],value:r.devtools.sortPropertiesBy})]}),d.jsxs("div",{className:`${Os.vmContentInput} ${r.devtools.searchEngine.isActive&&Os.filled}`,children:[d.jsx(zl,{}),d.jsx("input",{ref:r.devtools.searchEngine.searchInputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name"}),d.jsx("button",{onClick:r.devtools.searchEngine.resetSearch,children:d.jsx(Il,{})})]})]})]}),d.jsx("div",{className:Os.vmContentVirtualized,children:d.jsx(ps,{ref:r.devtools.scrollListRef,itemSize:22,data:r.devtools.listItems,keepMounted:[0],children:e=>e instanceof ys?d.jsx(Ds,{item:e},e.key):e instanceof _s?d.jsx(As,{item:e},e.key):e instanceof ws?d.jsx(js,{item:e},e.key):e instanceof bs?d.jsx(Ns,{item:e},e.key):d.jsx(d.Fragment,{})})})]})}),Fs=qr(()=>{const e=Lo();return d.jsx(Vs,{className:"vmPopup_0hkGL","data-position":e.devtools.position,headerContent:d.jsx("button",{className:"closePopupButton_igv9j",onClick:e.devtools.hidePopup,children:d.jsx(Il,{})})})});var Bs=function(){return Bs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Bs.apply(this,arguments)};function Us(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Ws(e){return e&&e.ownerDocument?e.ownerDocument:document}var Hs=function(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[r]=!0;break;case"false":e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})};function Ks(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function Gs(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function $s(e){return".".concat(e.split(" ").join("."))}var qs=!("undefined"==typeof window||!window.document||!window.document.createElement),Ys=Object.freeze({__proto__:null,addClasses:Ks,canUseDOM:qs,classNamesToQuery:$s,getElementDocument:Ws,getElementWindow:Us,getOptions:Hs,removeClasses:Gs}),Xs=null,Qs=null;function Js(){if(null===Xs){if("undefined"==typeof document)return Xs=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Xs=n}return Xs}qs&&window.addEventListener("resize",function(){Qs!==window.devicePixelRatio&&(Qs=window.devicePixelRatio,Xs=null)});var Zs=Us,eu=Ws,tu=Hs,nu=Ks,ru=Gs,iu=$s,ou=function(){function e(t,n){void 0===n&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=Zs(r.el);r.scrollXTicking||(e.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(e.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,nu(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){ru(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(nu(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){ru(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,n;r.axis.x.track.el&&r.axis.y.track.el&&r.axis.x.scrollbar.el&&r.axis.y.scrollbar.el&&(r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,"x"):r.onTrackClick(e,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,"y"):r.onTrackClick(e,"y")))))},this.drag=function(t){var n,i,o,a,l,s,u,c,d,f,p;if(r.draggedAxis&&r.contentWrapperEl){var h=r.axis[r.draggedAxis].track,m=null!==(i=null===(n=h.rect)||void 0===n?void 0:n[r.axis[r.draggedAxis].sizeAttr])&&void 0!==i?i:0,v=r.axis[r.draggedAxis].scrollbar,g=null!==(a=null===(o=r.contentWrapperEl)||void 0===o?void 0:o[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==a?a:0,b=parseInt(null!==(s=null===(l=r.elStyles)||void 0===l?void 0:l[r.axis[r.draggedAxis].sizeAttr])&&void 0!==s?s:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===r.draggedAxis?t.pageY:t.pageX)-(null!==(c=null===(u=h.rect)||void 0===u?void 0:u[r.axis[r.draggedAxis].offsetAttr])&&void 0!==c?c:0)-r.axis[r.draggedAxis].dragOffset,w=(y="x"===r.draggedAxis&&r.isRtl?(null!==(f=null===(d=h.rect)||void 0===d?void 0:d[r.axis[r.draggedAxis].sizeAttr])&&void 0!==f?f:0)-v.size-y:y)/(m-v.size)*(g-b);"x"===r.draggedAxis&&r.isRtl&&(w=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-w:w),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){r.isDragging=!1;var t=eu(r.el),n=Zs(r.el);e.preventDefault(),e.stopPropagation(),ru(r.el,r.classNames.dragging),r.onStopScrolling(),t.removeEventListener("mousemove",r.drag,!0),t.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout(function(){t.removeEventListener("click",r.preventClick,!0),t.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=Bs(Bs({},e.defaultOptions),n),this.classNames=Bs(Bs({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return na(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),da(e,64,{leading:r,maxWait:64,trailing:i})}(this._onMouseMove),this.onWindowResize=da(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=da(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=da(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=null==n?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),o=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Js()}catch(e){return Js()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=eu(e),r=Zs(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){qs&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(iu(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(iu(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(iu(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(iu(this.classNames.offset)),this.maskEl=this.el.querySelector(iu(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,iu(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(iu(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(iu(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(iu(this.classNames.track)).concat(iu(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(iu(this.classNames.track)).concat(iu(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(iu(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(iu(this.classNames.scrollbar)))||null,this.options.autoHide||(nu(this.axis.x.scrollbar.el,this.classNames.visible),nu(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=Zs(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var r=!1,i=n.ResizeObserver||ResizeObserver;this.resizeObserver=new i(function(){r&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=Zs(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,i=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,s=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||s,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&s>t,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&s>i-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(e){var t,n;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var r,i=this.contentEl[this.axis[e].scrollSizeAttr],o=null!==(n=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==n?n:0,a=o/i;return r=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(r=Math.min(r,this.options.scrollbarMaxSize)),r},e.prototype.positionScrollbar=function(t){var n,r,i;void 0===t&&(t="y");var o=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&o.el&&this.elStyles){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=(null===(n=this.axis[t].track.el)||void 0===n?void 0:n[this.axis[t].offsetSizeAttr])||0,s=parseInt(this.elStyles[this.axis[t].sizeAttr],10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];u="x"===t&&this.isRtl&&(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollOriginAtZero)?-u:u,"x"===t&&this.isRtl&&(u=(null===(i=e.getRtlHelpers())||void 0===i?void 0:i.isScrollingToNegative)?u:-u);var c=u/(a-s),d=~~((l-o.size)*c);d="x"===t&&this.isRtl?-d+(l-o.size):d,o.el.style.transform="x"===t?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;t&&n&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(nu(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.isDragging||this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(ru(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),nu(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?nu(t.scrollbar.el,this.classNames.hover):ru(t.scrollbar.el,this.classNames.hover)):(ru(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),ru(this.axis[e].track.el,this.classNames.hover),ru(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var n;void 0===t&&(t="y"),this.isDragging=!0;var r=eu(this.el),i=Zs(this.el),o=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-((null===(n=o.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])||0),this.draggedAxis=t,nu(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n,r,i,o,a=this;void 0===t&&(t="y");var l=this.axis[t];if(this.options.clickOnTrack&&l.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var s=Zs(this.el);this.axis[t].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=null!==(r=null===(n=this.axis[t].scrollbar.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])&&void 0!==r?r:0,c=parseInt(null!==(o=null===(i=this.elStyles)||void 0===i?void 0:i[this.axis[t].sizeAttr])&&void 0!==o?o:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],f=("y"===t?this.mouseY-u:this.mouseX-u)<0?-1:1,p=-1===f?d-c:d+c,h=function(){a.contentWrapperEl&&(-1===f?d>p&&(d-=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,s.requestAnimationFrame(h)):d<p&&(d+=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,s.requestAnimationFrame(h)))};h()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=Zs(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=tu,e.helpers=Ys,e}(),au=function(e,t){return(au=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},lu=ou.helpers,su=lu.getOptions,uu=lu.addClasses,cu=lu.canUseDOM,du=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return t.instances.set(n[0],i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}au(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){"init"===e.getAttribute("data-simplebar")||t.instances.has(e)||new t(e,su(e.attributes))})},t.removeObserver=function(){var e;null===(e=t.globalObserver)||void 0===e||e.disconnect()},t.prototype.initDOM=function(){var e,t,n,r=this;if(!Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(r.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),uu(this.wrapperEl,this.classNames.wrapper),uu(this.contentWrapperEl,this.classNames.contentWrapper),uu(this.offsetEl,this.classNames.offset),uu(this.maskEl,this.classNames.mask),uu(this.contentEl,this.classNames.contentEl),uu(this.placeholderEl,this.classNames.placeholder),uu(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),uu(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),null===(e=this.contentWrapperEl)||void 0===e||e.setAttribute("tabindex",this.options.tabIndex.toString()),null===(t=this.contentWrapperEl)||void 0===t||t.setAttribute("role","region"),null===(n=this.contentWrapperEl)||void 0===n||n.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var i=document.createElement("div"),o=document.createElement("div");uu(i,this.classNames.track),uu(o,this.classNames.scrollbar),i.appendChild(o),this.axis.x.track.el=i.cloneNode(!0),uu(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=i.cloneNode(!0),uu(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}ou.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){ou.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,su(e.attributes)):e.querySelectorAll("[data-simplebar]").forEach(function(e){"init"!==e.getAttribute("data-simplebar")&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,su(e.attributes))}))}),e.removedNodes.forEach(function(e){var n;1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount()):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){var n;!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount())}))})})},t.instances=new WeakMap,t}(ou);cu&&du.initHtmlApi();const fu=zo(class extends Bo{devtools=this.payload.devtools;contentRef=bi({meta:{scrollbar:null},onSet(e){const t=new du(e);this.meta={scrollbar:t}}})},({model:e})=>d.jsx(Ro,{value:e.devtools.vmStore,children:d.jsxs(xo,{value:e,children:[d.jsx(Ol,{}),e.devtools.isPopupOpened&&"popup"===e.devtools.displayType&&d.jsx(Fs,{})]})}));class pu extends fa{constructor(e){super({actions:[{shortcuts:["Ctrl+F12"],action:()=>{e.isPopupOpened?e.hidePopup():e.showPopup()}},{shortcuts:["Escape"],action:()=>{e.hidePopup()}},{shortcuts:["Ctrl+ArrowLeft"],action:()=>{e.collapseAllVms()}},{shortcuts:["Ctrl+ArrowRight"],action:()=>{e.expandAllVMs()}},{shortcuts:["Tab"],action:t=>{e.searchEngine.searchInputRef.meta.focused&&t.preventDefault()}},{shortcuts:["Ctrl+ArrowDown","PageDown"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset+400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}},{shortcuts:["Ctrl+ArrowUp","PageUp"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset-400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}}]})}}class hu extends Fo{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}class mu{searchInputRef;fittedVmIds=new Set;rawSearchText;formattedSearchText;searchTextUpdateTimeout;segments=[];get isActive(){return!!this.formattedSearchText}setSearchText(e){if(this.rawSearchText=e,this.formattedSearchText=e.toLowerCase().trim(),this.segments.length=0,!this.formattedSearchText)return;let t=!0;for(let n=0;n<e.length;){const r=e[n];if(0===n&&"."===r){n++;continue}if(" "===r){n++;continue}if("."===r){t=!0,n++;continue}t&&(this.segments.push(""),t=!1);const i=this.segments.length-1;this.segments[i]+=r.toLowerCase(),n++}}resetSearch=()=>{clearTimeout(this.searchTextUpdateTimeout),this.setSearchText(""),this.searchInputRef.current&&(this.searchInputRef.current.value="")};constructor(){this.setSearchText(""),this.searchInputRef=(e=>{const t=()=>{Gt(()=>{n.meta.focused=document.activeElement===n.current})},n=bi({meta:{focused:!1},onSet:(n,r)=>{t(),n.addEventListener("focus",t,!0),n.addEventListener("blur",t,!0),e?.onSet?.(n,r)},onUnset:n=>{e?.onUnset?.(n),n?.removeEventListener("focus",t,!0),n?.removeEventListener("blur",t,!0)}});return n})({onSet:e=>{this.rawSearchText&&e.value!==this.rawSearchText&&(e.value=this.rawSearchText),e.addEventListener("input",()=>{clearTimeout(this.searchTextUpdateTimeout),this.searchTextUpdateTimeout=setTimeout(()=>{this.setSearchText(e.value)},100)})}}),xn(this,{rawSearchText:We.ref,formattedSearchText:We.ref,isActive:$e,segments:We,setSearchText:Ht.bound})}}class vu{constructor(e){this.config=e,this.isPopupOpened=!!this.config.defaultIsOpened,this.displayType="popup",this.position=this.storage.get({key:"position"})??this.config.position??"top-right",this.vmStore=new hu,this.setExtras(this.config.extras),this.setStore(this.config.viewModels),this.presentationMode=this.storage.get({key:"presentationMode"})??"tree",this.sortPropertiesBy=this.storage.get({key:"sortPropertiesBy"})??"none",this.expandedVmItemsPaths=We.set(),this.logoUrl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAACTFBMVEUvEQFCGQIuEQFAGALpZhjoZhlgJANAGALrZhiAMAR1KwNKHAJXIAM4FQFsKgWUNgL09PYvEQCgPARoJwNRHgL////U0dCoSRGSPgzFTQljKwl5MggjDQHm5ORWsU2JNATWWBC4SQxsMQysQAX6+vra2NbMUQtRJQxWLgu/SAXf3t62tLOyr6zCbTecSxmyQQLIxcDAvbqbmZaVeWeKc2WgRBB/OhCMOQu4QwPt7e/DuLCYz5NoOB2tqqdsaGVhW1NagUJtTjtkYCe8XyaRRRiHRRTi29XKyMfr0cG2p5yag3JfVElMR0GfcjBVMx/KWRnoYxXdXhRzQBB0OA3n6OrOzM2npKPLq5frs5TUpo2umounkHp3cm6mgWqBbGB8aVZzYVBXnktWT0eYY0BYZzOGazGmWi3IYid1QSOxTxZYSBQ6IBFFJA6lPAP/8uvR2s3qybbSwLW8q6G3nYigm4B8fHvxonW9kXWSjGhrgl5vZlpZqk+ZdE5cjE16fkzuh0q9eUetcUKAWEBpdj90bjg/PDfteDRZdTGwaS6sYCljVCl2TCflbCJZYSKlVSJfRh/dZB2OWR1nRhFfNRHO48zo1crjwamuv5SfqpSXtpGro4bEm4SMhoGFu3yQlHqFf3l5tHKtjHCFe2ageWLSimBnYFuue1hYlk1uikCCYT5XijqRWjdNPTLRcS5VVCC7WB3WYBtsTRYmHBNYPxLA3bzwv6LVsZ+4tJyQxYqHqHvVlnJzn2uegF39l1t1oEiKjzyAdjpeRDShaClCLR/JXT/FAAAABnRSTlP7uLgrtivDuZKUAAAElElEQVQ4yyWURXsbMRRFpyRF0vCM2a6ZmWPXYWqwTVKGMDRNUmZmZmZmZub+scrp3bzN+e65q8dMmQwBwqwKnLZTNrsVDW/Y8P3AgRJPKcK8ykHIMZOmMJMgAYAlimCwGQRsHdHpayOv2tsN4wJmIZTMEiSTGMgRQoCC/B5ZAYIu/fylIthsBlkAHCeZKaNChuE4yKkA2w2IAKtdhyNpWY76ZUwkFZkIUFmeNTPU6vUadSMOOg2htNWURRhRkwQBr9OlHXQNYTipbVHZ6tX5JiPGKgsgUBQWUgckMDX/woIFC+uwzEhcWz43J6ANVgEC+dpIrcJyEp8+MeR4k4hpz696PyTIdBMZ+jAv0RBqGXPUZkw1YT0AEtCFw/3NiVgiVbWMR5hCJnnZs5uB+PoeB4pk9OFaoM9adTVDXeXzGm7+9fI8AIwEsiwBV12BYIWZmCL6DIBGozGt8+6vCLmbOp8e0vF0uMKzrH7hnHii3GyGpgjiOcLr9QDubwlaFj3d9oD6GcIqQM1enVO25FobqD1x2IQIp/KAjPUtabCs7e/fHR7hGQAUDqKN4rz9fb/XrJrf76gzcuqexsY91xJaS2Pq7oNdNVaGZ4kElaWituXNaF50b3p8uoN451m02y6VaS1rkksXbwybGMJBSMBSSy5YPtqUs6zbse816HHn8jsuB91zGpNNi2/vyjAsYGmSWm080VblFj9WV589eylnSR7ZnHDnGrvvbNq2K8JgwALCJhtCFVsKjnwgftLnexsKxE4uHyiPB9ZV79s3uHuYwbSKA3e1oeYWn3GxO17lW34kblnke7F5SVCb8lUf6aibxSgYEAhS2mDfs1GuKqa98WLghltb5Tv+dX1obtdY5YBD384gpAIWbmkI9TR7Ve+awMrNe1eK1Hbw1voQbTr46PSrEsaOAVak+7F8d/OYz5sMiJc/uzQXB45Xfpo719L0tvrn85ISxmYFkFe7YmXdPaNecHSueO6cRrzV++TJDFF0rVt+pvVYEbIDs0RS2rKKLW2s0bgoJ7o077ZunT59hkajuXKm82XJBKRAs5R0l/VVnOWNxscB0eW63jt9AnJd6ch6JiCnwkJzyhJqqSjwDkdHXnSt3P7wPyQuNgkTkB1jOryrPth8v+Do7Oz8Vl+/6eD2CZ1LXKsXxtsp5EQAQph0B8vLl2FTpq7u6NEzxysfFiHRchsjq392CQN4IJkLa93xJd0Zkykbqct0vK6urOwtNlmWYgVFKQQh6yvsnl8fu0OLsD4dOXF6cO/eyu2910WNuGDnvfApqlPUwoYFq2bWr97D026driZ8uHVw8NeORz8uipoVK1wrdhZ1oHDvy8KF8zfqMUZpnW54uKbm8KFDf1pbWy+cn0lThFSWEG/WaOQF2SrbnbJ9Fo3H4xnJoKzDaNJTG90kQcIKCAAcLaVxGuz0B/k9HpssOJ0I20uKEGOGHCsIPAAoGnU6x52lfkPU7zfMNsjRUsFqmIAmmzmJIISBCpAgO6OCMC7T47H5BdqP2ikzlb5DxswBjAAhvFX2+2UrRgIyHDtwzGMoFexFZto/HbAJBdFwHOYAAAAASUVORK5CYII=",this.scrollContentRef=bi(),this.scrollListRef=bi(),this.keyboardHandler=new pu(this),this.searchEngine=new mu,xn(this,{position:We.ref,isPopupOpened:We.ref,projectVmStore:We.ref,presentationMode:We.ref,sortPropertiesBy:We.ref,extras:We.ref,setStore:Ht.bound,setExtras:Ht.bound,showPopup:Ht.bound,hidePopup:Ht.bound,handleChangePresentationMode:Ht.bound,handleSortPropertiesChange:Ht.bound,handleExpandVmPropertyClick:Ht.bound,expandAllVMs:Ht.bound,collapseAllVms:Ht.bound,handleExpandExtraPropertyClick:Ht.bound,isActive:$e,rootVmListItems:$e.struct,extraListItems:$e.struct}),this.render()}isPopupOpened;displayType;vmStore;projectVmStore;extras;expandedVmItemsPaths;logoUrl;scrollContentRef;keyboardHandler;searchEngine;presentationMode;sortPropertiesBy;position;scrollListRef;storage=new pa({namespace:"mobx-view-model-devtools",type:"session"});anyCache=We.map();autoscrollTimeout;get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!Bo.isPrototypeOf(e.constructor))}get rootVmListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new ys(this,e,this.allVms))}get extraListItems(){return this.extras?[new _s(this,this.extras)]:[]}get listItems(){return[...this.rootVmListItems.flatMap(e=>e.expandedChildrenWithSelf),...this.extraListItems.flatMap(e=>e.expandedChildrenWithSelf)]}get isActive(){return!!this.projectVmStore||Object.keys(this.extras||{}).length>0}get containerId(){return this.config.containerId??"view-model-devtools"}isExpanded(e){return e.isExpanded||this.searchEngine.isActive}checkIsExtraPathExpanded(e){const t=`__EXTRA__%%%${e}`;return this.expandedVmItemsPaths.has(t)}handleExpandVmPropertyClick(e,t){const n=`${e.key}%%%${t}`;this.expandedVmItemsPaths.has(n)?this.expandedVmItemsPaths.delete(n):this.expandedVmItemsPaths.add(n)}handlePropertyClick(e,t){e.toggleExpand()}handleExpandExtraPropertyClick(e){const t=`__EXTRA__%%%${e}`;this.expandedVmItemsPaths.has(t)?this.expandedVmItemsPaths.delete(t):this.expandedVmItemsPaths.add(t)}handleVmItemHeaderClick(e){e.toggleExpand()}isExpandable(e){return e.isExpandable&&"list"!==this.presentationMode}getVmParams(e){return"vmParams"in e?e.vmParams:null}setStore(e){this.projectVmStore=e}setExtras(e){this.extras=e}handleChangePresentationMode=e=>{this.presentationMode="list"===e?"list":"tree",this.expandedVmItemsPaths.clear()};handleSortPropertiesChange=e=>{this.sortPropertiesBy=e};expandAllVMs(){}collapseAllVms(){}showPopup(){this.isPopupOpened=!0,this.expandAllVMs()}hidePopup(){this.isPopupOpened=!1}init(){this.isInitialized||(this.isInitialized=!0,Qt(()=>this.searchEngine.formattedSearchText,()=>{clearTimeout(this.autoscrollTimeout),this.autoscrollTimeout=setTimeout(()=>{if(!this.isActive)return void this.scrollListRef.current?.scrollTo(0);let e=0,t=0;document.querySelectorAll(`#${this.containerId} [data-fitted]`).forEach((n,r)=>{"true"===n.dataset.fitted&&n.dataset.depth&&n.dataset.depth.length>=t&&(t=n.dataset.depth.length,e=this.scrollListRef.current?.getItemOffset(r)??0)}),this.scrollListRef.current?.scrollTo(e)},200)}),this.storage.syncProperty(this,"sortPropertiesBy"),this.storage.syncProperty(this,"presentationMode"),this.storage.syncProperty(this,"position"))}isInitialized=!1;render(){let e=document.querySelector(`#${this.containerId}`);e||(e=document.createElement("div"),e.className="root_Xsw1F",e.id=this.containerId,document.body?(document.body.appendChild(e),va.createRoot(e).render(o.createElement(fu,{payload:{devtools:this}}))):document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e),va.createRoot(e).render(o.createElement(fu,{payload:{devtools:this}}))})),this.init()}static _instance=null;static define(e){return vu._instance||(vu._instance=new vu(e??{})),vu._instance}static connect(e,t){const n=vu.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=vu.define();return t.setStore(e),t}static connectExtras(e){const t=vu.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:vu}),vu.define({position:"top-right",defaultIsOpened:!1});const gu=e=>{hu!==e.constructor&&vu.connect(e)};Eo.hooks.storeCreate.lastPub?.[0]&&gu(Eo.hooks.storeCreate.lastPub[0]),Eo.hooks.storeCreate.sub(gu)});
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.vmButton_esipO{position:fixed;z-index:999999;width:36px;height:36px;border-radius:8px;transition:all .15s ease-in-out;cursor:pointer;-webkit-user-select:none;user-select:none}.vmButton_esipO.dragging_kUMCE{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.vmButton_esipO.opened_NYAFW{opacity:0!important;pointer-events:none}.vmButton_esipO[data-position=top-right]{top:12px;right:12px}.vmButton_esipO[data-position=top-left]{top:12px;left:12px}.vmButton_esipO[data-position=bottom-left]{bottom:12px;left:12px}.vmButton_esipO[data-position=bottom-right]{bottom:12px;right:12px}.vmButton_esipO>img{pointer-events:none;position:absolute;inset:0;border-radius:8px}.vmButton_esipO>div{transition:all .15s ease-in-out;position:absolute;inset:0;border-radius:8px;border:2px solid #00000057}.vmButton_esipO>span{left:-4px;top:-4px;pointer-events:none;position:absolute;display:flex;border-radius:8px;background:#005c26cf;padding:2px;font-weight:600;font-size:12px;line-height:12px;color:#2aff0a}.vmButton_esipO:not(.isConnected_eObxX){filter:grayscale(1)}.iconToggleButton_R48wm{display:flex;align-items:center;gap:2px;position:relative;height:20px;outline:none;border-radius:4px;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.activePosition_IXsRn{position:absolute;height:16px;width:16px;padding:1px;box-sizing:content-box!important;background:var(--vmd-control-active-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));border-radius:4px;transition:all 149ms ease;transform:translate(calc(20px * var(--index)))}.option_a5IcR{padding:1px;z-index:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;transition:all 149ms ease;color:var(--vmd-control-inactive-color)}.option_a5IcR.active_6QS-2{color:var(--vmd-control-active-color)}.option_a5IcR>svg{width:14px;height:14px}:root{--vmd-base-blur: 2px;--vmd-bg: #0c0a19e6;--vmd-overlay-bg: #0e1227bd;--vmd-base-color: #ccc;--vmd-control-active-bg: #e6e6e682;--vmd-control-active-color: #181818;--vmd-control-active-text-input-color: var(--vmd-base-color);--vmd-control-active-text-input-placeholder-color: #a3a3a3;--vmd-control-inactive-color: #8b8b8b;--vmd-control-border: #5b5468a6;--vmd-control-bg: transparent;--vmd-control-blur: 2px;--vmd-bg-transparent: #1f1c2600;--vmd-content-bg: transparent;--vmd-content-highlight-bg: #ffffff0a;--vmd-scrollbar-track-size: 8px;--vmd-scrollbar-bg-base: #81818170;--vmd-scrollbar-bg-active: #818181;--vmd-property-meta-color: #616161;--vmd-primary-bg: #0f6013;--vmd-primary-color: #5ab65e;--vmd-secondary-bg: #6b6902;--vmd-header-height: 60px}.root_Xsw1F{display:contents;box-sizing:border-box}.root_Xsw1F *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;box-sizing:border-box}.root_Xsw1F button{outline:none;background:transparent;border:0;cursor:pointer;margin:0;padding-block:0;padding-inline:0;color:var(--vmd-base-color)}.hierarchyButton_h3FD7{width:18px;height:18px;padding:2px;border-radius:6px}.hierarchyButton_h3FD7.active_4JTx5{background:#f0f0f01f}.treeItemHeader_9gR6Q{display:flex;align-items:center;gap:4px;margin:auto 0;cursor:pointer;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItemLabel_eiMgP{padding:0 4px;border-radius:4px}.treeItemMetaText_cmfX0{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItem_sRXPA{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;height:22px;display:flex;flex-direction:row;align-items:center;padding-left:calc(8px + (var(--level) * 20px));position:sticky;top:calc(var(--vmd-header-height) + var(--vmd-control-panel-height));z-index:1}.treeItem_sRXPA:hover{background:var(--vmd-content-highlight-bg)}.treeItem_sRXPA:not([data-fitted=true])>header{opacity:.6}.vmTreeItem_t-7jc .treeItemLabel_eiMgP{background:var(--vmd-primary-bg)}.vmTreeItem_t-7jc .treeItemMetaText_cmfX0{color:var(--vmd-primary-color)}.extraTreeItem_z3KA1 .treeItemLabel_eiMgP{background:var(--vmd-secondary-bg)}.expandButton_B24E3{color:#a0a0a0;opacity:1!important;width:16px;height:16px;font-weight:700;cursor:pointer}.expandButton_B24E3.expanded_8-pD6{color:#b8b8b8;transform:rotate(90deg)}.expandButton_B24E3.disabled_MBq1Q{opacity:.35!important}.vmContent_TIK57[data-simplebar]{position:relative;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;color:var(--vmd-base-color);background:var(--vmd-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));display:flex;flex-direction:column;overflow:auto;overflow-y:auto;scrollbar-width:thin;overflow-anchor:none}.vmContent_TIK57[data-simplebar] .simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.vmContent_TIK57[data-simplebar] .simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.vmContent_TIK57[data-simplebar] .simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper::-webkit-scrollbar,.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.vmContent_TIK57[data-simplebar] .simplebar-content:after,.vmContent_TIK57[data-simplebar] .simplebar-content:before{content:" ";display:table}.vmContent_TIK57[data-simplebar] .simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.vmContent_TIK57[data-simplebar] .simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}.vmContent_TIK57[data-simplebar].simplebar-dragging,.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{position:absolute;content:"";background:var(--vmd-scrollbar-bg-base);border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-vertical{top:0;width:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{inset:2px}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal{left:0;height:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.vmContentHeader_M1JNM{display:flex;flex-direction:column;height:var(--vmd-header-height);flex:none;padding:0 8px;position:sticky;top:0;z-index:1}.vmContentHeaderLogo_FRJDO{width:16px;margin-right:6px}.vmContentHeaderTitle_lYmde{display:flex;justify-content:space-between;align-items:center;flex:none;font-weight:600;z-index:1}.vmContentHeaderTitleText_RlIFH{font-size:16px;margin-right:auto}.vmContentControlPanel_CgUN9{width:100%;height:var(--vmd-control-panel-height);padding-bottom:4px;flex:none;display:flex;flex-direction:row;z-index:1;gap:4px;overflow:hidden;padding-right:6px}.vmContentControlPanel_CgUN9:has(.vmContentInput_29GM1 input:focus)>.vmContentControlPanelActions_lONbA{margin-left:-106px}.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center;gap:6px;transition:all .15s ease}.hiearchyToggleButton_0FTG-{display:flex}.vmContentInput_29GM1{display:flex;position:relative;flex:1;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.vmContentInput_29GM1>svg{position:absolute;width:16px;inset:50% 0;transform:translate(6px,-50%);pointer-events:none;opacity:.7}.vmContentInput_29GM1>input{background:var(--vmd-control-bg);border:1px solid var(--vmd-control-border);color:var(--vmd-control-active-text-input-color);border-radius:4px;outline:0;width:100%;padding:3px 26px;font-size:14px;text-overflow:ellipsis}.vmContentInput_29GM1>input::placeholder{color:var(--vmd-control-active-text-input-placeholder-color)}.vmContentInput_29GM1>button{position:absolute;right:6px;width:16px;transform:translate(4px,-50%);top:50%;opacity:.6;display:none}.vmContentInput_29GM1.filled_6JZa0>svg{opacity:.9}.vmContentInput_29GM1.filled_6JZa0>button{display:block}.vmContentVirtualized_lia62{flex:1}.vmContentVirtualized_lia62>div>div{height:22px}.gradientBlur_-y-re{position:absolute;top:0;left:0;width:100%;height:calc(100% + 6px);pointer-events:none;background:linear-gradient(to bottom,var(--vmd-overlay-bg) 0%,rgba(0,0,0,0) 100%)}.gradientBlur_-y-re:before{content:"";position:absolute;inset:0;background:transparent;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);-webkit-mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%);mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%)}.property_sD8FG{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;background:var(--vmd-content-bg);height:22px;display:flex;flex-direction:row;align-items:center;position:relative;color:var(--vmd-property-meta-color);padding-left:calc(0px + 28px + (var(--level) * 15px))}.property_sD8FG:hover{background:var(--vmd-content-highlight-bg)}.property_sD8FG.expandable_np03F{cursor:pointer}.property_sD8FG[data-fitted=false]{opacity:.5}.property_sD8FG.instance_jv3IW{--value-color: rgb(190 113 195)}.property_sD8FG.primitive_v6LAV.boolean_Z6znK,.property_sD8FG.primitive_v6LAV.number_U9H45,.property_sD8FG.primitive_v6LAV.object_bHf4I,.property_sD8FG.primitive_v6LAV.bigint_HkgX8,.property_sD8FG.primitive_v6LAV.symbol_oKSwT{--value-color: rgb(89, 153, 205)}.property_sD8FG.primitive_v6LAV.undefined_6CapW,.property_sD8FG.primitive_v6LAV.null_lugoL{--value-color: #499098}.primitive_v6LAV.string_87vm1{--value-color: #af7249}.propertyName_KicXG{color:#ccc}.propertyMeta_Ia9ce{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g{color:var(--value-color, var(--vmd-property-meta-color));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g:has(+.propertyName_KicXG){margin-right:4px}.propertyOperations_fT6Ez{position:absolute;right:12px;display:flex;align-items:center;opacity:0}.property_sD8FG:hover>.propertyOperations_fT6Ez{opacity:1}.vmPopup_0hkGL{position:fixed!important;z-index:999999;width:520px;border-radius:8px;height:calc(100vh - 24px);width:calc(100vw - 34px);max-width:520px;box-shadow:0 5px 20px #0006}.vmPopup_0hkGL[data-position=top-right]{top:12px;right:12px}.vmPopup_0hkGL[data-position=top-left]{top:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-left]{bottom:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-right]{bottom:12px;right:12px}.closePopupButton_igv9j{width:28px;height:28px;padding:6px;border:0;background:transparent;color:var(--vmd-base-color);display:flex;align-items:center;justify-content:center}')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";const e=(e,t=0)=>{const n=t=>(i.value=e?.(t)??t,i.value),r=()=>n(++i.counter),i=r;return i.increment=r,i.decrement=()=>n(--i.counter),i.reset=()=>{i.counter=t,i.value=e?.(t)??t},i.reset(),i};function t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var n={};function r(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:n}var i=Object.assign,o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,l=Object.prototype,s=[];Object.freeze(s);var u={};Object.freeze(u);var c="undefined"!=typeof Proxy,d=Object.toString();function f(){c||t("Proxy not available")}function p(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var h=function(){};function m(e){return"function"==typeof e}function v(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function g(e){return null!==e&&"object"==typeof e}function b(e){if(!g(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===d}function y(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function w(e,t,n){a(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function _(e,t,n){a(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function x(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return g(e)&&!0===e[n]}}function k(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function S(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var E=void 0!==Object.getOwnPropertySymbols,C="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:E?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function O(e){return null===e?null:"object"==typeof e?""+e:e}function T(e,t){return l.hasOwnProperty.call(e,t)}var A=Object.getOwnPropertyDescriptors||function(e){var t={};return C(e).forEach(function(n){t[n]=o(e,n)}),t};function M(e,t){return!!(e&t)}function N(e,t,n){return n?e|=t:e&=~t,e}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t,n){return t&&function(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,D(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return P(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(null,arguments)}function I(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,j(e,t)}function j(e,t){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var V=Symbol("mobx-stored-annotations");function F(e){return Object.assign(function(t,n){if(U(n))return e.decorate_20223_(t,n);B(t,n,e)},e)}function B(e,t,n){T(e,V)||w(e,V,z({},e[V])),function(e){return e.annotationType_===X}(n)||(e[V][t]=n)}function U(e){return"object"==typeof e&&"string"==typeof e.kind}var W=Symbol("mobx administration"),H=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=$e.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return bt(this)},t.reportChanged=function(){vt(),yt(this),gt()},t.toString=function(){return this.name_},L(e,[{key:"isBeingObserved",get:function(){return M(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=N(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return M(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=N(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return M(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=N(this.flags_,e.diffValueMask_,1===t)}}])}();H.isBeingObservedMask_=1,H.isPendingUnobservationMask_=2,H.diffValueMask_=4;var K=x("Atom",H);function G(e,t,n){void 0===t&&(t=h),void 0===n&&(n=h);var r=new H(e);return t!==h&&Ht(Bt,r,t,undefined),n!==h&&Wt(r,n),r}var $={structural:function(e,t){return ir(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function q(e,t,n){return en(e)?e:Array.isArray(e)?Pe.array(e,{name:n}):b(e)?Pe.object(e,void 0,{name:n}):k(e)?Pe.map(e,{name:n}):S(e)?Pe.set(e,{name:n}):"function"!=typeof e||It(e)||Zt(e)?e:y(e)?Qt(e):Rt(n,e)}function Y(e){return e}var X="override";function Q(e,t){return{annotationType_:e,options_:t,make_:J,extend_:Z,decorate_20223_:ee}}function J(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(It(n.value))return 1;var o=te(e,this,t,n,!1);return a(r,t,o),2}function Z(e,t,n,r){var i=te(e,this,t,n);return e.defineProperty_(t,i,r)}function ee(e,n){var r,i=n.kind,o=n.name,a=n.addInitializer,l=this,s=function(e){var t,n,r,i;return Be(null!=(t=null==(n=l.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=l.options_)?void 0:i.autoAction)&&r)};return"field"==i?function(e){var t,n=e;return It(n)||(n=s(n)),null!=(t=l.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==i?(It(e)||(e=s(e)),null!=(r=this.options_)&&r.bound&&a(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void t("Cannot apply '"+l.annotationType_+"' to '"+String(o)+"' (kind: "+i+"):\n'"+l.annotationType_+"' can only be used on properties with a function value.")}function te(e,t,n,r,i){var o,a,l,s,u,c,d,f;void 0===i&&(i=ft.safeDescriptors),f=r,t.annotationType_,f.value;var p,h=r.value;return null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(p=e.proxy_)?p:e.target_)),{value:Be(null!=(a=null==(l=t.options_)?void 0:l.name)?a:n.toString(),h,null!=(s=null==(u=t.options_)?void 0:u.autoAction)&&s,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ne(e,t){return{annotationType_:e,options_:t,make_:re,extend_:ie,decorate_20223_:oe}}function re(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!T(e.target_,t)||!Zt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Zt(n.value))return 1;var o=ae(e,this,t,n,!1,!1);return a(r,t,o),2}function ie(e,t,n,r){var i,o=ae(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function oe(e,t){var n,r=t.name,i=t.addInitializer;return Zt(e)||(e=Qt(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t}),e}function ae(e,t,n,r,i,o){var a;void 0===o&&(o=ft.safeDescriptors),a=r,t.annotationType_,a.value;var l,s=r.value;return Zt(s)||(s=Qt(s)),i&&((s=s.bind(null!=(l=e.proxy_)?l:e.target_)).isMobXFlow=!0),{value:s,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function le(e,t){return{annotationType_:e,options_:t,make_:se,extend_:ue,decorate_20223_:ce}}function se(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ue(e,t,n,r){var i;return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,z({},this.options_,{get:n.get,set:n.set}),r)}function ce(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=jn(this)[W],i=z({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new Ge(i))}),function(){return this[W].getObservablePropValue_(r)}}function de(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:pe,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function pe(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:q,r)}function he(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,l=jn(e)[W],s=new Ke(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:q,"ObservableObject."+i.toString(),!1);l.values_.set(i,s),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[W].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[W].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var me="true",ve=ge();function ge(e){return{annotationType_:me,options_:e,make_:be,extend_:ye,decorate_20223_:we}}function be(e,t,n,r){var i,o,l,s;if(n.get)return Ie.make_(e,t,n,r);if(n.set){var u=It(n.set)?n.set:Be(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ft.safeDescriptors||e.isPlainObject_,set:u})?0:2:(a(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value)return y(n.value)?(null!=(s=this.options_)&&s.autoBind?Qt.bound:Qt).make_(e,t,n,r):(null!=(l=this.options_)&&l.autoBind?Rt.bound:Rt).make_(e,t,n,r);var c,d=!1===(null==(i=this.options_)?void 0:i.deep)?Pe.ref:Pe;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_)),d.make_(e,t,n,r)}function ye(e,t,n,r){var i,o,a;return n.get?Ie.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ft.safeDescriptors||e.isPlainObject_,set:Be(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?Pe.ref:Pe).extend_(e,t,n,r))}function we(e,n){t("'"+this.annotationType_+"' cannot be used as a decorator")}var _e={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function xe(e){return e||_e}Object.freeze(_e);var ke=de("observable"),Se=de("observable.ref",{enhancer:Y}),Ee=de("observable.shallow",{enhancer:function(e,t,n){return null==e||Fn(e)||kn(e)||Tn(e)||Pn(e)?e:Array.isArray(e)?Pe.array(e,{name:n,deep:!1}):b(e)?Pe.object(e,void 0,{name:n,deep:!1}):k(e)?Pe.map(e,{name:n,deep:!1}):S(e)?Pe.set(e,{name:n,deep:!1}):void 0}}),Ce=de("observable.struct",{enhancer:function(e,t){return ir(e,t)?t:e}}),Oe=F(ke);function Te(e){return!0===e.deep?q:!1===e.deep?Y:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:q;var t,n,r}function Ae(e,t,n){return U(t)?ke.decorate_20223_(e,t):v(t)?void B(e,t,ke):en(e)?e:b(e)?Pe.object(e,t,n):Array.isArray(e)?Pe.array(e,t):k(e)?Pe.map(e,t):S(e)?Pe.set(e,t):"object"==typeof e&&null!==e?e:Pe.box(e,t)}i(Ae,Oe);var Me,Ne,Pe=i(Ae,{box:function(e,t){var n=xe(t);return new Ke(e,Te(n),n.name,!0,n.equals)},array:function(e,t){var n=xe(t);return(!1===ft.useProxies||!1===n.proxy?Jn:vn)(e,Te(n),n.name)},map:function(e,t){var n=xe(t);return new On(e,Te(n),n.name)},set:function(e,t){var n=xe(t);return new Nn(e,Te(n),n.name)},object:function(e,t,n){return tr(function(){return function(e,t,n){var r=A(t);return tr(function(){var t=jn(e,undefined)[W];C(r).forEach(function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])})}),e}(!1===ft.useProxies||!1===(null==n?void 0:n.proxy)?jn({},n):function(e,t){var n,r;return f(),null!=(r=(n=(e=jn(e,t))[W]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)})},ref:F(Se),shallow:F(Ee),deep:Oe,struct:F(Ce)}),Le="computed",Re=le(Le),ze=le("computed.struct",{equals:$.structural}),Ie=function(e,t){if(U(t))return Re.decorate_20223_(e,t);if(v(t))return B(e,t,Re);if(b(e))return F(le(Le,e));var n=b(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ge(n)};Object.assign(Ie,Re),Ie.struct=F(ze);var je=0,De=1,Ve=null!=(Me=null==(Ne=o(function(){},"name"))?void 0:Ne.configurable)&&Me,Fe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Be(e,t,n,r){function i(){return Ue(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},Ve&&(Fe.value=e,a(i,"name",Fe)),i}function Ue(e,n,r,i,o){var a=function(e,t){var n=ft.trackingDerivation,r=!t||!n;vt();var i=ft.allowStateChanges;r&&(it(),i=We(!0));var o={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:i,prevAllowStateReads_:at(!0),notifySpy_:!1,startTime_:0,actionId_:De++,parentActionId_:je};return je=o.actionId_,o}(0,n);try{return r.apply(i,o)}catch(e){throw a.error_=e,e}finally{!function(e){je!==e.actionId_&&t(30),je=e.parentActionId_,void 0!==e.error_&&(ft.suppressReactionErrors=!0),He(e.prevAllowStateChanges_),lt(e.prevAllowStateReads_),gt(),e.runAsAction_&&ot(e.prevDerivation_),ft.suppressReactionErrors=!1}(a)}}function We(e){var t=ft.allowStateChanges;return ft.allowStateChanges=e,t}function He(e){ft.allowStateChanges=e}var Ke=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=$.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}I(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==ft.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(on(this)){var t=ln(this,{object:this,type:pn,newValue:e});if(!t)return ft.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?ft.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),sn(this)&&cn(this,{type:pn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return an(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:pn,newValue:this.value_,oldValue:void 0}),un(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return O(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(H),Ge=function(){function e(e){this.dependenciesState_=$e.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=$e.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Je(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Ye.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||t(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Be("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?$.structural:$.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var n=e.prototype;return n.onBecomeStale_=function(){!function(e){e.lowestObserverState_===$e.UP_TO_DATE_&&(e.lowestObserverState_=$e.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===$e.UP_TO_DATE_&&(e.dependenciesState_=$e.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},n.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},n.get=function(){if(this.isComputing&&t(32,this.name_,this.derivation),0!==ft.inBatch||0!==this.observers_.size||this.keepAlive_){if(bt(this),et(this)){var e=ft.trackingContext;this.keepAlive_&&!e&&(ft.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==$e.STALE_&&(e.lowestObserverState_=$e.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===$e.POSSIBLY_STALE_?t.dependenciesState_=$e.STALE_:t.dependenciesState_===$e.UP_TO_DATE_&&(e.lowestObserverState_=$e.UP_TO_DATE_)}))}(this),ft.trackingContext=e}}else et(this)&&(this.warnAboutUntrackedRead_(),vt(),this.value_=this.computeValue_(!1),gt());var n=this.value_;if(Ze(n))throw n.cause;return n},n.set=function(e){if(this.setter_){this.isRunningSetter&&t(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else t(34,this.name_)},n.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===$e.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Ze(e)||Ze(n)||!this.equals_(e,n);return r&&(this.value_=n),r},n.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=tt(this,this.derivation,this.scope_);else if(!0===ft.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Je(e)}return He(n),this.isComputing=!1,t},n.suspend_=function(){this.keepAlive_||(nt(this),this.value_=void 0)},n.observe_=function(e,t){var n=this,r=!0,i=void 0;return jt(function(){var o=n.get();if(!r||t){var a=it();e({observableKind:"computed",debugObjectName:n.name_,type:pn,object:n,newValue:o,oldValue:i}),ot(a)}r=!1,i=o})},n.warnAboutUntrackedRead_=function(){},n.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},n.valueOf=function(){return O(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},L(e,[{key:"isComputing",get:function(){return M(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=N(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return M(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=N(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return M(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=N(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return M(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=N(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return M(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=N(this.flags_,e.diffValueMask_,1===t)}}])}();Ge.isComputingMask_=1,Ge.isRunningSetterMask_=2,Ge.isBeingObservedMask_=4,Ge.isPendingUnobservationMask_=8,Ge.diffValueMask_=16;var $e,qe,Ye,Xe,Qe=x("ComputedValue",Ge);(qe=$e||($e={}))[qe.NOT_TRACKING_=-1]="NOT_TRACKING_",qe[qe.UP_TO_DATE_=0]="UP_TO_DATE_",qe[qe.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",qe[qe.STALE_=2]="STALE_",(Xe=Ye||(Ye={}))[Xe.NONE=0]="NONE",Xe[Xe.LOG=1]="LOG",Xe[Xe.BREAK=2]="BREAK";var Je=function(e){this.cause=void 0,this.cause=e};function Ze(e){return e instanceof Je}function et(e){switch(e.dependenciesState_){case $e.UP_TO_DATE_:return!1;case $e.NOT_TRACKING_:case $e.STALE_:return!0;case $e.POSSIBLY_STALE_:for(var t=at(!0),n=it(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(Qe(a)){if(ft.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return ot(n),lt(t),!0}if(e.dependenciesState_===$e.STALE_)return ot(n),lt(t),!0}}return st(e),ot(n),lt(t),!1}}function tt(e,t,n){var r=at(!0);st(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ft.runId;var i,o=ft.trackingDerivation;if(ft.trackingDerivation=e,ft.inBatch++,!0===ft.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(e){i=new Je(e)}return ft.inBatch--,ft.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=$e.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var l=n[a];0===l.diffValue&&(l.diffValue=1,i!==a&&(n[i]=l),i++),l.dependenciesState_>r&&(r=l.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var s=t[o];0===s.diffValue&&ht(s,e),s.diffValue=0}for(;i--;){var u=n[i];1===u.diffValue&&(u.diffValue=0,pt(u,e))}r!==$e.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),lt(r),i}function nt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)ht(t[n],e);e.dependenciesState_=$e.NOT_TRACKING_}function rt(e){var t=it();try{return e()}finally{ot(t)}}function it(){var e=ft.trackingDerivation;return ft.trackingDerivation=null,e}function ot(e){ft.trackingDerivation=e}function at(e){var t=ft.allowStateReads;return ft.allowStateReads=e,t}function lt(e){ft.allowStateReads=e}function st(e){if(e.dependenciesState_!==$e.UP_TO_DATE_){e.dependenciesState_=$e.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=$e.UP_TO_DATE_}}var ut=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ct=!0,dt=!1,ft=function(){var e=r();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ct=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ut).version&&(ct=!1),ct?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ut):(setTimeout(function(){dt||t(35)},1),new ut)}();function pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function ht(e,t){e.observers_.delete(t),0===e.observers_.size&&mt(e)}function mt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ft.pendingUnobservations.push(e))}function vt(){ft.inBatch++}function gt(){if(0===--ft.inBatch){kt();for(var e=ft.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof Ge&&n.suspend_())}ft.pendingUnobservations=[]}}function bt(e){var t=ft.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&ft.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&ft.inBatch>0&&mt(e),!1)}function yt(e){e.lowestObserverState_!==$e.STALE_&&(e.lowestObserverState_=$e.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===$e.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=$e.STALE_}))}var wt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=$e.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Ye.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,ft.pendingReactions.push(this),kt())},t.runReaction_=function(){if(!this.isDisposed){vt(),this.isScheduled=!1;var e=ft.trackingContext;if(ft.trackingContext=this,et(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ft.trackingContext=e,gt()}},t.track=function(e){if(!this.isDisposed){vt(),this.isRunning=!0;var t=ft.trackingContext;ft.trackingContext=this;var n=tt(this,e,void 0);ft.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&nt(this),Ze(n)&&this.reportExceptionInDerivation_(n.cause),gt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(ft.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";ft.suppressReactionErrors||console.error(n,e),ft.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(vt(),nt(this),gt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[W]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){},L(e,[{key:"isDisposed",get:function(){return M(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=N(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return M(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=N(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return M(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=N(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return M(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=N(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return M(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=N(this.flags_,e.diffValueMask_,1===t)}}])}();wt.isDisposedMask_=1,wt.isScheduledMask_=2,wt.isTrackPendingMask_=4,wt.isRunningMask_=8,wt.diffValueMask_=16;var _t=100,xt=function(e){return e()};function kt(){ft.inBatch>0||ft.isRunningReactions||xt(St)}function St(){ft.isRunningReactions=!0;for(var e=ft.pendingReactions,t=0;e.length>0;){++t===_t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}ft.isRunningReactions=!1}var Et=x("Reaction",wt),Ct="action",Ot="autoAction",Tt=Q(Ct),At=Q("action.bound",{bound:!0}),Mt=Q(Ot,{autoAction:!0}),Nt=Q("autoAction.bound",{autoAction:!0,bound:!0});function Pt(e){return function(t,n){return m(t)?Be(t.name||"<unnamed action>",t,e):m(n)?Be(t,n,e):U(n)?(e?Mt:Tt).decorate_20223_(t,n):v(n)?B(t,n,e?Mt:Tt):v(t)?F(Q(e?Ot:Ct,{name:t,autoAction:e})):void 0}}var Lt=Pt(!1);Object.assign(Lt,Tt);var Rt=Pt(!0);function zt(e){return Ue(e.name,!1,e,this,void 0)}function It(e){return m(e)&&!0===e.isMobxAction}function jt(e,t){var n,r,i,o;void 0===t&&(t=u);var a,l=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var s=Vt(t),c=!1;a=new wt(l,function(){c||(c=!0,s(function(){c=!1,a.isDisposed||a.track(d)}))},t.onError,t.requiresObservable)}else a=new wt(l,function(){this.track(d)},t.onError,t.requiresObservable);function d(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}Object.assign(Rt,Mt),Lt.bound=F(At),Rt.bound=F(Nt);var Dt=function(e){return e()};function Vt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Dt}function Ft(e,t,n){var r,i,o;void 0===n&&(n=u);var a,l,s,c=null!=(r=n.name)?r:"Reaction",d=Lt(c,n.onError?(a=n.onError,l=t,function(){try{return l.apply(this,arguments)}catch(e){a.call(this,e)}}):t),f=!n.scheduler&&!n.delay,p=Vt(n),h=!0,m=!1,v=n.compareStructural?$.structural:n.equals||$.default,g=new wt(c,function(){h||f?b():m||(m=!0,p(b))},n.onError,n.requiresObservable);function b(){if(m=!1,!g.isDisposed){var t=!1,r=s;g.track(function(){var n=function(e,t){var n=We(!1);try{return t()}finally{He(n)}}(0,function(){return e(g)});t=h||!v(s,n),s=n}),(h&&n.fireImmediately||!h&&t)&&d(s,r,g),h=!1}}return null!=(i=n)&&null!=(i=i.signal)&&i.aborted||g.schedule_(),g.getDisposer_(null==(o=n)?void 0:o.signal)}var Bt="onBO",Ut="onBUO";function Wt(e,t,n){return Ht(Ut,e,t,n)}function Ht(e,t,n,r){var i=Zn(t),o=m(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var Kt="always";function Gt(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Gt)),n}var $t=0;function qt(){this.message="FLOW_CANCELLED"}qt.prototype=Object.create(Error.prototype);var Yt=ne("flow"),Xt=ne("flow.bound",{bound:!0}),Qt=Object.assign(function(e,t){if(U(t))return Yt.decorate_20223_(e,t);if(v(t))return B(e,t,Yt);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++$t,o=Lt(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,l=new Promise(function(t,n){var l=0;function s(e){var t;a=void 0;try{t=Lt(r+" - runid: "+i+" - yield "+l++,o.next).call(o,e)}catch(e){return n(e)}c(t)}function u(e){var t;a=void 0;try{t=Lt(r+" - runid: "+i+" - yield "+l++,o.throw).call(o,e)}catch(e){return n(e)}c(t)}function c(e){if(!m(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(s,u);e.then(c,n)}e=n,s(void 0)});return l.cancel=Lt(r+" - runid: "+i+" - cancel",function(){try{a&&Jt(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(h,h),Jt(n),e(new qt)}catch(t){e(t)}}),l};return i.isMobXFlow=!0,i},Yt);function Jt(e){m(e.cancel)&&e.cancel()}function Zt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e){return!!e&&(Fn(e)||!!e[W]||K(e)||Et(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),vt();try{return e.apply(t)}finally{gt()}}function nn(e){return e[W]}Qt.bound=F(Xt);var rn={has:function(e,t){return nn(e).has_(t)},get:function(e,t){return nn(e).get_(t)},set:function(e,t,n){var r;return!!v(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!v(t)&&(null==(n=nn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=nn(e).defineProperty_(t,n))||r},ownKeys:function(e){return nn(e).ownKeys_()},preventExtensions:function(e){t(13)}};function on(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function an(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),p(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function ln(e,n){var r=it();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((n=i[o](n))&&!n.type&&t(14),n);o++);return n}finally{ot(r)}}function sn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function un(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),p(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function cn(e,t){var n=it(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);ot(n)}}function dn(e,t,n){return tr(function(){var r=jn(e,n)[W];null!=t||(t=function(e){return T(e,V)||w(e,V,z({},e[V])),e[V]}(e)),C(t).forEach(function(e){return r.make_(e,t[e])})}),e}var fn="splice",pn="update",hn={get:function(e,t){var n=e[W];return t===W?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?T(gn,t)?gn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[W];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){t(15)}},mn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new H(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},n.intercept_=function(e){return an(this,e)},n.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),un(this,e)},n.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},n.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&t("Out of range: "+e);var n=this.values_.length;if(e!==n)if(e>n){for(var r=new Array(e-n),i=0;i<e-n;i++)r[i]=void 0;this.spliceWithArray_(n,0,r)}else this.spliceWithArray_(e,n-e)},n.updateArrayLength_=function(e,n){e!==this.lastKnownLength_&&t(16),this.lastKnownLength_+=n,this.legacyMode_&&n>0&&Qn(e+n+1)},n.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=s),on(this)){var o=ln(this,{object:this.proxy_,type:fn,index:e,removedCount:t,added:n});if(!o)return s;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var l=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,l),this.dehanceValues_(l)},n.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var l=0;l<o.length;l++)this.values_[e+n.length+l]=o[l];return i},n.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=sn(this),o=i||r?{observableKind:"array",object:this.proxy_,type:pn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&cn(this,o)},n.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=sn(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:fn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&cn(this,o)},n.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},n.set_=function(e,n){var r=this.values_;if(this.legacyMode_&&e>r.length&&t(17,e,r.length),e<r.length){this.atom_;var i=r[e];if(on(this)){var o=ln(this,{type:pn,object:this.proxy_,index:e,newValue:n});if(!o)return;n=o.newValue}(n=this.enhancer_(n,i))!==i&&(r[e]=n,this.notifyArrayChildUpdate_(e,n,i))}else{for(var a=new Array(e+1-r.length),l=0;l<a.length-1;l++)a[l]=void 0;a[a.length-1]=n,this.spliceWithArray_(r.length,0,a)}},e}();function vn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),f(),tr(function(){var i=new mn(n,t,r,!1);_(i.values_,W,i);var o=new Proxy(i.values_,hn);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})}var gn={clear:function(){return this.splice(0)},replace:function(e){var t=this[W];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[W];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[W].spliceWithArray_(e,t,n)},push:function(){for(var e=this[W],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[W].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[W],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return ft.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ft.trackingDerivation&&t(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[W],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function bn(e,t){"function"==typeof Array.prototype[e]&&(gn[e]=t(e))}function yn(e){return function(){var t=this[W];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function wn(e){return function(t,n){var r=this,i=this[W];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function _n(e){return function(){var t=this,n=this[W];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}bn("at",yn),bn("concat",yn),bn("flat",yn),bn("includes",yn),bn("indexOf",yn),bn("join",yn),bn("lastIndexOf",yn),bn("slice",yn),bn("toString",yn),bn("toLocaleString",yn),bn("toSorted",yn),bn("toSpliced",yn),bn("with",yn),bn("every",wn),bn("filter",wn),bn("find",wn),bn("findIndex",wn),bn("findLast",wn),bn("findLastIndex",wn),bn("flatMap",wn),bn("forEach",wn),bn("map",wn),bn("some",wn),bn("toReversed",wn),bn("reduce",_n),bn("reduceRight",_n);var xn=x("ObservableArrayAdministration",mn);function kn(e){return g(e)&&xn(e[W])}var Sn={},En="add",Cn="delete",On=function(){function e(e,n,r){var i=this;void 0===n&&(n=q),void 0===r&&(r="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[W]=Sn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=r,m(Map)||t(18),tr(function(){i.keysAtom_=G("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var n=e.prototype;return n.has_=function(e){return this.data_.has(e)},n.has=function(e){var t=this;if(!ft.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Ke(this.has_(e),Y,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Wt(r,function(){return t.hasMap_.delete(e)})}return n.get()},n.set=function(e,t){var n=this.has_(e);if(on(this)){var r=ln(this,{type:n?pn:En,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},n.delete=function(e){var t=this;if(this.keysAtom_,on(this)&&!ln(this,{type:Cn,object:this,name:e}))return!1;if(this.has_(e)){var n=sn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Cn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tn(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&cn(this,r),!0}return!1},n.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==ft.UNCHANGED){var r=sn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:pn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&cn(this,i)}},n.addValue_=function(e,t){var n=this;this.keysAtom_,tn(function(){var r,i=new Ke(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=sn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:En,object:this,name:e,newValue:t}:null;r&&cn(this,i)},n.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},n.values=function(){var e=this,t=this.keys();return An({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},n.entries=function(){var e=this,t=this.keys();return An({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},n[Symbol.iterator]=function(){return this.entries()},n.forEach=function(e,t){for(var n,r=R(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},n.merge=function(e){var n=this;return Tn(e)&&(e=new Map(e)),tn(function(){var r,i,o;b(e)?function(e){var t=Object.keys(e);if(!E)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return l.propertyIsEnumerable.call(e,t)})):t}(e).forEach(function(t){return n.set(t,e[t])}):Array.isArray(e)?e.forEach(function(e){var t=e[0],r=e[1];return n.set(t,r)}):k(e)?(r=e,i=Object.getPrototypeOf(r),o=Object.getPrototypeOf(i),null!==Object.getPrototypeOf(o)&&t(19,e),e.forEach(function(e,t){return n.set(t,e)})):null!=e&&t(20,e)}),this},n.clear=function(){var e=this;tn(function(){rt(function(){for(var t,n=R(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},n.replace=function(e){var n=this;return tn(function(){for(var r,i=function(e){if(k(e)||Tn(e))return e;if(Array.isArray(e))return new Map(e);if(b(e)){var n=new Map;for(var r in e)n.set(r,e[r]);return n}return t(21,e)}(e),o=new Map,a=!1,l=R(n.data_.keys());!(r=l()).done;){var s=r.value;if(!i.has(s))if(n.delete(s))a=!0;else{var u=n.data_.get(s);o.set(s,u)}}for(var c,d=R(i.entries());!(c=d()).done;){var f=c.value,p=f[0],h=f[1],m=n.data_.has(p);if(n.set(p,h),n.data_.has(p)){var v=n.data_.get(p);o.set(p,v),m||(a=!0)}}if(!a)if(n.data_.size!==o.size)n.keysAtom_.reportChanged();else for(var g=n.data_.keys(),y=o.keys(),w=g.next(),_=y.next();!w.done;){if(w.value!==_.value){n.keysAtom_.reportChanged();break}w=g.next(),_=y.next()}n.data_=o}),this},n.toString=function(){return"[object ObservableMap]"},n.toJSON=function(){return Array.from(this)},n.observe_=function(e,t){return un(this,e)},n.intercept_=function(e){return an(this,e)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Tn=x("ObservableMap",On);function An(e){return e[Symbol.toStringTag]="MapIterator",sr(e)}var Mn={},Nn=function(){function e(e,n,r){var i=this;void 0===n&&(n=q),void 0===r&&(r="ObservableSet"),this.name_=void 0,this[W]=Mn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=r,m(Set)||t(22),this.enhancer_=function(e,t){return n(e,t,r)},tr(function(){i.atom_=G(i.name_),e&&i.replace(e)})}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.clear=function(){var e=this;tn(function(){rt(function(){for(var t,n=R(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},n.forEach=function(e,t){for(var n,r=R(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},n.add=function(e){var t=this;if(this.atom_,on(this)){var n=ln(this,{type:En,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){tn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=sn(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:En,object:this,newValue:e}:null;r&&cn(this,i)}return this},n.delete=function(e){var t=this;if(on(this)&&!ln(this,{type:Cn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=sn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Cn,object:this,oldValue:e}:null;return tn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&cn(this,r),!0}return!1},n.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},n.entries=function(){var e=this.values();return Ln({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},n.keys=function(){return this.values()},n.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return Ln({next:function(){var n=t.next(),r=n.value,i=n.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(r),done:i}}})},n.intersection=function(e){return S(e)&&!Pn(e)?e.intersection(this):new Set(this).intersection(e)},n.union=function(e){return S(e)&&!Pn(e)?e.union(this):new Set(this).union(e)},n.difference=function(e){return new Set(this).difference(e)},n.symmetricDifference=function(e){return S(e)&&!Pn(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},n.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},n.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},n.isDisjointFrom=function(e){return S(e)&&!Pn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},n.replace=function(e){var n=this;return Pn(e)&&(e=new Set(e)),tn(function(){Array.isArray(e)||S(e)?(n.clear(),e.forEach(function(e){return n.add(e)})):null!=e&&t("Cannot initialize set from "+e)}),this},n.observe_=function(e,t){return un(this,e)},n.intercept_=function(e){return an(this,e)},n.toJSON=function(){return Array.from(this)},n.toString=function(){return"[object ObservableSet]"},n[Symbol.iterator]=function(){return this.values()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Pn=x("ObservableSet",Nn);function Ln(e){return e[Symbol.toStringTag]="SetIterator",sr(e)}var Rn=Object.create(null),zn="remove",In=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=ve),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new H("ObservableObject.keys"),this.isPlainObject_=b(this.target_)}var n=e.prototype;return n.getObservablePropValue_=function(e){return this.values_.get(e).get()},n.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Ge)return n.set(t),!0;if(on(this)){var r=ln(this,{type:pn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ft.UNCHANGED){var i=sn(this),o=i?{type:pn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&cn(this,o)}return!0},n.get_=function(e){return ft.trackingDerivation&&!T(this.target_,e)&&this.has_(e),this.target_[e]},n.set_=function(e,t,n){return void 0===n&&(n=!1),T(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},n.has_=function(e){if(!ft.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Ke(e in this.target_,Y,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},n.make_=function(e,n){if(!0===n&&(n=this.defaultAnnotation_),!1!==n){if(!(e in this.target_)){var r;if(null!=(r=this.target_[V])&&r[e])return;t(1,n.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==l;){var a=o(i,e);if(a){var s=n.make_(this,e,a,i);if(0===s)return;if(1===s)break}i=Object.getPrototypeOf(i)}Bn(this,n,e)}},n.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var i=n.extend_(this,e,t,r);return i&&Bn(this,n,e),i},n.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(on(this)){var i=ln(this,{object:this.proxy_||this.target_,name:e,type:En,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=z({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else a(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{gt()}return!0},n.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{vt();var i=this.delete_(e);if(!i)return i;if(on(this)){var o=ln(this,{object:this.proxy_||this.target_,name:e,type:En,newValue:t});if(!o)return null;t=o.newValue}var l=Vn(e),s={configurable:!ft.safeDescriptors||this.isPlainObject_,enumerable:!0,get:l.get,set:l.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else a(this.target_,e,s);var u=new Ke(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{gt()}return!0},n.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!ln(this,{object:this.proxy_||this.target_,name:e,type:En,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=Vn(e),o={configurable:!ft.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else a(this.target_,e,o);this.values_.set(e,new Ge(t)),this.notifyPropertyAddition_(e,void 0)}finally{gt()}return!0},n.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!T(this.target_,e))return!0;if(on(this)&&!ln(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;vt();var r,i=sn(this),a=this.values_.get(e),l=void 0;if(!a&&i&&(l=null==(r=o(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof Ke&&(l=a.value_),yt(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i){var s={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:l,name:e};i&&cn(this,s)}}finally{gt()}return!0},n.observe_=function(e,t){return un(this,e)},n.intercept_=function(e){return an(this,e)},n.notifyPropertyAddition_=function(e,t){var n,r=sn(this);if(r){var i=r?{type:En,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&cn(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},n.ownKeys_=function(){return this.keysAtom_.reportObserved(),C(this.target_)},n.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function jn(e,t){var n;if(T(e,W))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new In(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:ge(e):void 0}(t));return w(e,W,i),e}var Dn=x("ObservableObjectAdministration",In);function Vn(e){return Rn[e]||(Rn[e]={get:function(){return this[W].getObservablePropValue_(e)},set:function(t){return this[W].setObservablePropValue_(e,t)}})}function Fn(e){return!!g(e)&&Dn(e[W])}function Bn(e,t,n){var r;null==(r=e.target_[V])||delete r[n]}var Un,Wn,Hn=Yn(0),Kn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Gn=0,$n=function(){};Un=$n,Wn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Un.prototype,Wn):void 0!==Un.prototype.__proto__?Un.prototype.__proto__=Wn:Un.prototype=Wn;var qn=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,tr(function(){var e=new mn(r,n,i,!0);e.proxy_=o,_(o,W,e),t&&t.length&&o.spliceWithArray(0,0,t),Kn&&Object.defineProperty(o,"0",Hn)}),o}I(t,e);var n=t.prototype;return n.concat=function(){this[W].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return kn(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return sr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(t,[{key:"length",get:function(){return this[W].getArrayLength_()},set:function(e){this[W].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}($n);function Yn(e){return{enumerable:!1,configurable:!0,get:function(){return this[W].get_(e)},set:function(t){this[W].set_(e,t)}}}function Xn(e){a(qn.prototype,""+e,Yn(e))}function Qn(e){if(e>Gn){for(var t=Gn;t<e+100;t++)Xn(t);Gn=e}}function Jn(e,t,n){return new qn(e,t,n)}function Zn(e,n){if("object"==typeof e&&null!==e){if(kn(e))return void 0!==n&&t(23),e[W].atom_;if(Pn(e))return e.atom_;if(Tn(e)){if(void 0===n)return e.keysAtom_;var r=e.data_.get(n)||e.hasMap_.get(n);return r||t(25,n,er(e)),r}if(Fn(e)){if(!n)return t(26);var i=e[W].values_.get(n);return i||t(27,n,er(e)),i}if(K(e)||Qe(e)||Et(e))return e}else if(m(e)&&Et(e[W]))return e[W];t(28)}function er(e,n){var r;if(void 0!==n)r=Zn(e,n);else{if(It(e))return e.name;r=Fn(e)||Tn(e)||Pn(e)?function(e){return e||t(29),K(e)||Qe(e)||Et(e)||Tn(e)||Pn(e)?e:e[W]?e[W]:void t(24,e)}(e):Zn(e)}return r.name_}function tr(e){var t=it(),n=We(!0);vt();try{return e()}finally{gt(),He(n),ot(t)}}Object.entries(gn).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&w(qn.prototype,t,n)}),Qn(1e3);var nr,rr=l.toString;function ir(e,t,n){return void 0===n&&(n=-1),or(e,t,n)}function or(e,t,n,r,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=rr.call(e);if(a!==rr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0===+e?1/+e==1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ar(e),t=ar(t);var l="[object Array]"===a;if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,u=t.constructor;if(s!==u&&!(m(s)&&s instanceof s&&m(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),l){if((c=e.length)!==t.length)return!1;for(;c--;)if(!or(e[c],t[c],n-1,r,i))return!1}else{var d=Object.keys(e),f=d.length;if(Object.keys(t).length!==f)return!1;for(var p=0;p<f;p++){var h=d[p];if(!T(t,h)||!or(e[h],t[h],n-1,r,i))return!1}}return r.pop(),i.pop(),!0}function ar(e){return kn(e)?e.slice():k(e)||Tn(e)||S(e)||Pn(e)?Array.from(e.entries()):e}var lr=(null==(nr=r().Iterator)?void 0:nr.prototype)||{};function sr(e){return e[Symbol.iterator]=ur,Object.assign(Object.create(lr),e)}function ur(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===r()[e]&&t("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:er},$mobx:W});const cr="null",dr="undefined",fr="[object Number]",pr="infinite",hr="element",mr=(...e)=>t=>e.includes(function(e){if(void 0===e)return dr;if(null===e)return cr;if(e&&(1===e.nodeType||9===e.nodeType))return hr;const t=Object.prototype.toString.call(e);if(t===fr){if(Number.isNaN(e))return"nan";if(!Number.isFinite(e))return pr}return t}(t)),vr=mr(cr),gr=mr(dr),br=mr("[object Object]"),yr=mr("[object Array]"),wr=mr("[object String]"),_r=mr(fr),xr=mr("[object Boolean]"),kr=mr("[object Function]","[object AsyncFunction]"),Sr=mr("[object RegExp]"),Er=mr(hr),Cr=mr("nan"),Or=mr(pr),Tr=mr("[object Symbol]"),Ar=Object.freeze(Object.defineProperty({__proto__:null,isArray:yr,isBoolean:xr,isDefined:e=>null!=e,isElement:Er,isFunction:kr,isInfinite:Or,isNaN:Cr,isNull:vr,isNumber:_r,isObject:br,isRegExp:Sr,isString:wr,isSymbol:Tr,isUndefined:gr},Symbol.toStringTag,{value:"Module"})),Mr=e=>{let t;const n=e?.comparer??$.default,r=e=>{const i=e??null;n(r.current,i)||zt(()=>{t=r.current??void 0,r.current=i,r.listeners.forEach(e=>{e(r.current,t)}),null===r.current&&void 0!==t&&(t=void 0)})};return r.listeners=new Set(e?.onChange?[e.onChange]:[]),(e?.onSet||e?.onUnset)&&r.listeners.add((t,n)=>{t?e.onSet?.(t,n):e.onUnset?.(n)}),r.current=e?.initial??null,r.meta=e?.meta??{},dn(r,{current:Pe.ref,meta:Pe}),r},Nr=(e,t)=>{if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(e.constructor!==t.constructor)return!1;const n=Array.isArray(e);if(n!==Array.isArray(t))return!1;if(n){const n=e,r=t;if(n.length!==r.length)return!1;for(const[e,t]of n.entries())if(t!==r[e])return!1;return!0}if(e instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp)return e.toString()===t.toString();const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;const o=t;for(const t of r)if(!Object.hasOwn(o,t)||e[t]!==o[t])return!1;return!0},{entries:Pr,setPrototypeOf:Lr,isFrozen:Rr,getPrototypeOf:zr,getOwnPropertyDescriptor:Ir}=Object;let{freeze:jr,seal:Dr,create:Vr}=Object,{apply:Fr,construct:Br}="undefined"!=typeof Reflect&&Reflect;jr||(jr=function(e){return e}),Dr||(Dr=function(e){return e}),Fr||(Fr=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),Br||(Br=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const Ur=ri(Array.prototype.forEach),Wr=ri(Array.prototype.lastIndexOf),Hr=ri(Array.prototype.pop),Kr=ri(Array.prototype.push),Gr=ri(Array.prototype.splice),$r=ri(String.prototype.toLowerCase),qr=ri(String.prototype.toString),Yr=ri(String.prototype.match),Xr=ri(String.prototype.replace),Qr=ri(String.prototype.indexOf),Jr=ri(String.prototype.trim),Zr=ri(Object.prototype.hasOwnProperty),ei=ri(RegExp.prototype.test),ti=(ni=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Br(ni,t)});var ni;function ri(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Fr(e,t,r)}}function ii(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$r;Lr&&Lr(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(Rr(t)||(t[r]=e),i=e)}e[i]=!0}return e}function oi(e){for(let t=0;t<e.length;t++)Zr(e,t)||(e[t]=null);return e}function ai(e){const t=Vr(null);for(const[n,r]of Pr(e))Zr(e,n)&&(Array.isArray(r)?t[n]=oi(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=ai(r):t[n]=r);return t}function li(e,t){for(;null!==e;){const n=Ir(e,t);if(n){if(n.get)return ri(n.get);if("function"==typeof n.value)return ri(n.value)}e=zr(e)}return function(){return null}}const si=jr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ui=jr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ci=jr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),di=jr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),fi=jr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),pi=jr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),hi=jr(["#text"]),mi=jr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),vi=jr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),gi=jr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),bi=jr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),yi=Dr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),wi=Dr(/<%[\w\W]*|[\w\W]*%>/gm),_i=Dr(/\$\{[\w\W]*/gm),xi=Dr(/^data-[\-\w.\u00B7-\uFFFF]+$/),ki=Dr(/^aria-[\-\w]+$/),Si=Dr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ei=Dr(/^(?:\w+script|data):/i),Ci=Dr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Oi=Dr(/^html$/i),Ti=Dr(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ai=Object.freeze({__proto__:null,ARIA_ATTR:ki,ATTR_WHITESPACE:Ci,CUSTOM_ELEMENT:Ti,DATA_ATTR:xi,DOCTYPE_NAME:Oi,ERB_EXPR:wi,IS_ALLOWED_URI:Si,IS_SCRIPT_OR_DATA:Ei,MUSTACHE_EXPR:yi,TMPLIT_EXPR:_i});!function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:s,Element:u,NodeFilter:c,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:h}=t,m=u.prototype,v=li(m,"cloneNode"),g=li(m,"remove"),b=li(m,"nextSibling"),y=li(m,"childNodes"),w=li(m,"parentNode");if("function"==typeof l){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let _,x="";const{implementation:k,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:C}=r,{importNode:O}=i;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Pr&&"function"==typeof w&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:M,TMPLIT_EXPR:N,DATA_ATTR:P,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:z,CUSTOM_ELEMENT:I}=Ai;let{IS_ALLOWED_URI:j}=Ai,D=null;const V=ii({},[...si,...ui,...ci,...fi,...hi]);let F=null;const B=ii({},[...mi,...vi,...gi,...bi]);let U=Object.seal(Vr(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,H=null;const K=Object.seal(Vr(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,$=!0,q=!1,Y=!0,X=!1,Q=!0,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,ae=!0,le=!1,se={},ue=null;const ce=ii({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const fe=ii({},["audio","video","img","source","image","track"]);let pe=null;const he=ii({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let be=ge,ye=!1,we=null;const _e=ii({},[me,ve,ge],qr);let xe=ii({},["mi","mo","mn","ms","mtext"]),ke=ii({},["annotation-xml"]);const Se=ii({},["title","style","font","a","script"]);let Ee=null;const Ce=["application/xhtml+xml","text/html"];let Oe=null,Te=null;const Ae=r.createElement("form"),Me=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=ai(e),Ee=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Oe="application/xhtml+xml"===Ee?qr:$r,D=Zr(e,"ALLOWED_TAGS")?ii({},e.ALLOWED_TAGS,Oe):V,F=Zr(e,"ALLOWED_ATTR")?ii({},e.ALLOWED_ATTR,Oe):B,we=Zr(e,"ALLOWED_NAMESPACES")?ii({},e.ALLOWED_NAMESPACES,qr):_e,pe=Zr(e,"ADD_URI_SAFE_ATTR")?ii(ai(he),e.ADD_URI_SAFE_ATTR,Oe):he,de=Zr(e,"ADD_DATA_URI_TAGS")?ii(ai(fe),e.ADD_DATA_URI_TAGS,Oe):fe,ue=Zr(e,"FORBID_CONTENTS")?ii({},e.FORBID_CONTENTS,Oe):ce,W=Zr(e,"FORBID_TAGS")?ii({},e.FORBID_TAGS,Oe):ai({}),H=Zr(e,"FORBID_ATTR")?ii({},e.FORBID_ATTR,Oe):ai({}),se=!!Zr(e,"USE_PROFILES")&&e.USE_PROFILES,G=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Q=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,le=e.IN_PLACE||!1,j=e.ALLOWED_URI_REGEXP||Si,be=e.NAMESPACE||ge,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,U=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Me(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Me(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(U.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&($=!1),ne&&(te=!0),se&&(D=ii({},hi),F=[],!0===se.html&&(ii(D,si),ii(F,mi)),!0===se.svg&&(ii(D,ui),ii(F,vi),ii(F,bi)),!0===se.svgFilters&&(ii(D,ci),ii(F,vi),ii(F,bi)),!0===se.mathMl&&(ii(D,fi),ii(F,gi),ii(F,bi))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?K.tagCheck=e.ADD_TAGS:(D===V&&(D=ai(D)),ii(D,e.ADD_TAGS,Oe))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?K.attributeCheck=e.ADD_ATTR:(F===B&&(F=ai(F)),ii(F,e.ADD_ATTR,Oe))),e.ADD_URI_SAFE_ATTR&&ii(pe,e.ADD_URI_SAFE_ATTR,Oe),e.FORBID_CONTENTS&&(ue===ce&&(ue=ai(ue)),ii(ue,e.FORBID_CONTENTS,Oe)),ae&&(D["#text"]=!0),J&&ii(D,["html","head","body"]),D.table&&(ii(D,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,x=_.createHTML("")}else void 0===_&&(_=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(h,o)),null!==_&&"string"==typeof x&&(x=_.createHTML(""));jr&&jr(e),Te=e}},Pe=ii({},[...ui,...ci,...di]),Le=ii({},[...fi,...pi]),Re=function(e){Kr(n.removed,{element:e});try{w(e).removeChild(e)}catch(t){g(e)}},ze=function(e,t){try{Kr(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Kr(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Re(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=Yr(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ee&&be===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=_?_.createHTML(e):e;if(be===ge)try{t=(new p).parseFromString(i,Ee)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?x:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),be===ge?C.call(t,J?"html":"body")[0]:J?t.documentElement:o},je=function(e){return S.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},De=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Ve=function(e){return"function"==typeof s&&e instanceof s};function Fe(e,t,r){Ur(e,e=>{e.call(n,t,r,Te)})}const Be=function(e){let t=null;if(Fe(T.beforeSanitizeElements,e,null),De(e))return Re(e),!0;const r=Oe(e.nodeName);if(Fe(T.uponSanitizeElement,e,{tagName:r,allowedTags:D}),Q&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&ei(/<[/\w!]/g,e.innerHTML)&&ei(/<[/\w!]/g,e.textContent))return Re(e),!0;if(7===e.nodeType)return Re(e),!0;if(Q&&8===e.nodeType&&ei(/<[/\w]/g,e.data))return Re(e),!0;if(!(K.tagCheck instanceof Function&&K.tagCheck(r))&&(!D[r]||W[r])){if(!W[r]&&We(r)){if(U.tagNameCheck instanceof RegExp&&ei(U.tagNameCheck,r))return!1;if(U.tagNameCheck instanceof Function&&U.tagNameCheck(r))return!1}if(ae&&!ue[r]){const t=w(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=v(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,b(e))}}return Re(e),!0}return e instanceof u&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=$r(e.tagName),r=$r(t.tagName);return!!we[e.namespaceURI]&&(e.namespaceURI===ve?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Pe[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===ve?"math"===n&&ke[r]:Boolean(Le[n]):e.namespaceURI===ge?!(t.namespaceURI===ve&&!ke[r])&&!(t.namespaceURI===me&&!xe[r])&&!Le[n]&&(Se[n]||!Pe[n]):!("application/xhtml+xml"!==Ee||!we[e.namespaceURI]))}(e)?(Re(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!ei(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&3===e.nodeType&&(t=e.textContent,Ur([A,M,N],e=>{t=Xr(t,e," ")}),e.textContent!==t&&(Kr(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(T.afterSanitizeElements,e,null),!1):(Re(e),!0)},Ue=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in r||n in Ae))return!1;if($&&!H[t]&&ei(P,t));else if(G&&ei(L,t));else if(K.attributeCheck instanceof Function&&K.attributeCheck(t,e));else if(!F[t]||H[t]){if(!(We(e)&&(U.tagNameCheck instanceof RegExp&&ei(U.tagNameCheck,e)||U.tagNameCheck instanceof Function&&U.tagNameCheck(e))&&(U.attributeNameCheck instanceof RegExp&&ei(U.attributeNameCheck,t)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(t,e))||"is"===t&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&ei(U.tagNameCheck,n)||U.tagNameCheck instanceof Function&&U.tagNameCheck(n))))return!1}else if(pe[t]);else if(ei(j,Xr(n,z,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Qr(n,"data:")||!de[e])if(q&&!ei(R,Xr(n,z,"")));else if(n)return!1;return!0},We=function(e){return"annotation-xml"!==e&&Yr(e,I)},He=function(e){Fe(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||De(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:l,value:s}=o,u=Oe(a),c=s;let d="value"===a?c:Jr(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Fe(T.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==u&&"name"!==u||(ze(a,e),d="user-content-"+d),Q&&ei(/((--!?|])>)|<\/(style|title|textarea)/i,d)){ze(a,e);continue}if("attributename"===u&&Yr(d,"href")){ze(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){ze(a,e);continue}if(!Y&&ei(/\/>/i,d)){ze(a,e);continue}X&&Ur([A,M,N],e=>{d=Xr(d,e," ")});const f=Oe(e.nodeName);if(Ue(f,u,d)){if(_&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(l);else switch(h.getAttributeType(f,u)){case"TrustedHTML":d=_.createHTML(d);break;case"TrustedScriptURL":d=_.createScriptURL(d)}if(d!==c)try{l?e.setAttributeNS(l,a,d):e.setAttribute(a,d),De(e)?Re(e):Hr(n.removed)}catch(t){ze(a,e)}}else ze(a,e)}Fe(T.afterSanitizeAttributes,e,null)},Ke=function e(t){let n=null;const r=je(t);for(Fe(T.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Fe(T.uponSanitizeShadowNode,n,null),Be(n),He(n),n.content instanceof a&&e(n.content);Fe(T.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,l=null,u=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ve(e)){if("function"!=typeof e.toString)throw ti("toString is not a function");if("string"!=typeof(e=e.toString()))throw ti("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Ne(t),n.removed=[],"string"==typeof e&&(le=!1),le){if(e.nodeName){const t=Oe(e.nodeName);if(!D[t]||W[t])throw ti("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)r=Ie("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!J&&-1===e.indexOf("<"))return _&&re?_.createHTML(e):e;if(r=Ie(e),!r)return te?null:re?x:""}r&&ee&&Re(r.firstChild);const c=je(le?e:r);for(;l=c.nextNode();)Be(l),He(l),l.content instanceof a&&Ke(l.content);if(le)return e;if(te){if(ne)for(u=E.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(F.shadowroot||F.shadowrootmode)&&(u=O.call(i,u,!0)),u}let d=J?r.outerHTML:r.innerHTML;return J&&D["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&ei(Oi,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&Ur([A,M,N],e=>{d=Xr(d,e," ")}),_&&re?_.createHTML(d):d},n.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){Te=null,Z=!1},n.isValidAttribute=function(e,t,n){Te||Ne({});const r=Oe(e),i=Oe(t);return Ue(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&Kr(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Wr(T[e],t);return-1===n?void 0:Gr(T[e],n,1)[0]}return Hr(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Mi=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()};var Ni,Pi,Li={exports:{}},Ri={};function zi(){return Pi||(Pi=1,Li.exports=function(){if(Ni)return Ri;Ni=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function m(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function v(){}function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): 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")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var b=g.prototype=new v;b.constructor=g,p(b,m.prototype),b.isPureReactComponent=!0;var y=Array.isArray,w=Object.prototype.hasOwnProperty,_={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function k(t,n,r){var i,o={},a=null,l=null;if(null!=n)for(i in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)w.call(n,i)&&!x.hasOwnProperty(i)&&(o[i]=n[i]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(t&&t.defaultProps)for(i in s=t.defaultProps)void 0===o[i]&&(o[i]=s[i]);return{$$typeof:e,type:t,key:a,ref:l,props:o,_owner:_.current}}function S(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var E=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function O(n,r,i,o,a){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return a=a(s=n),n=""===o?"."+C(s,0):o,y(a)?(i="",null!=n&&(i=n.replace(E,"$&/")+"/"),O(a,r,i,"",function(e){return e})):null!=a&&(S(a)&&(a=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(a,i+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+n)),r.push(a)),1;if(s=0,o=""===o?".":o+":",y(n))for(var u=0;u<n.length;u++){var c=o+C(l=n[u],u);s+=O(l,r,i,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=O(l=l.value,r,i,c=o+C(l,u++),a);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function T(e,t,n){if(null==e)return e;var r=[],i=0;return O(e,r,"","",function(e){return t.call(n,e,i++)}),r}function A(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},N={transition:null},P={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:N,ReactCurrentOwner:_};function L(){throw Error("act(...) is not supported in production builds of React.")}return Ri.Children={map:T,forEach:function(e,t,n){T(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return T(e,function(){t++}),t},toArray:function(e){return T(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Ri.Component=m,Ri.Fragment=n,Ri.Profiler=i,Ri.PureComponent=g,Ri.StrictMode=r,Ri.Suspense=s,Ri.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,Ri.act=L,Ri.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var i=p({},t.props),o=t.key,a=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=_.current),void 0!==n.key&&(o=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)w.call(n,u)&&!x.hasOwnProperty(u)&&(i[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}return{$$typeof:e,type:t.type,key:o,ref:a,props:i,_owner:l}},Ri.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},Ri.createElement=k,Ri.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},Ri.createRef=function(){return{current:null}},Ri.forwardRef=function(e){return{$$typeof:l,render:e}},Ri.isValidElement=S,Ri.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:A}},Ri.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},Ri.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}},Ri.unstable_act=L,Ri.useCallback=function(e,t){return M.current.useCallback(e,t)},Ri.useContext=function(e){return M.current.useContext(e)},Ri.useDebugValue=function(){},Ri.useDeferredValue=function(e){return M.current.useDeferredValue(e)},Ri.useEffect=function(e,t){return M.current.useEffect(e,t)},Ri.useId=function(){return M.current.useId()},Ri.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},Ri.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},Ri.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},Ri.useMemo=function(e,t){return M.current.useMemo(e,t)},Ri.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},Ri.useRef=function(e){return M.current.useRef(e)},Ri.useState=function(e){return M.current.useState(e)},Ri.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},Ri.useTransition=function(){return M.current.useTransition()},Ri.version="18.3.1",Ri}()),Li.exports}var Ii=zi();const ji=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Ii);var Di,Vi,Fi={exports:{}},Bi={},Ui=(Vi||(Vi=1,Fi.exports=function(){if(Di)return Bi;Di=1;var e=zi(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var l,s={},u=null,c=null;for(l in void 0!==a&&(u=""+a),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!o.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:i.current}}return Bi.Fragment=n,Bi.jsx=a,Bi.jsxs=a,Bi}()),Fi.exports);if(!Ii.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!dn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var Wi,Hi,Ki,Gi,$i={exports:{}},qi={},Yi={exports:{}},Xi={};function Qi(){return Hi||(Hi=1,Yi.exports=(Wi||(Wi=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var i=n(u);null!==i;){if(null===i.callback)r(u);else{if(!(i.startTime<=e))break;r(u),i.sortIndex=i.expirationTime,t(s,i)}i=n(u)}}function w(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,P(_);else{var t=n(u);null!==t&&L(w,t.startTime-e)}}function _(t,i){h=!1,m&&(m=!1,g(E),E=-1),p=!0;var o=f;try{for(y(i),d=n(s);null!==d&&(!(d.expirationTime>i)||t&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var l=a(d.expirationTime<=i);i=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(i)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&L(w,v.startTime-i),c=!1}return c}finally{d=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,k=!1,S=null,E=-1,C=5,O=-1;function T(){return!(e.unstable_now()-O<C)}function A(){if(null!==S){var t=e.unstable_now();O=t;var n=!0;try{n=S(!0,t)}finally{n?x():(k=!1,S=null)}}else k=!1}if("function"==typeof b)x=function(){b(A)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,N=M.port2;M.port1.onmessage=A,x=function(){N.postMessage(null)}}else x=function(){v(A,0)};function P(e){S=e,k||(k=!0,x())}function L(t,n){E=v(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,P(_))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:i,priorityLevel:r,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>a?(r.sortIndex=o,t(u,r),null===n(s)&&r===n(u)&&(m?(g(E),E=-1):m=!0,L(w,o-a))):(r.sortIndex=l,t(s,r),h||p||(h=!0,P(_))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(Xi)),Xi)),Yi.exports}function Ji(){if(Ki)return qi;Ki=1;var e=zi(),t=Qi();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,i={};function o(e,t){a(e,t),a(e+"Capture",t)}function a(e,t){for(i[e]=t,e=0;e<t.length;e++)r.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,c={},d={};function f(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){p[e]=new f(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];p[t]=new f(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){p[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){p[e]=new f(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){p[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){p[e]=new f(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){p[e]=new f(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){p[e]=new f(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){p[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function v(e,t,n,r){var i=p.hasOwnProperty(t)?p[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!s.call(d,e)||!s.call(c,e)&&(u.test(e)?d[e]=!0:(c[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(h,m);p[t]=new f(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(h,m);p[t]=new f(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(h,m);p[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)}),p.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)});var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=Symbol.for("react.element"),y=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),S=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),N=Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=N&&e[N]||e["@@iterator"])?e:null}var L,R=Object.assign;function z(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var I=!1;function j(e,t){if(!e||I)return"";I=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(1!==a||1!==l)do{if(a--,0>--l||i[a]!==o[l]){var s="\n"+i[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{I=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function D(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return j(e.type,!1);case 11:return j(e.type.render,!1);case 1:return j(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case y:return"Portal";case x:return"Profiler";case _:return"StrictMode";case C:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case S:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case E:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function F(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function B(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function H(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function $(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=B(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function q(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Y(e,t){q(e,t);var n=B(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Q(e,t.type,n):t.hasOwnProperty("defaultValue")&&Q(e,t.type,B(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Q(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var J=Array.isArray;function Z(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+B(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(J(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:B(r)}}function ne(e,t){var n=B(t.value),r=B(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function re(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function oe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ae,le,se=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ae=ae||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ae.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return le(e,t)})}:le);function ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ce={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];function fe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ce.hasOwnProperty(e)&&ce[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=fe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(ce).forEach(function(e){de.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ce[t]=ce[e]})});var he=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function me(e,t){if(t){if(he[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ge=null;function be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ye=null,we=null,_e=null;function xe(e){if(e=vi(e)){if("function"!=typeof ye)throw Error(n(280));var t=e.stateNode;t&&(t=bi(t),ye(e.stateNode,e.type,t))}}function ke(e){we?_e?_e.push(e):_e=[e]:we=e}function Se(){if(we){var e=we,t=_e;if(_e=we=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Ee(e,t){return e(t)}function Ce(){}var Oe=!1;function Te(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Ee(e,t,n)}finally{Oe=!1,(null!==we||null!==_e)&&(Ce(),Se())}}function Ae(e,t){var r=e.stateNode;if(null===r)return null;var i=bi(r);if(null===i)return null;r=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Me=!1;if(l)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){Me=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(le){Me=!1}function Pe(e,t,n,r,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Le=!1,Re=null,ze=!1,Ie=null,je={onError:function(e){Le=!0,Re=e}};function De(e,t,n,r,i,o,a,l,s){Le=!1,Re=null,Pe.apply(je,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Fe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Be(e){if(Ve(e)!==e)throw Error(n(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,i=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(i=o.return)){r=i;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Be(o),e;if(a===i)return Be(o),t;a=a.sibling}throw Error(n(188))}if(r.return!==i.return)r=o,i=a;else{for(var l=!1,s=o.child;s;){if(s===r){l=!0,r=o,i=a;break}if(s===i){l=!0,i=o,r=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===r){l=!0,r=a,i=o;break}if(s===i){l=!0,i=a,r=o;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==i)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var He=t.unstable_scheduleCallback,Ke=t.unstable_cancelCallback,Ge=t.unstable_shouldYield,$e=t.unstable_requestPaint,qe=t.unstable_now,Ye=t.unstable_getCurrentPriorityLevel,Xe=t.unstable_ImmediatePriority,Qe=t.unstable_UserBlockingPriority,Je=t.unstable_NormalPriority,Ze=t.unstable_LowPriority,et=t.unstable_IdlePriority,tt=null,nt=null,rt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(it(e)/ot|0)|0},it=Math.log,ot=Math.LN2,at=64,lt=4194304;function st(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ut(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~i;0!==l?r=st(l):0!==(o&=a)&&(r=st(o))}else 0!==(a=n&~i)?r=st(a):0!==o&&(r=st(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-rt(t)),r|=e[n],t&=~i;return r}function ct(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function dt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ft(){var e=at;return!(4194240&(at<<=1))&&(at=64),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ht(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-rt(t)]=n}function mt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-rt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var vt=0;function gt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var bt,yt,wt,_t,xt,kt=!1,St=[],Et=null,Ct=null,Ot=null,Tt=new Map,At=new Map,Mt=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Pt(e,t){switch(e){case"focusin":case"focusout":Et=null;break;case"dragenter":case"dragleave":Ct=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Lt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=vi(t))&&yt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Rt(e){var t=mi(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Fe(n)))return e.blockedOn=t,void xt(e.priority,function(){wt(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=vi(n))&&yt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ge=r,n.target.dispatchEvent(r),ge=null,t.shift()}return!0}function It(e,t,n){zt(e)&&n.delete(t)}function jt(){kt=!1,null!==Et&&zt(Et)&&(Et=null),null!==Ct&&zt(Ct)&&(Ct=null),null!==Ot&&zt(Ot)&&(Ot=null),Tt.forEach(It),At.forEach(It)}function Dt(e,n){e.blockedOn===n&&(e.blockedOn=null,kt||(kt=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,jt)))}function Vt(e){function t(t){return Dt(t,e)}if(0<St.length){Dt(St[0],e);for(var n=1;n<St.length;n++){var r=St[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Et&&Dt(Et,e),null!==Ct&&Dt(Ct,e),null!==Ot&&Dt(Ot,e),Tt.forEach(t),At.forEach(t),n=0;n<Mt.length;n++)(r=Mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&null===(n=Mt[0]).blockedOn;)Rt(n),null===n.blockedOn&&Mt.shift()}var Ft=g.ReactCurrentBatchConfig,Bt=!0;function Ut(e,t,n,r){var i=vt,o=Ft.transition;Ft.transition=null;try{vt=1,Ht(e,t,n,r)}finally{vt=i,Ft.transition=o}}function Wt(e,t,n,r){var i=vt,o=Ft.transition;Ft.transition=null;try{vt=4,Ht(e,t,n,r)}finally{vt=i,Ft.transition=o}}function Ht(e,t,n,r){if(Bt){var i=Gt(e,t,n,r);if(null===i)Br(e,t,r,Kt,n),Pt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Et=Lt(Et,e,t,n,r,i),!0;case"dragenter":return Ct=Lt(Ct,e,t,n,r,i),!0;case"mouseover":return Ot=Lt(Ot,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Tt.set(o,Lt(Tt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,At.set(o,Lt(At.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Pt(e,r),4&t&&-1<Nt.indexOf(e)){for(;null!==i;){var o=vi(i);if(null!==o&&bt(o),null===(o=Gt(e,t,n,r))&&Br(e,t,r,Kt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Br(e,t,r,null,n)}}var Kt=null;function Gt(e,t,n,r){if(Kt=null,null!==(e=mi(e=be(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Fe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function $t(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ye()){case Xe:return 1;case Qe:return 4;case Je:case Ze:return 16;case et:return 536870912;default:return 16}default:return 16}}var qt=null,Yt=null,Xt=null;function Qt(){if(Xt)return Xt;var e,t,n=Yt,r=n.length,i="value"in qt?qt.value:qt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Xt=i.slice(e,1<t?1-t:void 0)}function Jt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Zt(){return!0}function en(){return!1}function tn(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Zt:en,this.isPropagationStopped=en,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Zt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Zt)},persist:function(){},isPersistent:Zt}),t}var nn,rn,on,an={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=tn(an),sn=R({},an,{view:0,detail:0}),un=tn(sn),cn=R({},sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==on&&(on&&"mousemove"===e.type?(nn=e.screenX-on.screenX,rn=e.screenY-on.screenY):rn=nn=0,on=e),nn)},movementY:function(e){return"movementY"in e?e.movementY:rn}}),dn=tn(cn),fn=tn(R({},cn,{dataTransfer:0})),pn=tn(R({},sn,{relatedTarget:0})),hn=tn(R({},an,{animationName:0,elapsedTime:0,pseudoElement:0})),mn=R({},an,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=tn(mn),gn=tn(R({},an,{data:0})),bn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function xn(){return _n}var kn=R({},sn,{key:function(e){if(e.key){var t=bn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?yn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?Jt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sn=tn(kn),En=tn(R({},cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Cn=tn(R({},sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),On=tn(R({},an,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=R({},cn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=tn(Tn),Mn=[9,13,27,32],Nn=l&&"CompositionEvent"in window,Pn=null;l&&"documentMode"in document&&(Pn=document.documentMode);var Ln=l&&"TextEvent"in window&&!Pn,Rn=l&&(!Nn||Pn&&8<Pn&&11>=Pn),zn=String.fromCharCode(32),In=!1;function jn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1,Fn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fn[e.type]:"textarea"===t}function Un(e,t,n,r){ke(r),0<(t=Wr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Hn=null;function Kn(e){zr(e,0)}function Gn(e){if(H(gi(e)))return e}function $n(e,t){if("change"===e)return t}var qn=!1;if(l){var Yn;if(l){var Xn="oninput"in document;if(!Xn){var Qn=document.createElement("div");Qn.setAttribute("oninput","return;"),Xn="function"==typeof Qn.oninput}Yn=Xn}else Yn=!1;qn=Yn&&(!document.documentMode||9<document.documentMode)}function Jn(){Wn&&(Wn.detachEvent("onpropertychange",Zn),Hn=Wn=null)}function Zn(e){if("value"===e.propertyName&&Gn(Hn)){var t=[];Un(t,Hn,e,be(e)),Te(Kn,t)}}function er(e,t,n){"focusin"===e?(Jn(),Hn=n,(Wn=t).attachEvent("onpropertychange",Zn)):"focusout"===e&&Jn()}function tr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Hn)}function nr(e,t){if("click"===e)return Gn(t)}function rr(e,t){if("input"===e||"change"===e)return Gn(t)}var ir="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function or(e,t){if(ir(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!s.call(t,i)||!ir(e[i],t[i]))return!1}return!0}function ar(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=ar(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ar(r)}}function sr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ur(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function dr(e){var t=ur(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sr(n.ownerDocument.documentElement,n)){if(null!==r&&cr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=lr(n,o);var a=lr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var fr=l&&"documentMode"in document&&11>=document.documentMode,pr=null,hr=null,mr=null,vr=!1;function gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==pr||pr!==K(r)||(r="selectionStart"in(r=pr)&&cr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},mr&&or(mr,r)||(mr=r,0<(r=Wr(hr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pr)))}function br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var yr={animationend:br("Animation","AnimationEnd"),animationiteration:br("Animation","AnimationIteration"),animationstart:br("Animation","AnimationStart"),transitionend:br("Transition","TransitionEnd")},wr={},_r={};function xr(e){if(wr[e])return wr[e];if(!yr[e])return e;var t,n=yr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return wr[e]=n[t];return e}l&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete yr.animationend.animation,delete yr.animationiteration.animation,delete yr.animationstart.animation),"TransitionEvent"in window||delete yr.transitionend.transition);var kr=xr("animationend"),Sr=xr("animationiteration"),Er=xr("animationstart"),Cr=xr("transitionend"),Or=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Or.set(e,t),o(t,[e])}for(var Mr=0;Mr<Tr.length;Mr++){var Nr=Tr[Mr];Ar(Nr.toLowerCase(),"on"+(Nr[0].toUpperCase()+Nr.slice(1)))}Ar(kr,"onAnimationEnd"),Ar(Sr,"onAnimationIteration"),Ar(Er,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Cr,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pr));function Rr(e,t,r){var i=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,i,o,a,l,s,u){if(De.apply(this,arguments),Le){if(!Le)throw Error(n(198));var c=Re;Le=!1,Re=null,ze||(ze=!0,Ie=c)}}(i,t,void 0,e),e.currentTarget=null}function zr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;Rr(i,l,u),o=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;Rr(i,l,u),o=s}}}if(ze)throw e=Ie,ze=!1,Ie=null,e}function Ir(e,t){var n=t[fi];void 0===n&&(n=t[fi]=new Set);var r=e+"__bubble";n.has(r)||(Fr(t,e,2,!1),n.add(r))}function jr(e,t,n){var r=0;t&&(r|=4),Fr(n,e,r,t)}var Dr="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[Dr]){e[Dr]=!0,r.forEach(function(t){"selectionchange"!==t&&(Lr.has(t)||jr(t,!1,e),jr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Dr]||(t[Dr]=!0,jr("selectionchange",!1,t))}}function Fr(e,t,n,r){switch($t(t)){case 1:var i=Ut;break;case 4:i=Wt;break;default:i=Ht}n=i.bind(null,t,n,e),i=void 0,!Me||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Br(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===i||8===l.nodeType&&l.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===i||8===s.nodeType&&s.parentNode===i))return;a=a.return}for(;null!==l;){if(null===(a=mi(l)))return;if(5===(s=a.tag)||6===s){r=o=a;continue e}l=l.parentNode}}r=r.return}Te(function(){var r=o,i=be(n),a=[];e:{var l=Or.get(e);if(void 0!==l){var s=ln,u=e;switch(e){case"keypress":if(0===Jt(n))break e;case"keydown":case"keyup":s=Sn;break;case"focusin":u="focus",s=pn;break;case"focusout":u="blur",s=pn;break;case"beforeblur":case"afterblur":s=pn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=fn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Cn;break;case kr:case Sr:case Er:s=hn;break;case Cr:s=On;break;case"scroll":s=un;break;case"wheel":s=An;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=En}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Ae(h,f))&&c.push(Ur(h,m,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,i),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ge||!(u=n.relatedTarget||n.fromElement)||!mi(u)&&!u[di])&&(s||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?mi(u):null)&&(u!==(d=Ve(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=dn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=En,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:gi(s),p=null==u?l:gi(u),(l=new c(m,h+"leave",s,n,i)).target=d,l.relatedTarget=p,m=null,mi(i)===r&&((c=new c(f,h+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Hr(p))h++;for(p=0,m=f;m;m=Hr(m))p++;for(;0<h-p;)c=Hr(c),h--;for(;0<p-h;)f=Hr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Hr(c),f=Hr(f)}c=null}else c=null;null!==s&&Kr(a,l,s,c,!1),null!==u&&null!==d&&Kr(a,d,u,c,!0)}if("select"===(s=(l=r?gi(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=$n;else if(Bn(l))if(qn)v=rr;else{v=tr;var g=er}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=nr);switch(v&&(v=v(e,r))?Un(a,v,n,i):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&Q(l,"number",l.value)),g=r?gi(r):window,e){case"focusin":(Bn(g)||"true"===g.contentEditable)&&(pr=g,hr=r,mr=null);break;case"focusout":mr=hr=pr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,gr(a,n,i);break;case"selectionchange":if(fr)break;case"keydown":case"keyup":gr(a,n,i)}var b;if(Nn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Vn?jn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Rn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Vn&&(b=Qt()):(Yt="value"in(qt=i)?qt.value:qt.textContent,Vn=!0)),0<(g=Wr(r,y)).length&&(y=new gn(y,e,null,n,i),a.push({event:y,listeners:g}),(b||null!==(b=Dn(n)))&&(y.data=b))),(b=Ln?function(e,t){switch(e){case"compositionend":return Dn(t);case"keypress":return 32!==t.which?null:(In=!0,zn);case"textInput":return(e=t.data)===zn&&In?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Nn&&jn(e,t)?(e=Qt(),Xt=Yt=qt=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(i=new gn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=b)}zr(a,t)})}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ae(e,n))&&r.unshift(Ur(e,o,i)),null!=(o=Ae(e,t))&&r.push(Ur(e,o,i))),e=e.return}return r}function Hr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,i?null!=(s=Ae(n,o))&&a.unshift(Ur(n,s,l)):i||null!=(s=Ae(n,o))&&a.push(Ur(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Gr=/\r\n?/g,$r=/\u0000|\uFFFD/g;function qr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace($r,"")}function Yr(e,t,r){if(t=qr(t),qr(e)!==t&&r)throw Error(n(425))}function Xr(){}var Qr=null,Jr=null;function Zr(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ei="function"==typeof setTimeout?setTimeout:void 0,ti="function"==typeof clearTimeout?clearTimeout:void 0,ni="function"==typeof Promise?Promise:void 0,ri="function"==typeof queueMicrotask?queueMicrotask:void 0!==ni?function(e){return ni.resolve(null).then(e).catch(ii)}:ei;function ii(e){setTimeout(function(){throw e})}function oi(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Vt(t)}function ai(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function li(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var si=Math.random().toString(36).slice(2),ui="__reactFiber$"+si,ci="__reactProps$"+si,di="__reactContainer$"+si,fi="__reactEvents$"+si,pi="__reactListeners$"+si,hi="__reactHandles$"+si;function mi(e){var t=e[ui];if(t)return t;for(var n=e.parentNode;n;){if(t=n[di]||n[ui]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=li(e);null!==e;){if(n=e[ui])return n;e=li(e)}return t}n=(e=n).parentNode}return null}function vi(e){return!(e=e[ui]||e[di])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function gi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function bi(e){return e[ci]||null}var yi=[],wi=-1;function _i(e){return{current:e}}function xi(e){0>wi||(e.current=yi[wi],yi[wi]=null,wi--)}function ki(e,t){wi++,yi[wi]=e.current,e.current=t}var Si={},Ei=_i(Si),Ci=_i(!1),Oi=Si;function Ti(e,t){var n=e.type.contextTypes;if(!n)return Si;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ai(e){return null!=e.childContextTypes}function Mi(){xi(Ci),xi(Ei)}function Ni(e,t,r){if(Ei.current!==Si)throw Error(n(168));ki(Ei,t),ki(Ci,r)}function Pi(e,t,r){var i=e.stateNode;if(t=t.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var o in i=i.getChildContext())if(!(o in t))throw Error(n(108,F(e)||"Unknown",o));return R({},r,i)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Si,Oi=Ei.current,ki(Ei,e),ki(Ci,Ci.current),!0}function Ri(e,t,r){var i=e.stateNode;if(!i)throw Error(n(169));r?(e=Pi(e,t,Oi),i.__reactInternalMemoizedMergedChildContext=e,xi(Ci),xi(Ei),ki(Ei,e)):xi(Ci),ki(Ci,r)}var Ii=null,ji=!1,Di=!1;function Vi(e){null===Ii?Ii=[e]:Ii.push(e)}function Fi(){if(!Di&&null!==Ii){Di=!0;var e=0,t=vt;try{var n=Ii;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ii=null,ji=!1}catch(t){throw null!==Ii&&(Ii=Ii.slice(e+1)),He(Xe,Fi),t}finally{vt=t,Di=!1}}return null}var Bi=[],Ui=0,Wi=null,Hi=0,Gi=[],$i=0,Yi=null,Xi=1,Ji="";function Zi(e,t){Bi[Ui++]=Hi,Bi[Ui++]=Wi,Wi=e,Hi=t}function eo(e,t,n){Gi[$i++]=Xi,Gi[$i++]=Ji,Gi[$i++]=Yi,Yi=e;var r=Xi;e=Ji;var i=32-rt(r)-1;r&=~(1<<i),n+=1;var o=32-rt(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Xi=1<<32-rt(t)+i|n<<i|r,Ji=o+e}else Xi=1<<o|n<<i|r,Ji=e}function to(e){null!==e.return&&(Zi(e,1),eo(e,1,0))}function no(e){for(;e===Wi;)Wi=Bi[--Ui],Bi[Ui]=null,Hi=Bi[--Ui],Bi[Ui]=null;for(;e===Yi;)Yi=Gi[--$i],Gi[$i]=null,Ji=Gi[--$i],Gi[$i]=null,Xi=Gi[--$i],Gi[$i]=null}var ro=null,io=null,oo=!1,ao=null;function lo(e,t){var n=Pu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ro=e,io=ai(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ro=e,io=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yi?{id:Xi,overflow:Ji}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ro=e,io=null,!0);default:return!1}}function uo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(oo){var t=io;if(t){var r=t;if(!so(e,t)){if(uo(e))throw Error(n(418));t=ai(r.nextSibling);var i=ro;t&&so(e,t)?lo(i,r):(e.flags=-4097&e.flags|2,oo=!1,ro=e)}}else{if(uo(e))throw Error(n(418));e.flags=-4097&e.flags|2,oo=!1,ro=e}}}function fo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ro=e}function po(e){if(e!==ro)return!1;if(!oo)return fo(e),oo=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Zr(e.type,e.memoizedProps)),t&&(t=io)){if(uo(e))throw ho(),Error(n(418));for(;t;)lo(e,t),t=ai(t.nextSibling)}if(fo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){io=ai(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}io=null}}else io=ro?ai(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=io;e;)e=ai(e.nextSibling)}function mo(){io=ro=null,oo=!1}function vo(e){null===ao?ao=[e]:ao.push(e)}var go=g.ReactCurrentBatchConfig;function bo(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var i=r.stateNode}if(!i)throw Error(n(147,e));var o=i,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function wo(e){return(0,e._init)(e._payload)}function _o(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Du(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===A&&wo(i)===t.type)?((r=o(t,n.props)).ref=bo(e,t,n),r.return=e,r):((r=zu(n.type,n.key,n.props,null,e.mode,r)).ref=bo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Du(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case b:return(n=zu(t.type,t.key,t.props,null,e.mode,n)).ref=bo(e,null,t),n.return=e,n;case y:return(t=Vu(t,e.mode,n)).return=e,t;case A:return f(e,(0,t._init)(t._payload),n)}if(J(t)||P(t))return(t=Iu(t,e.mode,n,null)).return=e,t;yo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case b:return n.key===i?u(e,t,n,r):null;case y:return n.key===i?c(e,t,n,r):null;case A:return p(e,t,(i=n._init)(n._payload),r)}if(J(n)||P(n))return null!==i?null:d(e,t,n,r,null);yo(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case b:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case y:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case A:return h(e,t,n,(0,r._init)(r._payload),i)}if(J(r)||P(r))return d(t,e=e.get(n)||null,r,i,null);yo(t,r)}return null}return function s(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===w&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case b:e:{for(var v=d.key,g=c;null!==g;){if(g.key===v){if((v=d.type)===w){if(7===g.tag){r(u,g.sibling),(c=o(g,d.props.children)).return=u,u=c;break e}}else if(g.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===A&&wo(v)===g.type){r(u,g.sibling),(c=o(g,d.props)).ref=bo(u,g,d),c.return=u,u=c;break e}r(u,g);break}t(u,g),g=g.sibling}d.type===w?((c=Iu(d.props.children,u.mode,m,d.key)).return=u,u=c):((m=zu(d.type,d.key,d.props,null,u.mode,m)).ref=bo(u,c,d),m.return=u,u=m)}return l(u);case y:e:{for(g=d.key;null!==c;){if(c.key===g){if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){r(u,c.sibling),(c=o(c,d.children||[])).return=u,u=c;break e}r(u,c);break}t(u,c),c=c.sibling}(c=Vu(d,u.mode,m)).return=u,u=c}return l(u);case A:return s(u,c,(g=d._init)(d._payload),m)}if(J(d))return function(n,o,l,s){for(var u=null,c=null,d=o,m=o=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(n,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(n,d),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return r(n,d),oo&&Zi(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(n,l[m],s))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return oo&&Zi(n,m),u}for(d=i(n,d);m<l.length;m++)null!==(v=h(d,n,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach(function(e){return t(n,e)}),oo&&Zi(n,m),u}(u,c,d,m);if(P(d))return function(o,l,s,u){var c=P(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=l,v=l=0,g=null,b=s.next();null!==m&&!b.done;v++,b=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var y=p(o,m,b.value,u);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),l=a(y,l,v),null===d?c=y:d.sibling=y,d=y,m=g}if(b.done)return r(o,m),oo&&Zi(o,v),c;if(null===m){for(;!b.done;v++,b=s.next())null!==(b=f(o,b.value,u))&&(l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return oo&&Zi(o,v),c}for(m=i(o,m);!b.done;v++,b=s.next())null!==(b=h(m,o,v,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?v:b.key),l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach(function(e){return t(o,e)}),oo&&Zi(o,v),c}(u,c,d,m);yo(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d?(d=""+d,null!==c&&6===c.tag?(r(u,c.sibling),(c=o(c,d)).return=u,u=c):(r(u,c),(c=Du(d,u.mode,m)).return=u,u=c),l(u)):r(u,c)}}var xo=_o(!0),ko=_o(!1),So=_i(null),Eo=null,Co=null,Oo=null;function To(){Oo=Co=Eo=null}function Ao(e){var t=So.current;xi(So),e._currentValue=t}function Mo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function No(e,t){Eo=e,Oo=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(Oo!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(n(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var Lo=null;function Ro(e){null===Lo?Lo=[e]:Lo.push(e)}function zo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Ro(t)):(n.next=i.next,i.next=n),t.interleaved=n,Io(e,r)}function Io(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var jo=!1;function Do(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&As){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Io(e,n)}return null===(i=r.interleaved)?(t.next=t,Ro(r)):(t.next=i.next,i.next=t),r.interleaved=t,Io(e,n)}function Uo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,mt(e,n)}}function Wo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ho(e,t,n,r){var i=e.updateQueue;jo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?o=u:a.next=u,a=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=i.baseState;for(a=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=R({},d,f);break e;case 2:jo=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=i.effects)?i.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=i.shared.pending))break;l=(f=l).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===c&&(s=d),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);js|=a,e.lanes=a,e.memoizedState=d}}function Ko(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(null!==o){if(i.callback=null,i=r,"function"!=typeof o)throw Error(n(191,o));o.call(i)}}}var Go={},$o=_i(Go),qo=_i(Go),Yo=_i(Go);function Xo(e){if(e===Go)throw Error(n(174));return e}function Qo(e,t){switch(ki(Yo,t),ki(qo,e),ki($o,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:oe(null,"");break;default:t=oe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}xi($o),ki($o,t)}function Jo(){xi($o),xi(qo),xi(Yo)}function Zo(e){Xo(Yo.current);var t=Xo($o.current),n=oe(t,e.type);t!==n&&(ki(qo,e),ki($o,n))}function ea(e){qo.current===e&&(xi($o),xi(qo))}var ta=_i(0);function na(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=[];function ia(){for(var e=0;e<ra.length;e++)ra[e]._workInProgressVersionPrimary=null;ra.length=0}var oa=g.ReactCurrentDispatcher,aa=g.ReactCurrentBatchConfig,la=0,sa=null,ua=null,ca=null,da=!1,fa=!1,pa=0,ha=0;function ma(){throw Error(n(321))}function va(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return!1;return!0}function ga(e,t,r,i,o,a){if(la=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?el:tl,e=r(i,o),fa){a=0;do{if(fa=!1,pa=0,25<=a)throw Error(n(301));a+=1,ca=ua=null,t.updateQueue=null,oa.current=nl,e=r(i,o)}while(fa)}if(oa.current=Za,t=null!==ua&&null!==ua.next,la=0,ca=ua=sa=null,da=!1,t)throw Error(n(300));return e}function ba(){var e=0!==pa;return pa=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function wa(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,ua=e;else{if(null===e)throw Error(n(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function _a(e,t){return"function"==typeof t?t(e):t}function xa(e){var t=wa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var i=ua,o=i.baseQueue,a=r.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}i.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,i=i.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((la&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:e(i,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=i):u=u.next=f,sa.lanes|=d,js|=d}c=c.next}while(null!==c&&c!==a);null===u?l=i:u.next=s,ir(i,t.memoizedState)||(wl=!0),t.memoizedState=i,t.baseState=l,t.baseQueue=u,r.lastRenderedState=i}if(null!==(e=r.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,js|=a,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function ka(e){var t=wa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var i=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);ir(a,t.memoizedState)||(wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,i]}function Sa(){}function Ea(e,t){var r=sa,i=wa(),o=t(),a=!ir(i.memoizedState,o);if(a&&(i.memoizedState=o,wl=!0),i=i.queue,ja(Ta.bind(null,r,i,e),[e]),i.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(r.flags|=2048,Pa(9,Oa.bind(null,r,i,o,t),void 0,null),null===Ms)throw Error(n(349));30&la||Ca(r,t,o)}return o}function Ca(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Aa(t)&&Ma(e)}function Ta(e,t,n){return n(function(){Aa(t)&&Ma(e)})}function Aa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ir(e,n)}catch(e){return!0}}function Ma(e){var t=Io(e,1);null!==t&&ru(t,e,1,-1)}function Na(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Pa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function La(){return wa().memoizedState}function Ra(e,t,n,r){var i=ya();sa.flags|=e,i.memoizedState=Pa(1|t,n,void 0,void 0===r?null:r)}function za(e,t,n,r){var i=wa();r=void 0===r?null:r;var o=void 0;if(null!==ua){var a=ua.memoizedState;if(o=a.destroy,null!==r&&va(r,a.deps))return void(i.memoizedState=Pa(t,n,o,r))}sa.flags|=e,i.memoizedState=Pa(1|t,n,o,r)}function Ia(e,t){return Ra(8390656,8,e,t)}function ja(e,t){return za(2048,8,e,t)}function Da(e,t){return za(4,2,e,t)}function Va(e,t){return za(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,n){return n=null!=n?n.concat([e]):null,za(4,4,Fa.bind(null,t,e),n)}function Ua(){}function Wa(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&va(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ha(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&va(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ka(e,t,n){return 21&la?(ir(n,t)||(n=ft(),sa.lanes|=n,js|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n)}function Ga(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=aa.transition;aa.transition={};try{e(!1),t()}finally{vt=n,aa.transition=r}}function $a(){return wa().memoizedState}function qa(e,t,n){var r=nu(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Xa(e)?Qa(t,n):null!==(n=zo(e,t,n,r))&&(ru(n,e,r,tu()),Ja(n,t,r))}function Ya(e,t,n){var r=nu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xa(e))Qa(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,ir(l,a)){var s=t.interleaved;return null===s?(i.next=i,Ro(t)):(i.next=s.next,s.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=zo(e,t,i,r))&&(ru(n,e,r,i=tu()),Ja(n,t,r))}}function Xa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Qa(e,t){fa=da=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ja(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,mt(e,n)}}var Za={readContext:Po,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useInsertionEffect:ma,useLayoutEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useMutableSource:ma,useSyncExternalStore:ma,useId:ma,unstable_isNewReconciler:!1},el={readContext:Po,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:Ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ra(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qa.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Na,useDebugValue:Ua,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Na(!1),t=e[0];return e=Ga.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var i=sa,o=ya();if(oo){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Ms)throw Error(n(349));30&la||Ca(i,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Ia(Ta.bind(null,i,a,e),[e]),i.flags|=2048,Pa(9,Oa.bind(null,i,a,r,t),void 0,null),r},useId:function(){var e=ya(),t=Ms.identifierPrefix;if(oo){var n=Ji;t=":"+t+"R"+(n=(Xi&~(1<<32-rt(Xi)-1)).toString(32)+n),0<(n=pa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},tl={readContext:Po,useCallback:Wa,useContext:Po,useEffect:ja,useImperativeHandle:Ba,useInsertionEffect:Da,useLayoutEffect:Va,useMemo:Ha,useReducer:xa,useRef:La,useState:function(){return xa(_a)},useDebugValue:Ua,useDeferredValue:function(e){return Ka(wa(),ua.memoizedState,e)},useTransition:function(){return[xa(_a)[0],wa().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Ea,useId:$a,unstable_isNewReconciler:!1},nl={readContext:Po,useCallback:Wa,useContext:Po,useEffect:ja,useImperativeHandle:Ba,useInsertionEffect:Da,useLayoutEffect:Va,useMemo:Ha,useReducer:ka,useRef:La,useState:function(){return ka(_a)},useDebugValue:Ua,useDeferredValue:function(e){var t=wa();return null===ua?t.memoizedState=e:Ka(t,ua.memoizedState,e)},useTransition:function(){return[ka(_a)[0],wa().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Ea,useId:$a,unstable_isNewReconciler:!1};function rl(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function il(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ol={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Fo(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(ru(t,e,i,r),Uo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Fo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(ru(t,e,i,r),Uo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),i=Fo(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Bo(e,i,r))&&(ru(t,e,r,n),Uo(t,e,r))}};function al(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&or(n,r)&&or(i,o))}function ll(e,t,n){var r=!1,i=Si,o=t.contextType;return"object"==typeof o&&null!==o?o=Po(o):(i=Ai(t)?Oi:Ei.current,o=(r=null!=(r=t.contextTypes))?Ti(e,i):Si),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ol,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function sl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ol.enqueueReplaceState(t,t.state,null)}function ul(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Do(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Po(o):(o=Ai(t)?Oi:Ei.current,i.context=Ti(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(il(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ol.enqueueReplaceState(i,i.state,null),Ho(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cl(e,t){try{var n="",r=t;do{n+=D(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var pl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Gs=r),fl(0,t)},n}function ml(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===$s?$s=new Set([this]):$s.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e)}var yl=g.ReactCurrentOwner,wl=!1;function _l(e,t,n,r){t.child=null===e?ko(t,null,n,r):xo(t,e.child,n,r)}function xl(e,t,n,r,i){n=n.render;var o=t.ref;return No(t,i),r=ga(e,t,n,r,o,i),n=ba(),null===e||wl?(oo&&n&&to(t),t.flags|=1,_l(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kl(e,t,i))}function kl(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Lu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sl(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:or)(a,r)&&e.ref===t.ref)return Kl(e,t,i)}return t.flags|=1,(e=Ru(o,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(or(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Kl(e,t,i);131072&e.flags&&(wl=!0)}}return Ol(e,t,n,r,i)}function El(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ki(Rs,Ls),Ls|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,ki(Rs,Ls),Ls|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ki(Rs,Ls),Ls|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,ki(Rs,Ls),Ls|=r;return _l(e,t,i,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ol(e,t,n,r,i){var o=Ai(n)?Oi:Ei.current;return o=Ti(t,o),No(t,i),n=ga(e,t,n,r,o,i),r=ba(),null===e||wl?(oo&&r&&to(t),t.flags|=1,_l(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kl(e,t,i))}function Tl(e,t,n,r,i){if(Ai(n)){var o=!0;Li(t)}else o=!1;if(No(t,i),null===t.stateNode)Hl(e,t),ll(t,n,r),ul(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;u="object"==typeof u&&null!==u?Po(u):Ti(t,u=Ai(n)?Oi:Ei.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&sl(t,a,r,u),jo=!1;var f=t.memoizedState;a.state=f,Ho(t,r,a,i),s=t.memoizedState,l!==r||f!==s||Ci.current||jo?("function"==typeof c&&(il(t,n,c,r),s=t.memoizedState),(l=jo||al(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Vo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:rl(t.type,l),a.props=u,d=t.pendingProps,f=a.context,s="object"==typeof(s=n.contextType)&&null!==s?Po(s):Ti(t,s=Ai(n)?Oi:Ei.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&sl(t,a,r,s),jo=!1,f=t.memoizedState,a.state=f,Ho(t,r,a,i);var h=t.memoizedState;l!==d||f!==h||Ci.current||jo?("function"==typeof p&&(il(t,n,p,r),h=t.memoizedState),(u=jo||al(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Al(e,t,n,r,o,i)}function Al(e,t,n,r,i,o){Cl(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Ri(t,n,!1),Kl(e,t,o);r=t.stateNode,yl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,l,o)):_l(e,t,l,o),t.memoizedState=r.state,i&&Ri(t,n,!0),t.child}function Ml(e){var t=e.stateNode;t.pendingContext?Ni(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ni(0,t.context,!1),Qo(e,t.containerInfo)}function Nl(e,t,n,r,i){return mo(),vo(i),t.flags|=256,_l(e,t,n,r),t.child}var Pl,Ll,Rl,zl,Il={dehydrated:null,treeContext:null,retryLane:0};function jl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dl(e,t,r){var i,o=t.pendingProps,a=ta.current,l=!1,s=!!(128&t.flags);if((i=s)||(i=(null===e||null!==e.memoizedState)&&!!(2&a)),i?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),ki(ta,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},1&o||null===l?l=ju(s,o,0,null):(l.childLanes=0,l.pendingProps=s),e=Iu(e,o,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=jl(r),t.memoizedState=Il,e):Vl(t,s));if(null!==(a=e.memoizedState)&&null!==(i=a.dehydrated))return function(e,t,r,i,o,a,l){if(r)return 256&t.flags?(t.flags&=-257,Fl(e,t,l,i=dl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=ju({mode:"visible",children:i.children},o,0,null),(a=Iu(a,o,l,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,1&t.mode&&xo(t,e.child,null,l),t.child.memoizedState=jl(l),t.memoizedState=Il,a);if(!(1&t.mode))return Fl(e,t,l,null);if("$!"===o.data){if(i=o.nextSibling&&o.nextSibling.dataset)var s=i.dgst;return i=s,Fl(e,t,l,i=dl(a=Error(n(419)),i,void 0))}if(s=0!==(l&e.childLanes),wl||s){if(null!==(i=Ms)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(i.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Io(e,o),ru(i,e,o,-1))}return vu(),Fl(e,t,l,i=dl(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Tu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,io=ai(o.nextSibling),ro=t,oo=!0,ao=null,null!==e&&(Gi[$i++]=Xi,Gi[$i++]=Ji,Gi[$i++]=Yi,Xi=e.id,Ji=e.overflow,Yi=t),(t=Vl(t,i.children)).flags|=4096,t)}(e,t,s,o,i,a,r);if(l){l=o.fallback,s=t.mode,i=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 1&s||t.child===a?(o=Ru(a,u)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==i?l=Ru(i,l):(l=Iu(l,s,r,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?jl(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Ru(l,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Vl(e,t){return(t=ju({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fl(e,t,n,r){return null!==r&&vo(r),xo(t,e.child,null,n),(e=Vl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Mo(e.return,t,n)}function Ul(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Wl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_l(e,t,r.children,n),2&(r=ta.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ki(ta,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===na(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ul(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===na(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Hl(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Kl(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),js|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Ru(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Ru(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Gl(e,t){if(!oo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $l(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,r){var o=t.pendingProps;switch(no(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $l(t),null;case 1:case 17:return Ai(t.type)&&Mi(),$l(t),null;case 3:return o=t.stateNode,Jo(),xi(Ci),xi(Ei),ia(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ao&&(lu(ao),ao=null))),Ll(e,t),$l(t),null;case 5:ea(t);var a=Xo(Yo.current);if(r=t.type,null!==e&&null!=t.stateNode)Rl(e,t,r,o,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(null===t.stateNode)throw Error(n(166));return $l(t),null}if(e=Xo($o.current),po(t)){o=t.stateNode,r=t.type;var l=t.memoizedProps;switch(o[ui]=t,o[ci]=l,e=!!(1&t.mode),r){case"dialog":Ir("cancel",o),Ir("close",o);break;case"iframe":case"object":case"embed":Ir("load",o);break;case"video":case"audio":for(a=0;a<Pr.length;a++)Ir(Pr[a],o);break;case"source":Ir("error",o);break;case"img":case"image":case"link":Ir("error",o),Ir("load",o);break;case"details":Ir("toggle",o);break;case"input":$(o,l),Ir("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!l.multiple},Ir("invalid",o);break;case"textarea":te(o,l),Ir("invalid",o)}for(var s in me(r,l),a=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?o.textContent!==u&&(!0!==l.suppressHydrationWarning&&Yr(o.textContent,u,e),a=["children",u]):"number"==typeof u&&o.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Yr(o.textContent,u,e),a=["children",""+u]):i.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Ir("scroll",o)}switch(r){case"input":W(o),X(o,l,!0);break;case"textarea":W(o),re(o);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(o.onclick=Xr)}o=a,t.updateQueue=o,null!==o&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ie(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=s.createElement(r,{is:o.is}):(e=s.createElement(r),"select"===r&&(s=e,o.multiple?s.multiple=!0:o.size&&(s.size=o.size))):e=s.createElementNS(e,r),e[ui]=t,e[ci]=o,Pl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(r,o),r){case"dialog":Ir("cancel",e),Ir("close",e),a=o;break;case"iframe":case"object":case"embed":Ir("load",e),a=o;break;case"video":case"audio":for(a=0;a<Pr.length;a++)Ir(Pr[a],e);a=o;break;case"source":Ir("error",e),a=o;break;case"img":case"image":case"link":Ir("error",e),Ir("load",e),a=o;break;case"details":Ir("toggle",e),a=o;break;case"input":$(e,o),a=G(e,o),Ir("invalid",e);break;case"option":default:a=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},a=R({},o,{value:void 0}),Ir("invalid",e);break;case"textarea":te(e,o),a=ee(e,o),Ir("invalid",e)}for(l in me(r,a),u=a)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?pe(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&se(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&ue(e,c):"number"==typeof c&&ue(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(i.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Ir("scroll",e):null!=c&&v(e,l,c,s))}switch(r){case"input":W(e),X(e,o,!1);break;case"textarea":W(e),re(e);break;case"option":null!=o.value&&e.setAttribute("value",""+B(o.value));break;case"select":e.multiple=!!o.multiple,null!=(l=o.value)?Z(e,!!o.multiple,l,!1):null!=o.defaultValue&&Z(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Xr)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $l(t),null;case 6:if(e&&null!=t.stateNode)zl(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(n(166));if(r=Xo(Yo.current),Xo($o.current),po(t)){if(o=t.stateNode,r=t.memoizedProps,o[ui]=t,(l=o.nodeValue!==r)&&null!==(e=ro))switch(e.tag){case 3:Yr(o.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yr(o.nodeValue,r,!!(1&e.mode))}l&&(t.flags|=4)}else(o=(9===r.nodeType?r:r.ownerDocument).createTextNode(o))[ui]=t,t.stateNode=o}return $l(t),null;case 13:if(xi(ta),o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oo&&null!==io&&1&t.mode&&!(128&t.flags))ho(),mo(),t.flags|=98560,l=!1;else if(l=po(t),null!==o&&null!==o.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[ui]=t}else mo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$l(t),l=!1}else null!==ao&&(lu(ao),ao=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((o=null!==o)!=(null!==e&&null!==e.memoizedState)&&o&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ta.current?0===zs&&(zs=3):vu())),null!==t.updateQueue&&(t.flags|=4),$l(t),null);case 4:return Jo(),Ll(e,t),null===e&&Vr(t.stateNode.containerInfo),$l(t),null;case 10:return Ao(t.type._context),$l(t),null;case 19:if(xi(ta),null===(l=t.memoizedState))return $l(t),null;if(o=!!(128&t.flags),null===(s=l.rendering))if(o)Gl(l,!1);else{if(0!==zs||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=na(e))){for(t.flags|=128,Gl(l,!1),null!==(o=s.updateQueue)&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;null!==r;)e=o,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ki(ta,1&ta.current|2),t.child}e=e.sibling}null!==l.tail&&qe()>Ws&&(t.flags|=128,o=!0,Gl(l,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=na(s))){if(t.flags|=128,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Gl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!oo)return $l(t),null}else 2*qe()-l.renderingStartTime>Ws&&1073741824!==r&&(t.flags|=128,o=!0,Gl(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=qe(),t.sibling=null,r=ta.current,ki(ta,o?1&r|2:1&r),t):($l(t),null);case 22:case 23:return fu(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&1&t.mode?!!(1073741824&Ls)&&($l(t),6&t.subtreeFlags&&(t.flags|=8192)):$l(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Yl(e,t){switch(no(t),t.tag){case 1:return Ai(t.type)&&Mi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),xi(Ci),xi(Ei),ia(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ea(t),null;case 13:if(xi(ta),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return xi(ta),null;case 4:return Jo(),null;case 10:return Ao(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Pl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ll=function(){},Rl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Xo($o.current);var a,l=null;switch(n){case"input":o=G(e,o),r=G(e,r),l=[];break;case"select":o=R({},o,{value:void 0}),r=R({},r,{value:void 0}),l=[];break;case"textarea":o=ee(e,o),r=ee(e,r),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(c in me(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(i.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(i.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Ir("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},zl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Ql=!1,Jl="function"==typeof WeakSet?WeakSet:Set,Zl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Eu(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Eu(e,t,n)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&ts(t,n,o)}i=i.next}while(i!==r)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[ui],delete t[ci],delete t[fi],delete t[pi],delete t[hi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch(e){}switch(n.tag){case 5:Ql||es(n,t);case 6:var r=ds,i=fs;ds=null,ps(e,t,n),fs=i,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?oi(e.parentNode,n):1===e.nodeType&&oi(e,n),Vt(e)):oi(ds,n.stateNode));break;case 4:r=ds,i=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=i;break;case 0:case 11:case 14:case 15:if(!Ql&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&ts(n,t,a),i=i.next}while(i!==r)}ps(e,t,n);break;case 1:if(!Ql&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Eu(n,t,e)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,ps(e,t,n),Ql=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach(function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function vs(e,t){var r=t.deletions;if(null!==r)for(var i=0;i<r.length;i++){var o=r[i];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(n(160));hs(a,l,o),ds=null,fs=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Eu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),bs(e),4&i){try{rs(3,e,e.return),is(3,e)}catch(t){Eu(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Eu(e,e.return,t)}}break;case 1:vs(t,e),bs(e),512&i&&null!==r&&es(r,r.return);break;case 5:if(vs(t,e),bs(e),512&i&&null!==r&&es(r,r.return),32&e.flags){var o=e.stateNode;try{ue(o,"")}catch(t){Eu(e,e.return,t)}}if(4&i&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==r?r.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&q(o,a),ve(s,l);var c=ve(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?pe(o,f):"dangerouslySetInnerHTML"===d?se(o,f):"children"===d?ue(o,f):v(o,d,f,c)}switch(s){case"input":Y(o,a);break;case"textarea":ne(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?Z(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?Z(o,!!a.multiple,a.defaultValue,!0):Z(o,!!a.multiple,a.multiple?[]:"",!1))}o[ci]=a}catch(t){Eu(e,e.return,t)}}break;case 6:if(vs(t,e),bs(e),4&i){if(null===e.stateNode)throw Error(n(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Eu(e,e.return,t)}}break;case 3:if(vs(t,e),bs(e),4&i&&null!==r&&r.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Eu(e,e.return,t)}break;case 4:default:vs(t,e),bs(e);break;case 13:vs(t,e),bs(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Us=qe())),4&i&&ms(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Ql=(c=Ql)||d,vs(t,e),Ql=c):vs(t,e),bs(e),8192&i){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Zl=e,d=e.child;null!==d;){for(f=Zl=d;null!==Zl;){switch(h=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){i=p,r=p.return;try{t=i,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Eu(i,r,e)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==h?(h.return=p,Zl=h):xs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=fe("display",l))}catch(t){Eu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Eu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),bs(e),4&i&&ms(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ls(r)){var i=r;break e}r=r.return}throw Error(n(160))}switch(i.tag){case 5:var o=i.stateNode;32&i.flags&&(ue(o,""),i.flags&=-33),cs(e,ss(e),o);break;case 3:case 4:var a=i.stateNode.containerInfo;us(e,ss(e),a);break;default:throw Error(n(161))}}catch(t){Eu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ys(e,t,n){Zl=e,ws(e)}function ws(e,t,n){for(var r=!!(1&e.mode);null!==Zl;){var i=Zl,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Xl;if(!a){var l=i.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=Xl;var u=Ql;if(Xl=a,(Ql=s)&&!u)for(Zl=i;null!==Zl;)s=(a=Zl).child,22===a.tag&&null!==a.memoizedState?ks(i):null!==s?(s.return=a,Zl=s):ks(i);for(;null!==o;)Zl=o,ws(o),o=o.sibling;Zl=i,Xl=l,Ql=u}_s(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Zl=o):_s(e)}}function _s(e){for(;null!==Zl;){var t=Zl;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ql||is(5,t);break;case 1:var i=t.stateNode;if(4&t.flags&&!Ql)if(null===r)i.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:rl(t.type,r.memoizedProps);i.componentDidUpdate(o,r.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ko(t,a,i);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Ko(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Vt(f)}}}break;default:throw Error(n(163))}Ql||512&t.flags&&os(t)}catch(e){Eu(t,t.return,e)}}if(t===e){Zl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zl=r;break}Zl=t.return}}function xs(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function ks(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{is(4,t)}catch(e){Eu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Eu(t,i,e)}}var o=t.return;try{os(t)}catch(e){Eu(t,o,e)}break;case 5:var a=t.return;try{os(t)}catch(e){Eu(t,a,e)}}}catch(e){Eu(t,t.return,e)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Ss,Es=Math.ceil,Cs=g.ReactCurrentDispatcher,Os=g.ReactCurrentOwner,Ts=g.ReactCurrentBatchConfig,As=0,Ms=null,Ns=null,Ps=0,Ls=0,Rs=_i(0),zs=0,Is=null,js=0,Ds=0,Vs=0,Fs=null,Bs=null,Us=0,Ws=1/0,Hs=null,Ks=!1,Gs=null,$s=null,qs=!1,Ys=null,Xs=0,Qs=0,Js=null,Zs=-1,eu=0;function tu(){return 6&As?qe():-1!==Zs?Zs:Zs=qe()}function nu(e){return 1&e.mode?2&As&&0!==Ps?Ps&-Ps:null!==go.transition?(0===eu&&(eu=ft()),eu):0!==(e=vt)?e:e=void 0===(e=window.event)?16:$t(e.type):1}function ru(e,t,r,i){if(50<Qs)throw Qs=0,Js=null,Error(n(185));ht(e,r,i),2&As&&e===Ms||(e===Ms&&(!(2&As)&&(Ds|=r),4===zs&&su(e,Ps)),iu(e,i),1===r&&0===As&&!(1&t.mode)&&(Ws=qe()+500,ji&&Fi()))}function iu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-rt(o),l=1<<a,s=i[a];-1===s?0!==(l&n)&&0===(l&r)||(i[a]=ct(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ut(e,e===Ms?Ps:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){ji=!0,Vi(e)}(uu.bind(null,e)):Vi(uu.bind(null,e)),ri(function(){!(6&As)&&Fi()}),n=null;else{switch(gt(r)){case 1:n=Xe;break;case 4:n=Qe;break;case 16:default:n=Je;break;case 536870912:n=et}n=Mu(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Zs=-1,eu=0,6&As)throw Error(n(327));var r=e.callbackNode;if(ku()&&e.callbackNode!==r)return null;var i=ut(e,e===Ms?Ps:0);if(0===i)return null;if(30&i||0!==(i&e.expiredLanes)||t)t=gu(e,i);else{t=i;var o=As;As|=2;var a=mu();for(Ms===e&&Ps===t||(Hs=null,Ws=qe()+500,pu(e,t));;)try{yu();break}catch(t){hu(e,t)}To(),Cs.current=a,As=o,null!==Ns?t=0:(Ms=null,Ps=0,t=zs)}if(0!==t){if(2===t&&0!==(o=dt(e))&&(i=o,t=au(e,o)),1===t)throw r=Is,pu(e,0),su(e,i),iu(e,qe()),r;if(6===t)su(e,i);else{if(o=e.current.alternate,!(30&i||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ir(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=gu(e,i),2===t&&(a=dt(e),0!==a&&(i=a,t=au(e,a))),1!==t)))throw r=Is,pu(e,0),su(e,i),iu(e,qe()),r;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(n(345));case 2:case 5:xu(e,Bs,Hs);break;case 3:if(su(e,i),(130023424&i)===i&&10<(t=Us+500-qe())){if(0!==ut(e,0))break;if(((o=e.suspendedLanes)&i)!==i){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ei(xu.bind(null,e,Bs,Hs),t);break}xu(e,Bs,Hs);break;case 4:if(su(e,i),(4194240&i)===i)break;for(t=e.eventTimes,o=-1;0<i;){var l=31-rt(i);a=1<<l,(l=t[l])>o&&(o=l),i&=~a}if(i=o,10<(i=(120>(i=qe()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Es(i/1960))-i)){e.timeoutHandle=ei(xu.bind(null,e,Bs,Hs),i);break}xu(e,Bs,Hs);break;default:throw Error(n(329))}}}return iu(e,qe()),e.callbackNode===r?ou.bind(null,e):null}function au(e,t){var n=Fs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&lu(t)),e}function lu(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function su(e,t){for(t&=~Vs,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-rt(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(6&As)throw Error(n(327));ku();var t=ut(e,0);if(!(1&t))return iu(e,qe()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var i=dt(e);0!==i&&(t=i,r=au(e,i))}if(1===r)throw r=Is,pu(e,0),su(e,t),iu(e,qe()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Bs,Hs),iu(e,qe()),null}function cu(e,t){var n=As;As|=1;try{return e(t)}finally{0===(As=n)&&(Ws=qe()+500,ji&&Fi())}}function du(e){null!==Ys&&0===Ys.tag&&!(6&As)&&ku();var t=As;As|=1;var n=Ts.transition,r=vt;try{if(Ts.transition=null,vt=1,e)return e()}finally{vt=r,Ts.transition=n,!(6&(As=t))&&Fi()}}function fu(){Ls=Rs.current,xi(Rs)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ti(n)),null!==Ns)for(n=Ns.return;null!==n;){var r=n;switch(no(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Mi();break;case 3:Jo(),xi(Ci),xi(Ei),ia();break;case 5:ea(r);break;case 4:Jo();break;case 13:case 19:xi(ta);break;case 10:Ao(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Ms=e,Ns=e=Ru(e.current,null),Ps=Ls=t,zs=0,Is=null,Vs=Ds=js=0,Bs=Fs=null,null!==Lo){for(t=0;t<Lo.length;t++)if(null!==(r=(n=Lo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Lo=null}return e}function hu(e,t){for(;;){var r=Ns;try{if(To(),oa.current=Za,da){for(var i=sa.memoizedState;null!==i;){var o=i.queue;null!==o&&(o.pending=null),i=i.next}da=!1}if(la=0,ca=ua=sa=null,fa=!1,pa=0,Os.current=null,null===r||null===r.return){zs=1,Is=t,Ns=null;break}e:{var a=e,l=r.return,s=r,u=t;if(t=Ps,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,bl(h,l,s,0,t),1&h.mode&&vl(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(!(1&t)){vl(a,c,t),vu();break e}u=Error(n(426))}else if(oo&&1&s.mode){var g=gl(l);if(null!==g){!(65536&g.flags)&&(g.flags|=256),bl(g,l,s,0,t),vo(cl(u,s));break e}}a=u=cl(u,s),4!==zs&&(zs=2),null===Fs?Fs=[a]:Fs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,hl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==$s&&$s.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}_u(r)}catch(e){t=e,Ns===r&&null!==r&&(Ns=r=r.return);continue}break}}function mu(){var e=Cs.current;return Cs.current=Za,null===e?Za:e}function vu(){0!==zs&&3!==zs&&2!==zs||(zs=4),null===Ms||!(268435455&js)&&!(268435455&Ds)||su(Ms,Ps)}function gu(e,t){var r=As;As|=2;var i=mu();for(Ms===e&&Ps===t||(Hs=null,pu(e,t));;)try{bu();break}catch(t){hu(e,t)}if(To(),As=r,Cs.current=i,null!==Ns)throw Error(n(261));return Ms=null,Ps=0,zs}function bu(){for(;null!==Ns;)wu(Ns)}function yu(){for(;null!==Ns&&!Ge();)wu(Ns)}function wu(e){var t=Ss(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,null===t?_u(e):Ns=t,Os.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Yl(n,t)))return n.flags&=32767,void(Ns=n);if(null===e)return zs=6,void(Ns=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=ql(n,t,Ls)))return void(Ns=n);if(null!==(t=t.sibling))return void(Ns=t);Ns=t=e}while(null!==t);0===zs&&(zs=5)}function xu(e,t,r){var i=vt,o=Ts.transition;try{Ts.transition=null,vt=1,function(e,t,r,i){do{ku()}while(null!==Ys);if(6&As)throw Error(n(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-rt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Ms&&(Ns=Ms=null,Ps=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||qs||(qs=!0,Mu(Je,function(){return ku(),null})),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=Ts.transition,Ts.transition=null;var l=vt;vt=1;var s=As;As|=4,Os.current=null,function(e,t){if(Qr=Bt,cr(e=ur())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(i&&0!==i.rangeCount){r=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==i&&3!==f.nodeType||(u=l+i),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===o&&(s=l),p===a&&++d===i&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Jr={focusedElem:e,selectionRange:r},Bt=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?v:rl(t.type,v),g);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(n(163))}}catch(e){Eu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=ns,ns=!1}(e,r),gs(r,e),dr(Jr),Bt=!!Qr,Jr=Qr=null,e.current=r,ys(r),$e(),As=s,vt=l,Ts.transition=a}else e.current=r;if(qs&&(qs=!1,Ys=e,Xs=o),0===(a=e.pendingLanes)&&($s=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),iu(e,qe()),null!==t)for(i=e.onRecoverableError,r=0;r<t.length;r++)i((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Ks)throw Ks=!1,e=Gs,Gs=null,e;!!(1&Xs)&&0!==e.tag&&ku(),1&(a=e.pendingLanes)?e===Js?Qs++:(Qs=0,Js=e):Qs=0,Fi()}(e,t,r,i)}finally{Ts.transition=o,vt=i}return null}function ku(){if(null!==Ys){var e=gt(Xs),t=Ts.transition,r=vt;try{if(Ts.transition=null,vt=16>e?16:e,null===Ys)var i=!1;else{if(e=Ys,Ys=null,Xs=0,6&As)throw Error(n(331));var o=As;for(As|=4,Zl=e.current;null!==Zl;){var a=Zl,l=a.child;if(16&Zl.flags){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zl=f;else for(;null!==Zl;){var p=(d=Zl).sibling,h=d.return;if(as(d),d===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Zl=a}}if(2064&a.subtreeFlags&&null!==l)l.return=a,Zl=l;else e:for(;null!==Zl;){if(2048&(a=Zl).flags)switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Zl=b;break e}Zl=a.return}}var y=e.current;for(Zl=y;null!==Zl;){var w=(l=Zl).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,Zl=w;else e:for(l=y;null!==Zl;){if(2048&(s=Zl).flags)try{switch(s.tag){case 0:case 11:case 15:is(9,s)}}catch(e){Eu(s,s.return,e)}if(s===l){Zl=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Zl=_;break e}Zl=s.return}}if(As=o,Fi(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch(e){}i=!0}return i}finally{vt=r,Ts.transition=t}}return!1}function Su(e,t,n){e=Bo(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(ht(e,1,t),iu(e,t))}function Eu(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$s||!$s.has(r))){t=Bo(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(ht(t,1,e),iu(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Ms===e&&(Ps&n)===n&&(4===zs||3===zs&&(130023424&Ps)===Ps&&500>qe()-Us?pu(e,0):Vs|=n),iu(e,t)}function Ou(e,t){0===t&&(1&e.mode?(t=lt,!(130023424&(lt<<=1))&&(lt=4194304)):t=1);var n=tu();null!==(e=Io(e,t))&&(ht(e,t,n),iu(e,n))}function Tu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ou(e,n)}function Au(e,t){var r=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(n(314))}null!==i&&i.delete(t),Ou(e,r)}function Mu(e,t){return He(e,t)}function Nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pu(e,t,n,r){return new Nu(e,t,n,r)}function Lu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Pu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zu(e,t,r,i,o,a){var l=2;if(i=e,"function"==typeof e)Lu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case w:return Iu(r.children,o,a,t);case _:l=8,o|=8;break;case x:return(e=Pu(12,r,t,2|o)).elementType=x,e.lanes=a,e;case C:return(e=Pu(13,r,t,o)).elementType=C,e.lanes=a,e;case O:return(e=Pu(19,r,t,o)).elementType=O,e.lanes=a,e;case M:return ju(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:l=10;break e;case S:l=9;break e;case E:l=11;break e;case T:l=14;break e;case A:l=16,i=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Pu(l,r,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Iu(e,t,n,r){return(e=Pu(7,e,r,t)).lanes=n,e}function ju(e,t,n,r){return(e=Pu(22,e,r,t)).elementType=M,e.lanes=n,e.stateNode={isHidden:!1},e}function Du(e,t,n){return(e=Pu(6,e,null,t)).lanes=n,e}function Vu(e,t,n){return(t=Pu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,i,o,a,l,s){return e=new Fu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Pu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Do(o),e}function Uu(e){if(!e)return Si;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ai(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Ai(r))return Pi(e,r,t)}return t}function Wu(e,t,n,r,i,o,a,l,s){return(e=Bu(n,r,!0,e,0,o,0,l,s)).context=Uu(null),n=e.current,(o=Fo(r=tu(),i=nu(n))).callback=null!=t?t:null,Bo(n,o,i),e.current.lanes=i,ht(e,i,r),iu(e,r),e}function Hu(e,t,n,r){var i=t.current,o=tu(),a=nu(i);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(i,t,a))&&(ru(e,i,a,o),Uo(e,i,a)),a}function Ku(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $u(e,t){Gu(e,t),(e=e.alternate)&&Gu(e,t)}Ss=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ci.current)wl=!0;else{if(0===(e.lanes&r)&&!(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Ml(t),mo();break;case 5:Zo(t);break;case 1:Ai(t.type)&&Li(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ki(So,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ki(ta,1&ta.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Dl(e,t,n):(ki(ta,1&ta.current),null!==(e=Kl(e,t,n))?e.sibling:null);ki(ta,1&ta.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Wl(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ki(ta,ta.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Kl(e,t,n)}(e,t,r);wl=!!(131072&e.flags)}else wl=!1,oo&&1048576&t.flags&&eo(t,Hi,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Hl(e,t),e=t.pendingProps;var o=Ti(t,Ei.current);No(t,r),o=ga(null,t,i,e,o,r);var a=ba();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ai(i)?(a=!0,Li(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Do(t),o.updater=ol,t.stateNode=o,o._reactInternals=t,ul(t,i,e,r),t=Al(null,t,i,!0,a,r)):(t.tag=0,oo&&a&&to(t),_l(null,t,o,r),t=t.child),t;case 16:i=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Lu(e)?1:0;if(null!=e){if((e=e.$$typeof)===E)return 11;if(e===T)return 14}return 2}(i),e=rl(i,e),o){case 0:t=Ol(null,t,i,e,r);break e;case 1:t=Tl(null,t,i,e,r);break e;case 11:t=xl(null,t,i,e,r);break e;case 14:t=kl(null,t,i,rl(i.type,e),r);break e}throw Error(n(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,Ol(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 1:return i=t.type,o=t.pendingProps,Tl(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 3:e:{if(Ml(t),null===e)throw Error(n(387));i=t.pendingProps,o=(a=t.memoizedState).element,Vo(e,t),Ho(t,i,null,r);var l=t.memoizedState;if(i=l.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Nl(e,t,i,r,o=cl(Error(n(423)),t));break e}if(i!==o){t=Nl(e,t,i,r,o=cl(Error(n(424)),t));break e}for(io=ai(t.stateNode.containerInfo.firstChild),ro=t,oo=!0,ao=null,r=ko(t,null,i,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(mo(),i===o){t=Kl(e,t,r);break e}_l(e,t,i,r)}t=t.child}return t;case 5:return Zo(t),null===e&&co(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,Zr(i,o)?l=null:null!==a&&Zr(i,a)&&(t.flags|=32),Cl(e,t),_l(e,t,l,r),t.child;case 6:return null===e&&co(t),null;case 13:return Dl(e,t,r);case 4:return Qo(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=xo(t,null,i,r):_l(e,t,i,r),t.child;case 11:return i=t.type,o=t.pendingProps,xl(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 7:return _l(e,t,t.pendingProps,r),t.child;case 8:case 12:return _l(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,ki(So,i._currentValue),i._currentValue=l,null!==a)if(ir(a.value,l)){if(a.children===o.children&&!Ci.current){t=Kl(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===i){if(1===a.tag){(u=Fo(-1,r&-r)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=r,null!==(u=a.alternate)&&(u.lanes|=r),Mo(a.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Mo(l,r,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}_l(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,No(t,r),i=i(o=Po(o)),t.flags|=1,_l(e,t,i,r),t.child;case 14:return o=rl(i=t.type,t.pendingProps),kl(e,t,i,o=rl(i.type,o),r);case 15:return Sl(e,t,t.type,t.pendingProps,r);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:rl(i,o),Hl(e,t),t.tag=1,Ai(i)?(e=!0,Li(t)):e=!1,No(t,r),ll(t,i,o),ul(t,i,o,r),Al(null,t,i,!0,e,r);case 19:return Wl(e,t,r);case 22:return El(e,t,r)}throw Error(n(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var l=i;i=function(){var e=Ku(a);l.call(e)}}Hu(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Ku(a);o.call(e)}}var a=Wu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[di]=a.current,Vr(8===e.nodeType?e.parentNode:e),du(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var l=r;r=function(){var e=Ku(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[di]=s.current,Vr(8===e.nodeType?e.parentNode:e),du(function(){Hu(t,s,n,r)}),s}(n,t,e,i,r);return Ku(a)}Xu.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Hu(e,t,null,null)},Xu.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du(function(){Hu(null,e,null,null)}),t[di]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&0!==t&&t<Mt[n].priority;n++);Mt.splice(n,0,e),0===n&&Rt(e)}},bt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=st(t.pendingLanes);0!==n&&(mt(t,1|n),iu(t,qe()),!(6&As)&&(Ws=qe()+500,Fi()))}break;case 13:du(function(){var t=Io(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}}),$u(e,1)}},yt=function(e){if(13===e.tag){var t=Io(e,134217728);null!==t&&ru(t,e,134217728,tu()),$u(e,134217728)}},wt=function(e){if(13===e.tag){var t=nu(e),n=Io(e,t);null!==n&&ru(n,e,t,tu()),$u(e,t)}},_t=function(){return vt},xt=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},ye=function(e,t,r){switch(t){case"input":if(Y(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var i=r[t];if(i!==e&&i.form===e.form){var o=bi(i);if(!o)throw Error(n(90));H(i),Y(i,o)}}}break;case"textarea":ne(e,r);break;case"select":null!=(t=r.value)&&Z(e,!!r.multiple,t,!1)}},Ee=cu,Ce=du;var tc={usingClientEntryPoint:!1,Events:[vi,gi,bi,ke,Se,cu]},nc={findFiberByHostInstance:mi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{tt=ic.inject(rc),nt=ic}catch(le){}}return qi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,qi.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:y,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},qi.createRoot=function(e,t){if(!Qu(e))throw Error(n(299));var r=!1,i="",o=qu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bu(e,1,!1,null,0,r,0,i,o),e[di]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Yu(t)},qi.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return null===(e=Ue(t))?null:e.stateNode},qi.flushSync=function(e){return du(e)},qi.hydrate=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!0,r)},qi.hydrateRoot=function(e,t,r){if(!Qu(e))throw Error(n(405));var i=null!=r&&r.hydratedSources||null,o=!1,a="",l=qu;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Wu(t,null,e,1,null!=r?r:null,o,0,a,l),e[di]=t.current,Vr(e),i)for(e=0;e<i.length;e++)o=(o=(r=i[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Xu(t)},qi.render=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!1,r)},qi.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(n(40));return!!e._reactRootContainer&&(du(function(){ec(null,null,e,!1,function(){e._reactRootContainer=null,e[di]=null})}),!0)},qi.unstable_batchedUpdates=cu,qi.unstable_renderSubtreeIntoContainer=function(e,t,r,i){if(!Ju(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return ec(e,t,r,!1,i)},qi.version="18.3.1-next-f1338f8080-20240426",qi}function Zi(){return Gi||(Gi=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),$i.exports=Ji()),$i.exports}var eo=Zi();function to(e){return Gt(Zn(e,undefined))}var no,ro,io,oo,ao=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),lo=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:ao)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),so={exports:{}},uo={},co=(ro||(ro=1,so.exports=function(){if(no)return uo;no=1;var e=zi(),t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var l=t(),s=n({inst:{value:l,getSnapshot:t}}),u=s[0].inst,c=s[1];return i(function(){u.value=l,u.getSnapshot=t,a(u)&&c({inst:u})},[e,l,t]),r(function(){return a(u)&&c({inst:u}),e(function(){a(u)&&c({inst:u})})},[e]),o(l),l};return uo.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:l,uo}()),so.exports);function fo(e){e.reaction=new wt("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}var po="function"==typeof Symbol&&Symbol.for,ho=null!==(oo=null===(io=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===io?void 0:io.configurable)&&void 0!==oo&&oo,mo=po?Symbol.for("react.forward_ref"):"function"==typeof Ii.forwardRef&&Ii.forwardRef(function(e){return null}).$$typeof,vo=po?Symbol.for("react.memo"):"function"==typeof Ii.memo&&Ii.memo(function(e){return null}).$$typeof;function go(e,t){if(vo&&e.$$typeof===vo)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=!1,r=e,i=e.displayName||e.name;if(mo&&e.$$typeof===mo&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var o,a,l=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=ji.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return lo.unregister(r),r.onStoreChange=e,r.reaction||(fo(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var i,o,a=n.current;if(a.reaction||(fo(a),lo.register(n,a,a)),ji.useDebugValue(a.reaction,to),co.useSyncExternalStore(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track(function(){try{i=e()}catch(e){o=e}}),o)throw o;return i}(function(){return r(e,t)},i)};return l.displayName=e.displayName,ho&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),n&&(l=Ii.forwardRef(l)),l=Ii.memo(l),o=e,a=l,Object.keys(o).forEach(function(e){yo[e]||Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(o,e))}),l}var bo,yo={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(bo=eo.unstable_batchedUpdates)||(bo=function(e){e()}),function(e){!0===e.isolateGlobalState&&function(){if((ft.pendingReactions.length||ft.inBatch||ft.isRunningReactions)&&t(36),dt=!0,ct){var e=r();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ft=new ut}}();var n,i,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(ft.useProxies=o===Kt||"never"!==o&&"undefined"!=typeof Proxy),"ifavailable"===o&&(ft.verifyProxies=!0),void 0!==a){var l=a===Kt?Kt:"observed"===a;ft.enforceActions=l,ft.allowStateChanges=!0!==l&&l!==Kt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(ft[t]=!!e[t])}),ft.allowStateReads=!ft.observableRequiresReaction,e.reactionScheduler&&(n=e.reactionScheduler,i=xt,xt=function(e){return n(function(){return i(e)})})}({reactionScheduler:bo}),lo.finalizeAllImmediately;const wo=e(e=>e.toString(16)),_o=(...e)=>{const t={...xo,startViewTransitions:structuredClone(xo.startViewTransitions),observable:{viewModels:{...xo.observable.viewModels},viewModelStores:{...xo.observable.viewModelStores}}};return e.forEach(e=>{if(!e)return;const{startViewTransitions:n,comparePayload:r,observable:i,generateId:o,...a}=e;if(o&&(t.generateId=o),n){const e="boolean"==typeof n?{mount:n,payloadChange:n,unmount:n}:n;Object.assign(t.startViewTransitions,e)}i?.viewModels&&Object.assign(t.observable.viewModels,i.viewModels||{}),i?.viewModelStores&&Object.assign(t.observable.viewModelStores,i.viewModelStores||{}),null!=r&&(t.comparePayload=r),Object.assign(t,a)}),t},xo=(e=>{const t=(e=>{if(null==e){let e;return{get:()=>e,set:t=>(e=t,t)}}const t=globalThis;return{get:()=>t[e],set:n=>(t[e]=n,n)}})(Symbol.for("VIEW_MODELS_CONFIG"));return t.get()||t.set(e)})({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:t=>{if(!t.generateId){const n=wo(),r=e(e=>e.toString().padStart(5,"0"));t.generateId=()=>`${n}_${r().toString().padStart(5,"0")}`}return t.generateId()},factory:e=>new(0,e.VM)({...e,vmConfig:_o(e.vmConfig)}),hooks:{storeCreate:(()=>{const e=(...t)=>{e.lastPub=t,e.subs.forEach(e=>{e(...t)})};return e.lastPub=void 0,e.subs=[],e.unsub=t=>{e.subs=e.subs.filter(e=>e!==t)},e.sub=t=>(e.subs.push(t),()=>e.unsub(t)),e})()}}),ko=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),dn(e)):dn(e,Object.fromEntries(t))})(e,t,n.useDecorators)},So=[["_isMounted",Pe.ref],["_isUnmounting",Pe.ref],["isMounted",Ie],["isUnmounting",Ie],["parentViewModel",Ie],["mount",Lt.bound],["didMount",Lt],["unmount",Lt.bound],["didUnmount",Lt],["willUnmount",Lt],["setPayload",Lt]];class Eo{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=_o(e.vmConfig),this._payload=e.payload,this.props=e.props??{},this.abortController=new AbortController,this.unmountSignal=this.abortController.signal,"strict"===this.vmConfig.comparePayload?this.isPayloadEqual=$.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=Nr:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...So];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",Pe[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",Ie.struct]):t.push(["payload",Ie({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),ko(this,t,this.vmConfig.observable.viewModels)}abortController;unmountSignal;id;_isMounted=!1;_isUnmounting=!1;_payload;vmConfig;isPayloadEqual;props;get payload(){return this._payload}get viewModels(){return this.vmParams.viewModels}get isMounted(){return this._isMounted}get isUnmounting(){return this._isUnmounting}willUnmount(){this._isUnmounting=!0}willMount(){}mount(){this.vmConfig.onMount?.(this),Mi(()=>{zt(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),Mi(()=>{zt(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),zt(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||Mi(()=>{zt(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class Co{constructor(e){this.config=e,this.viewModels=Pe.map([],{deep:!1}),this.linkedComponentVMClasses=Pe.map([],{deep:!1}),this.viewModelIdsByClasses=Pe.map([],{deep:!0}),this.instanceAttachedCount=Pe.map([],{deep:!1}),this.mountingViews=Pe.set([],{deep:!1}),this.unmountingViews=Pe.set([],{deep:!1}),this.vmConfig=_o(e?.vmConfig),this.viewModelsTempHeap=new Map,ko(this,[["mountedViewsCount",Ie],["mount",Lt],["unmount",Lt],["attachVMConstructor",Lt],["attach",Lt],["detach",Lt],["linkComponents",Lt],["unlinkComponents",Lt]],this.vmConfig.observable.viewModelStores),this.vmConfig.hooks.storeCreate(this)}viewModels;linkedComponentVMClasses;viewModelIdsByClasses;instanceAttachedCount;viewModelsTempHeap;mountingViews;unmountingViews;vmConfig;get mountedViewsCount(){return[...this.instanceAttachedCount.values()].reduce((e,t)=>e+t,0)}processCreateConfig(e){this.linkComponents(e.VM,e.component,e.ctx?.externalComponent)}createViewModel(e){const t=e.VM,n=_o(this.vmConfig,e.vmConfig),r={...e,vmConfig:n};return n.factory?n.factory(r):new t(r)}generateViewModelId(e){return e.id?e.id:this.vmConfig.generateId(e.ctx)}linkComponents(e,...t){t.forEach(t=>{t&&!this.linkedComponentVMClasses.has(t)&&this.linkedComponentVMClasses.set(t,e)})}unlinkComponents(...e){e.forEach(e=>{e&&this.linkedComponentVMClasses.has(e)&&this.linkedComponentVMClasses.delete(e)})}getIds(e){if(!e)return[];if("string"==typeof e)return[e];const t=this.linkedComponentVMClasses.get(e)||e;return this.viewModelIdsByClasses.get(t)||[]}getId(e){const t=this.getIds(e);return 0===t.length?null:t.at(-1)}has(e){const t=this.getId(e);return!!t&&this.viewModels.has(t)}get(e){const t=this.getId(e);return t?this.viewModels.get(t)??this.viewModelsTempHeap.get(t)??null:null}getOrCreateVmId(e){return e.id||(e.id=this.vmConfig.generateId({VM:e.constructor})),e.id}getAll(e){return this.getIds(e).map(e=>this.viewModels.get(e))}async mount(e){const t=this.getOrCreateVmId(e);this.mountingViews.add(t),await(e.mount?.()),zt(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),zt(()=>{this.unmountingViews.delete(t)})}attachVMConstructor(e){const t=this.getOrCreateVmId(e),n=e.constructor;if(this.viewModelIdsByClasses.has(n)){const e=this.viewModelIdsByClasses.get(n);e.includes(t)||e.push(t)}else this.viewModelIdsByClasses.set(n,[t])}dettachVMConstructor(e){const t=e.constructor;if(this.viewModelIdsByClasses.has(t)){const n=this.viewModelIdsByClasses.get(t).filter(t=>t!==e.id);n.length>0?this.viewModelIdsByClasses.set(t,n):this.viewModelIdsByClasses.delete(t)}}markToBeAttached(e){const t=this.getOrCreateVmId(e);this.viewModelsTempHeap.set(t,e),"attachViewModelStore"in e&&e.attachViewModelStore(this),this.attachVMConstructor(e)}async attach(e){const t=this.getOrCreateVmId(e),n=this.instanceAttachedCount.get(t)??0;this.instanceAttachedCount.set(t,n+1),this.viewModels.has(t)||(this.viewModels.set(t,e),this.attachVMConstructor(e),await this.mount(e),this.viewModelsTempHeap.delete(t))}async detach(e){const t=this.instanceAttachedCount.get(e)??0;this.viewModelsTempHeap.delete(e);const n=this.viewModels.get(e);if(!n)return;const r=t-1;this.instanceAttachedCount.set(e,r),r<=0&&("willUnmount"in n&&n.willUnmount(),this.instanceAttachedCount.delete(e),this.viewModels.delete(e),this.dettachVMConstructor(n),await this.unmount(n))}isAbleToRenderView(e){const t=this.mountingViews.has(e),n=this.viewModels.has(e);return!!e&&n&&!t}clean(){this.viewModels.clear(),this.linkedComponentVMClasses.clear(),this.viewModelIdsByClasses.clear(),this.instanceAttachedCount.clear(),this.mountingViews.clear(),this.unmountingViews.clear(),this.viewModelsTempHeap.clear()}}const Oo=Ii.createContext(null),To=Ii.createContext(null),Ao=Oo.Provider,Mo="undefined"==typeof window?Ii.useEffect:Ii.useLayoutEffect;let No=null;No=e=>{const t=Ii.useRef(null);return t.current||(t.current=e()),t.current};const Po=No;function Lo(e,t,n){return e.prototype.payloadChanged?Ro(e,t,n):zo(e,t)}const Ro=(e,t,n)=>{const r=Ii.useContext(To),i=Ii.useContext(Oo),o=n?.ctx??{},a=Po(()=>{const a=r?.generateViewModelId({...n,ctx:o,VM:e,parentViewModelId:i?.id??null})??n?.id??xo.generateId(o),l=r?r.get(a):null;if(l)return l;{const l={...n,vmConfig:n?.vmConfig,id:a,parentViewModelId:i?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:i,ctx:o};r?.processCreateConfig(l);const s=n?.factory?.(l)??r?.createViewModel(l)??xo.factory(l);return s.willMount(),r?.markToBeAttached(s),s}});return Mo(()=>r?(r.attach(a),()=>{r.detach(a.id)}):(a.mount(),()=>{a.willUnmount(),a.unmount()}),[a]),a.setPayload(t??{}),a},zo=(e,t)=>{const n=Ii.useContext(To),r=Ii.useContext(Oo),i=Po(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in i&&Ii.useLayoutEffect(()=>{i.setPayload(t)},[t]),Mo(()=>n?(n.attach(i),()=>{n.detach(i.id)}):(i.mount?.(),()=>{i.unmount?.()}),[i]),i},Io=e=>{const t=Ii.useContext(To),n=Ii.useContext(Oo);if(t?.get(e),!n)throw new Error("Error #1: https://js2me.github.io/mobx-view-model/errors/1");return n};go(({model:e,config:t,payload:n,children:r})=>{const i=Lo(e,n,t);return i.isMounted?"function"==typeof r?r(i):Ui.jsx(Ui.Fragment,{children:r}):null});const jo=To.Provider;function Do(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return Fo(e,{...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}},t)}{const n=t??{},r={...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}};return t=>Fo(e,r,t)}}const Vo=Symbol.for("react.memo"),Fo=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??xo.processViewComponent,i=t.vmConfig?.wrapViewsInObserver??xo.wrapViewsInObserver;let o=r?.(n,e,t)??n;i&&o&&o.$$typeof!==Vo&&(o=go(o));const a=t.reactHook,l=t.getPayload,s=t.fallback??xo.fallbackComponent;let u=(n,r)=>{const i=Ii.useContext(To);a?.(n,t.ctx,i,r);const{payload:u,...c}=n,d=l?.(n)??u;t.forwardRef&&!("forwardedRef"in c)&&(c.forwardedRef=r);const f=Lo(e,d,{...t,props:c});return i&&!i.isAbleToRenderView(f.id)||!1===f.isMounted?s&&Ui.jsx(s,{...n,payload:d}):Ui.jsx(Ao,{value:f,children:o&&Ui.jsx(o,{...c,model:f})})};return t.forwardRef&&(u=Ii.forwardRef(u)),u=go(u),t.component=u,u};class Bo extends Eo{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}class Uo extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const Wo=(e,...t)=>"function"==typeof e?e(...t):e;var Ho="object"==typeof global&&global&&global.Object===Object&&global,Ko="object"==typeof self&&self&&self.Object===Object&&self,Go=Ho||Ko||Function("return this")(),$o=Go.Symbol,qo=Object.prototype,Yo=qo.hasOwnProperty,Xo=qo.toString,Qo=$o?$o.toStringTag:void 0,Jo=Object.prototype.toString,Zo=$o?$o.toStringTag:void 0;var ea=/\s/,ta=/^\s+/;function na(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var ra=/^[-+]0x[0-9a-f]+$/i,ia=/^0b[01]+$/i,oa=/^0o[0-7]+$/i,aa=parseInt;function la(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Zo&&Zo in Object(e)?function(e){var t=Yo.call(e,Qo),n=e[Qo];try{e[Qo]=void 0;var r=!0}catch(e){}var i=Xo.call(e);return r&&(t?e[Qo]=n:delete e[Qo]),i}(e):function(e){return Jo.call(e)}(e)}(e)}(e))return NaN;if(na(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=na(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&ea.test(e.charAt(t)););return t}(e)+1).replace(ta,""):e}(e);var n=ia.test(e);return n||oa.test(e)?aa(e.slice(2),n?2:8):ra.test(e)?NaN:+e}var sa=function(){return Go.Date.now()},ua=Math.max,ca=Math.min;function da(e,t,n){var r,i,o,a,l,s,u=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-u>=o}function m(){var e=sa();if(h(e))return v(e);l=setTimeout(m,function(e){var n=t-(e-s);return d?ca(n,o-(e-u)):n}(e))}function v(e){return l=void 0,f&&r?p(e):(r=i=void 0,a)}function g(){var e=sa(),n=h(e);if(r=arguments,i=this,s=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(m,t),c?p(e):a}(s);if(d)return clearTimeout(l),l=setTimeout(m,t),p(s)}return void 0===l&&(l=setTimeout(m,t)),a}return t=la(t)||0,na(n)&&(c=!!n.leading,o=(d="maxWait"in n)?ua(la(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=s=i=l=void 0},g.flush=function(){return void 0===l?a:v(sa())},g}let fa=class{constructor(e){if(this.config=e,this.abortController=new Uo(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),Pe.ref(this,"isActivated"),Pe.ref(this,"localActions"),Ie.struct(this,"actions"),Lt.bound(this,"handleKeyboardClick"),Lt.bound(this,"setActions"),dn(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new Uo;Ft(()=>e.current,e=>{e?(globalThis.document?.activeElement===e&&this.activate(),e.addEventListener("focus",this.activate,{signal:t.signal}),e.addEventListener("blur",this.deactivate,{signal:t.signal})):(t.abort(),t=new Uo(this.abortController.signal))},{fireImmediately:!0,signal:this.abortController.signal})}globalThis.addEventListener("keydown",this.handleKeyboardClick,{signal:this.abortController.signal}),"keyclick"===e.activateStrategy?.type&&(globalThis.addEventListener("click",this.activate,{signal:this.abortController.signal}),globalThis.addEventListener("mousemove",this.activate,{signal:this.abortController.signal}))}abortController;activateStrategy;localActions;isActivated;get actions(){const e=this.localActions??this.config.actions;return Wo(e)??[]}setActions(e){this.localActions=e}activate=()=>{this.isActivated||(this.isActivated=!0,this.config.onActivate?.())};deactivate=()=>{this.isActivated&&(this.isActivated=!1,this.config.onDeactivate?.())};handleKeyboardClick(e){if(this.config.onKeyClick?.(e),"keyclick"===this.activateStrategy.type&&this.activate(),this.isActivated)for(let t=0;t<this.actions.length;t++){const n=this.actions[t];if(!Wo(n.disabled))for(let t=0;t<n.shortcuts.length;t++)if(n.shortcuts[t].split("+").every(t=>this.checkKey(e,t)))return void zt(()=>{n.action(e)})}}checkKey(e,t){return!!("Shift"===t&&e.shiftKey||("Ctrl"===t||"Control"===t)&&e.ctrlKey||"Alt"===t&&e.altKey||("Windows"===t||"Meta"===t||"Command"===t||"⌘"===t||"Win"===t)&&e.metaKey||t===e.key||t===e.code)}destroy(){this.abortController.abort()}};class pa{constructor(e){this.config=e,this.abortController=new Uo(e?.abortSignal),this.abortSignal=this.abortController.signal,dn(this)}abortController;abortSignal;getStorage(e){return"session"===(e.type??this.config?.type)?globalThis.sessionStorage:globalThis.localStorage}createKey(e){if(this.config?.createKey)return this.config.createKey(e);const t=e.prefix??this.config?.prefix??"",n=e.namespace??this.config?.namespace;return`${t?`${t}/`:""}${n?`${n}/`:""}${e.key}`}get(e){const t=this.createKey(e),n=this.getStorage(e).getItem(t);let r=null;if("string"==typeof n)try{r=JSON.parse(n)}catch{r=null}else r=n;return r??e.fallback??null}formatValue(e){return JSON.stringify(e)}set(e){const t=this.createKey(e);this.getStorage(e).setItem(t,e.format?e.format(e.value):this.formatValue(e.value))}syncProperty(e,t,n){const r=n?.key??t,i=n&&"fallback"in n?n.fallback:e[t];zt(()=>{e[t]=this.get({...n,key:r,fallback:i})??e[t]});const o=jt(()=>{const i=e[t];this.set({...n,key:r,value:i})},{signal:this.abortSignal});return this.abortSignal.addEventListener("abort",o),()=>{this.abortSignal.removeEventListener("abort",o),o()}}destroy(){this.abortController.abort()}}var ha,ma={},va=function(){if(ha)return ma;ha=1;var e=Zi();return ma.createRoot=e.createRoot,ma.hydrateRoot=e.hydrateRoot,ma}();function ga(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ga(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const ba=e=>{const t=xa(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),ya(n,t)||_a(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},ya=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?ya(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},wa=/^\[(.+)\]$/,_a=e=>{if(wa.test(e)){const t=wa.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},xa=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)ka(n[e],r,e,t);return r},ka=(e,t,n,r)=>{e.forEach(e=>{if("string"!=typeof e)return"function"==typeof e?Ea(e)?void ka(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n}):void Object.entries(e).forEach(([e,i])=>{ka(i,Sa(t,e),n,r)});(""===e?t:Sa(t,e)).classGroupId=n})},Sa=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},Ea=e=>e.isThemeGetter,Ca=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},Oa=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let l=e[a];if(0===r&&0===i){if(":"===l){t.push(e.slice(o,a)),o=a+1;continue}if("/"===l){n=a;continue}}"["===l?r++:"]"===l?r--:"("===l?i++:")"===l&&i--}const a=0===t.length?e:e.substring(o),l=Ta(a);return{modifiers:t,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},Ta=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Aa=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},Ma=/\s+/;function Na(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Pa(e))&&(r&&(r+=" "),r+=t);return r}const Pa=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Pa(e[r]))&&(n&&(n+=" "),n+=t);return n};const La=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ra=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,za=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ia=/^\d+\/\d+$/,ja=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Da=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Va=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Fa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ba=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ua=e=>Ia.test(e),Wa=e=>!!e&&!Number.isNaN(Number(e)),Ha=e=>!!e&&Number.isInteger(Number(e)),Ka=e=>e.endsWith("%")&&Wa(e.slice(0,-1)),Ga=e=>ja.test(e),$a=()=>!0,qa=e=>Da.test(e)&&!Va.test(e),Ya=()=>!1,Xa=e=>Fa.test(e),Qa=e=>Ba.test(e),Ja=e=>!el(e)&&!al(e),Za=e=>pl(e,gl,Ya),el=e=>Ra.test(e),tl=e=>pl(e,bl,qa),nl=e=>pl(e,yl,Wa),rl=e=>pl(e,ml,Ya),il=e=>pl(e,vl,Qa),ol=e=>pl(e,_l,Xa),al=e=>za.test(e),ll=e=>hl(e,bl),sl=e=>hl(e,wl),ul=e=>hl(e,ml),cl=e=>hl(e,gl),dl=e=>hl(e,vl),fl=e=>hl(e,_l,!0),pl=(e,t,n)=>{const r=Ra.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},hl=(e,t,n=!1)=>{const r=za.exec(e);return!!r&&(r[1]?t(r[1]):n)},ml=e=>"position"===e||"percentage"===e,vl=e=>"image"===e||"url"===e,gl=e=>"length"===e||"size"===e||"bg-size"===e,bl=e=>"length"===e,yl=e=>"number"===e,wl=e=>"family-name"===e,_l=e=>"shadow"===e,xl=function(e,...t){let n,r,i,o=function(l){const s=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Ca(e.cacheSize),parseClassName:Oa(e),sortModifiers:Aa(e),...ba(e)}))(s),r=n.cache.get,i=n.cache.set,o=a,a(l)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],l=e.trim().split(Ma);let s="";for(let e=l.length-1;e>=0;e-=1){const t=l[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(u){s=t+(s.length>0?" "+s:s);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=t+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=t+(s.length>0?" "+s:s);continue}h=!1}const v=o(c).join(":"),g=d?v+"!":v,b=g+m;if(a.includes(b))continue;a.push(b);const y=i(m,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(g+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return i(e,o),o}return function(){return o(Na.apply(null,arguments))}}(()=>{const e=La("color"),t=La("font"),n=La("text"),r=La("font-weight"),i=La("tracking"),o=La("leading"),a=La("breakpoint"),l=La("container"),s=La("spacing"),u=La("radius"),c=La("shadow"),d=La("inset-shadow"),f=La("text-shadow"),p=La("drop-shadow"),h=La("blur"),m=La("perspective"),v=La("aspect"),g=La("ease"),b=La("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",al,el],w=()=>[al,el,s],_=()=>[Ua,"full","auto",...w()],x=()=>[Ha,"none","subgrid",al,el],k=()=>["auto",{span:["full",Ha,al,el]},Ha,al,el],S=()=>[Ha,"auto",al,el],E=()=>["auto","min","max","fr",al,el],C=()=>["auto",...w()],O=()=>[Ua,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],T=()=>[e,al,el],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ul,rl,{position:[al,el]}],M=()=>["auto","cover","contain",cl,Za,{size:[al,el]}],N=()=>[Ka,ll,tl],P=()=>["","none","full",u,al,el],L=()=>["",Wa,ll,tl],R=()=>[Wa,Ka,ul,rl],z=()=>["","none",h,al,el],I=()=>["none",Wa,al,el],j=()=>["none",Wa,al,el],D=()=>[Wa,al,el],V=()=>[Ua,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ga],breakpoint:[Ga],color:[$a],container:[Ga],"drop-shadow":[Ga],ease:["in","out","in-out"],font:[Ja],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ga],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ga],shadow:[Ga],spacing:["px",Wa],text:[Ga],"text-shadow":[Ga],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ua,el,al,v]}],container:["container"],columns:[{columns:[Wa,el,al,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{start:_()}],end:[{end:_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[Ha,"auto",al,el]}],basis:[{basis:[Ua,"full","auto",l,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Wa,Ua,"auto","initial","none",el]}],grow:[{grow:["",Wa,al,el]}],shrink:[{shrink:["",Wa,al,el]}],order:[{order:[Ha,"first","last","none",al,el]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[l,"screen",...O()]}],"min-w":[{"min-w":[l,"screen","none",...O()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,ll,tl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,al,nl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ka,el]}],"font-family":[{font:[sl,el,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,al,el]}],"line-clamp":[{"line-clamp":[Wa,"none",al,nl]}],leading:[{leading:[o,...w()]}],"list-image":[{"list-image":["none",al,el]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",al,el]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Wa,"from-font","auto",al,tl]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[Wa,"auto",al,el]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",al,el]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",al,el]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ha,al,el],radial:["",al,el],conic:[Ha,al,el]},dl,il]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Wa,al,el]}],"outline-w":[{outline:["",Wa,ll,tl]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",c,fl,ol]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,fl,ol]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[Wa,tl]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,fl,ol]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[Wa,al,el]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Wa]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[al,el]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Wa]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:A()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",al,el]}],filter:[{filter:["","none",al,el]}],blur:[{blur:z()}],brightness:[{brightness:[Wa,al,el]}],contrast:[{contrast:[Wa,al,el]}],"drop-shadow":[{"drop-shadow":["","none",p,fl,ol]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",Wa,al,el]}],"hue-rotate":[{"hue-rotate":[Wa,al,el]}],invert:[{invert:["",Wa,al,el]}],saturate:[{saturate:[Wa,al,el]}],sepia:[{sepia:["",Wa,al,el]}],"backdrop-filter":[{"backdrop-filter":["","none",al,el]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[Wa,al,el]}],"backdrop-contrast":[{"backdrop-contrast":[Wa,al,el]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Wa,al,el]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Wa,al,el]}],"backdrop-invert":[{"backdrop-invert":["",Wa,al,el]}],"backdrop-opacity":[{"backdrop-opacity":[Wa,al,el]}],"backdrop-saturate":[{"backdrop-saturate":[Wa,al,el]}],"backdrop-sepia":[{"backdrop-sepia":["",Wa,al,el]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",al,el]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Wa,"initial",al,el]}],ease:[{ease:["linear","initial",g,al,el]}],delay:[{delay:[Wa,al,el]}],animate:[{animate:["none",b,al,el]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,al,el]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:I()}],"rotate-x":[{"rotate-x":I()}],"rotate-y":[{"rotate-y":I()}],"rotate-z":[{"rotate-z":I()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:D()}],"skew-x":[{"skew-x":D()}],"skew-y":[{"skew-y":D()}],transform:[{transform:[al,el,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:V()}],"translate-x":[{"translate-x":V()}],"translate-y":[{"translate-y":V()}],"translate-z":[{"translate-z":V()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",al,el]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",al,el]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[Wa,ll,tl,nl]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),kl=(...e)=>xl(function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ga(e))&&(r&&(r+=" "),r+=t);return r}(...e)),Sl="dragging_kUMCE",El="opened_NYAFW",Cl="isConnected_eObxX",Ol=Do(class extends Eo{devtools=this.parentViewModel.devtools;storage=new pa({namespace:"mobx-view-model-devtools",prefix:"devtools-button",type:"local"});rect=null;ref=Mr({onSet:e=>{const t={isDragging:!1,offsetX:0,offsetY:0,hasMoved:!1,startX:0,startY:0},n=this.storage.get({key:"left",fallback:""}),r=this.storage.get({key:"top",fallback:""});if(n&&r){const{x:t,y:i}=this.fixPosition(n,r);e.style.left=`${t}px`,e.style.top=`${i}px`}e.addEventListener("mousedown",n=>{t.isDragging=!0,t.hasMoved=!1;const r=e.getBoundingClientRect();t.offsetX=r.left-n.clientX,t.offsetY=r.top-n.clientY,t.startX=r.left,t.startY=r.top,e.classList.add(Sl)}),e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()}),document.addEventListener("mousemove",n=>{if(!t.isDragging)return;const{x:r,y:i}=this.fixPosition(n.clientX+t.offsetX,n.clientY+t.offsetY);e.style.left=`${r}px`,e.style.top=`${i}px`,r===t.startX&&i===t.startY||(t.hasMoved=!0)}),document.addEventListener("mouseup",()=>{t.isDragging=!1,e.classList.remove(Sl),this.position!==this.devtools.position&&zt(()=>{this.devtools.position=this.position,this.storage.set({key:"left",value:e.style.left}),this.storage.set({key:"top",value:e.style.top})})})}});handleClick=()=>{this.devtools.isPopupOpened?this.devtools.hidePopup():this.devtools.showPopup()};get position(){const{left:e,top:t}=this.offsets,n=e<window.innerWidth/2,r=t<window.innerHeight/2;return r&&n?"top-left":r&&!n?"top-right":!r&&n?"bottom-left":"bottom-right"}get offsets(){return this.rect=this.ref.current?.getBoundingClientRect(),{left:this.rect?.left??0,top:this.rect?.top??0}}get size(){return!this.rect&&this.ref.current&&(this.rect=this.ref.current.getBoundingClientRect()),{width:this.rect?.width??0,height:this.rect?.height??0}}fixPosition(e,t){const n=window.innerWidth-this.size.width-12,r=window.innerHeight-this.size.height-12;let i="string"==typeof e?+e.replace("px","")||0:e,o="string"==typeof t?+t.replace("px","")||0:t;return i<12&&(i=12),o<12&&(o=12),i>n&&(i=n),o>r&&(o=r),{x:i,y:o}}},({model:e})=>Ui.jsxs("button",{className:kl("vmButton_esipO",{[El]:e.devtools.isPopupOpened,[Cl]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[Ui.jsx("img",{src:e.devtools.logoUrl}),Ui.jsx("div",{}),Ui.jsx("span",{children:e.devtools.allVms.length})]})),Tl=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 13.28a.75.75 0 0 0 1.06 0l2-2a.75.75 0 1 0-1.06-1.06l-.72.72V3.25a.75.75 0 0 0-1.5 0v7.69l-.72-.72a.75.75 0 1 0-1.06 1.06zM7.75 12a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5zm0-3.25a.75.75 0 0 1 0-1.5h5.5a.75.75 0 0 1 0 1.5zm0-4.75a.75.75 0 0 1 0-1.5h2.5a.75.75 0 0 1 0 1.5z",clipRule:"evenodd"})),Al=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 3.25a.75.75 0 0 1 .75-.75h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 3.25M3 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 3 8m3.75 4a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Ml=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 2.72a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1-1.06 1.06l-.72-.72v7.69a.75.75 0 0 1-1.5 0V5.06l-.72.72A.75.75 0 0 1 .22 4.72zM7.75 4a.75.75 0 0 1 0-1.5h7.5a.75.75 0 0 1 0 1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 4.75a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Nl=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0",clipRule:"evenodd"})),Pl=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5M11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3zM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5",clipRule:"evenodd"})),Ll=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 13.5v-3A.5.5 0 0 1 8 10h.672a.5.5 0 0 1 .353.146l.414.415.44.439H13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5M6 13H4.5a3 3 0 0 1-3-3V1.25a.75.75 0 0 1 1.5 0V2a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V5H4.5A3 3 0 0 1 3 4.599V10a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm1.5-8.75V5.5A.5.5 0 0 0 8 6h5a.5.5 0 0 0 .5-.5v-2A.5.5 0 0 0 13 3H9.879l-.44-.44-.414-.414A.5.5 0 0 0 8.672 2H8a.5.5 0 0 0-.5.5z",clipRule:"evenodd"})),Rl=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})),zl=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",clipRule:"evenodd"})),Il=e=>Ii.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ii.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})),jl=null,{min:Dl,max:Vl,abs:Fl,floor:Bl}=Math,Ul=(e,t,n)=>Dl(n,Vl(t,e)),Wl=e=>[...e].sort((e,t)=>e-t),Hl="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},Kl=()=>{let e;return[new Promise(t=>{e=t}),e]},Gl=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},$l=(e,t,n)=>{const r=n?"unshift":"push";for(let n=0;n<t;n++)e[r](-1);return e},ql=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},Yl=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=Dl(t,e.i),r},Xl=(e,t)=>{if(!e.l)return 0;if(e.i>=t)return e.u[t];e.i<0&&(e.u[0]=0,e.i=0);let n=e.i,r=e.u[n];for(;n<t;)r+=ql(e,n),e.u[++n]=r;return e.i=t,r},Ql=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const i=Bl((n+r)/2);if(Xl(e,i)<=t){if(Xl(e,i+1)>t)return i;n=i+1}else r=i-1}return Ul(n,0,e.l-1)},Jl=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:Dl(t-1,e.i),e.l=t,r>0?($l(e.u,r),$l(e.t,r,n),e.o*r):(e.u.splice(r),(n?e.t.splice(0,-r):e.t.splice(r)).reduce((t,n)=>t-(-1===n?e.o:n),0))},Zl="undefined"!=typeof window,es=()=>document.documentElement,ts=Gl(()=>!!Zl&&"rtl"===getComputedStyle(es()).direction),ns=Gl(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),rs=Gl(()=>"scrollBehavior"in es().style),is=setTimeout,os=(e,t)=>t&&ts()?-e:e,as=(e,t)=>{let n,r,i=Kl();const o=t?"scrollLeft":"scrollTop",a=t?"overflowX":"overflowY",[l,s]=((e,t,n)=>{let r;return[async(i,o)=>{if(!await t())return;r&&r();const a=()=>{const[t,n]=Kl();return r=()=>{n(!1)},e.p()&&is(r,150),[t,e.B(2,()=>{n(!0)})]};if(o&&rs())e.J(8,i()),Hl(async()=>{for(;;){let t=!0;for(let[n,r]=e.S();n<=r;n++)if(e.k(n)){t=!1;break}if(t)break;const[n,r]=a();try{if(!await n)return}finally{r()}}e.J(7),n(i(),o)});else for(;;){const[t,r]=a();try{if(e.J(7),n(i()),!await t)return}finally{r()}}},()=>{r&&r()}]})(e,()=>i[0],(e,r)=>{e=os(e,t),r?n.scrollTo({[t?"left":"top"]:e,behavior:"smooth"}):n[o]=e});return{P(l){n=l,r=((e,t,n,r,i)=>{const o=Date.now;let a=0,l=!1,s=!1,u=!1,c=!1;const d=(()=>{let t;const n=()=>{t!=jl&&clearTimeout(t)},r=()=>{n(),t=is(()=>{t=jl,(()=>{if(l||s)return l=!1,void d();u=!1,e.J(2)})()},150)};return r.A=n,r})(),f=()=>{a=o(),u&&(c=!0),e.J(1,r()),d()},p=t=>{if(l||!e.H()||t.ctrlKey)return;const r=o()-a;150>r&&50<r&&(n?t.deltaX:t.deltaY)&&(l=!0)},h=()=>{s=!0,u=c=!1},m=()=>{s=!1,ns()&&(u=!0)};return t.addEventListener("scroll",f),t.addEventListener("wheel",p,{passive:!0}),t.addEventListener("touchstart",h,{passive:!0}),t.addEventListener("touchend",m,{passive:!0}),{L:()=>{t.removeEventListener("scroll",f),t.removeEventListener("wheel",p),t.removeEventListener("touchstart",h),t.removeEventListener("touchend",m),d.A()},D:()=>{const[t,o]=e.O();t&&(i(os(t,n),o,c),c=!1,o&&e.p()>e.h()&&e.J(1,r()))}}})(e,l,t,()=>os(l[o],t),(t,n,r)=>{if(r){const e=l.style,t=e[a];e[a]="hidden",is(()=>{e[a]=t})}l[o]=e.C()+t,n&&s()}),i[1](!0)},v(){r&&r.L(),i[1](!1),i=Kl()},V(e){l(()=>e)},X(t){t+=e.C(),l(()=>t)},Y(t,{align:n,smooth:r,offset:i=0}={}){if(t=Ul(t,0,e.M()-1),"nearest"===n){const r=e.R(t),i=e.C();if(r<i)n="start";else{if(!(r+e.T(t)>i+e.p()))return;n="end"}}l(()=>i+e.W()+e.R(t)+("end"===n?e.T(t)-e.p():"center"===n?(e.T(t)-e.p())/2:0),r)},j:()=>{r&&r.D()}}},ls=(e,t)=>{let n;const r=t?"width":"height",i=new WeakMap,o=(e=>{let t;return{q(n){(t||(t=new((e=>e.defaultView)((e=>e.ownerDocument)(n)).ResizeObserver)(e))).observe(n)},G(e){t.unobserve(e)},L(){t&&t.disconnect()}}})(t=>{const o=[];for(const{target:a,contentRect:l}of t)if(a.offsetParent)if(a===n)e.J(4,l[r]);else{const e=i.get(a);e!=jl&&o.push([e,l[r]])}o.length&&e.J(3,o)});return{U(e){o.q(n=e)},F:(e,t)=>(i.set(e,t),o.q(e),()=>{i.delete(e),o.G(e)}),v:o.L}},ss=Zl?Ii.useLayoutEffect:Ii.useEffect,us="current",cs=(e,t)=>{if(Array.isArray(e))for(const n of e)cs(n,t);else null==e||"boolean"==typeof e||t.push(e)},ds=e=>{const t=Ii.useRef(e);return ss(()=>{t[us]=e},[e]),t},fs=Ii.memo(({Z:e,ee:t,te:n,oe:r,ne:i,re:o,ie:a,se:l})=>{const s=Ii.useRef(null);ss(()=>t(s[us],n),[n]);const u=Ii.useMemo(()=>{const e={contain:"layout style",position:i&&l?void 0:"absolute",[a?"height":"width"]:"100%",[a?"top":"left"]:0,[a?ts()?"right":"left":"top"]:r,visibility:!i||l?void 0:"hidden"};return a&&(e.display="inline-flex"),e},[r,i,l,a]);return Ui.jsx(o,"string"==typeof o?{ref:s,style:u,children:e}:{ref:s,style:u,index:n,children:e})}),ps=Ii.forwardRef(({children:e,data:t,bufferSize:n,itemSize:r,shift:i,horizontal:o,keepMounted:a,cache:l,startMargin:s=0,ssrCount:u,as:c="div",item:d="div",scrollRef:f,onScroll:p,onScrollEnd:h},m)=>{const[v,g]=((e,t)=>Ii.useMemo(()=>{if("function"==typeof e)return[n=>e(t[n],n),t.length];const n=(e=>{const t=[];return cs(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),b=Ii.useRef(null),y=Ii.useRef(!!u),w=ds(p),_=ds(h),[x,k,S,E]=(()=>{const e=Ii.useRef(null);return e[us]||(e[us]=(()=>{const e=!!o,t=((e,t=40,n=0,r,i=!1)=>{let o=!!n,a=1,l=0,s=0,u=0,c=0,d=0,f=0,p=0,h=0,m=jl,v=[0,o?Vl(n-1,0):-1],g=0;const b=(T=e,A=t,{o:(M=r)?M[1]:A,t:M&&M[0]?$l(M[0].slice(0,Dl(T,M[0].length)),Vl(0,T-M[0].length)):$l([],T),l:T,i:-1,u:$l([],T+1)}),y=new Set,w=()=>u-s,_=()=>w()+d+c,x=(e,t)=>((e,t,n,r)=>{if(r=Dl(r,e.l-1),Xl(e,r)<=t){const i=Ql(e,n,r);return[Ql(e,t,r,i),i]}{const i=Ql(e,t,void 0,r);return[i,Ql(e,n,i)]}})(b,e,t,v[0]),k=()=>Xl(b,b.l),S=e=>Xl(b,e)-d,E=e=>ql(b,e),C=(e,t=-1)=>b.t[e]===t,O=e=>{e&&(ns()&&0!==p||m&&1===h?d+=e:c+=e)};var T,A,M;return{v:()=>{y.clear()},m:()=>a,_:()=>(e=>[e.t.slice(),e.o])(b),S:(e=200)=>{if(!l||o)return v;let t,n;if(f)[t,n]=v;else{let r=Vl(0,_()),o=r+l;i||(e=Vl(0,e),1!==p&&(r-=e),2!==p&&(o+=e)),[t,n]=v=x(Vl(0,r),Vl(0,o)),m&&(t=Dl(t,m[0]),n=Vl(n,m[1]))}return[Vl(t,0),Dl(n,b.l-1)]},$:()=>Ql(b,_()),I:()=>Ql(b,_()+l),k:C,R:S,T:E,M:()=>b.l,C:()=>u,H:()=>0!==p,p:()=>l,W:()=>s,h:k,O:()=>(f=c,c=0,[f,2===h]),B:(e,t)=>{const n=[e,t];return y.add(n),()=>{y.delete(n)}},J:(e,t)=>{let n,r,v=0;switch(e){case 1:{if(t===u&&0===h)break;const e=f;f=0;const n=t-u,i=Fl(n);e&&i<Fl(e)+1||0!==h||(p=n<0?2:1),o&&(o=!1),u=t,v=4;const a=w();a>=-l&&a<=k()&&(v+=1,r=i>l);break}case 2:v=8,0!==p&&(n=!0,v+=1),p=0,h=0,m=jl;break;case 3:{const e=t.filter(([e,t])=>!C(e,t));if(!e.length)break;O(e.reduce((e,[t,n])=>((2===h||(m&&1===h?t<m[0]:S(t+(0===p&&0===h?1:0))<w()))&&(e+=n-E(t)),e),0));for(const[t,n]of e){const e=E(t),r=Yl(b,t,n);i&&(g+=r?n:n-e)}i&&l&&g>l&&(O(((e,t)=>{let n=0;const r=[];e.t.forEach((e,i)=>{-1!==e&&(r.push(e),i<t&&n++)}),e.i=-1;const i=Wl(r),o=i.length,a=o/2|0,l=o%2==0?(i[a-1]+i[a])/2:i[a],s=e.o;return((e.o=l)-s)*Vl(t-n,0)})(b,Ql(b,_()))),i=!1),v=3,r=!0;break}case 4:l!==t&&(l||(r=!0),l=t,v=3);break;case 5:t[1]?(O(Jl(b,t[0],!0)),h=2,v=1):(Jl(b,t[0]),v=1);break;case 6:s=t;break;case 7:h=1;break;case 8:m=x(t,t+l),v=1}v&&(a=1+(2147483647&a),n&&d&&(c+=d,d=0),y.forEach(([e,t])=>{v&e&&t(r)}))}}})(g,r,u,l,!r);return[t,ls(t,e),as(t,e),e]})())})();g!==x.M()&&x.J(5,[g,i]),s!==x.W()&&x.J(6,s);const[C,O]=Ii.useReducer(x.m,void 0,x.m),T=x.H(),A=x.h(),M=[],N=e=>{const t=v(e);return Ui.jsx(fs,{ee:k.F,te:e,oe:x.R(e),ne:x.k(e),re:d,Z:t,ie:E,se:y[us]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(ss(()=>{y[us]=!1,x.B(1,e=>{e?eo.flushSync(O):O()}),x.B(4,()=>{w[us]&&w[us](x.C())}),x.B(8,()=>{_[us]&&_[us]()});const e=e=>{k.U(e),S.P(e)};return f?Hl(()=>{f[us]&&e(f[us])}):e(b[us].parentElement),()=>{x.v(),k.v(),S.v()}},[]),ss(()=>{S.j()},[C]),Ii.useImperativeHandle(m,()=>({get cache(){return x._()},get scrollOffset(){return x.C()},get scrollSize(){return Vl((e=x).h(),e.p());var e},get viewportSize(){return x.p()},findStartIndex:x.$,findEndIndex:x.I,getItemOffset:x.R,getItemSize:x.T,scrollToIndex:S.Y,scrollTo:S.V,scrollBy:S.X}),[]),a){const e=new Set(a);for(let[t,r]=x.S(n);t<=r;t++)e.add(t);Wl([...e]).forEach(e=>{M.push(N(e))})}else for(let[e,t]=x.S(n);e<=t;e++)M.push(N(e));return Ui.jsx(c,{ref:b,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:E?A:"100%",height:E?"100%":A,pointerEvents:T?"none":void 0},children:M})});class hs{constructor(e,t,n,r,i){this.devtools=e,this.key=t,this._data=n,this.getChildren=r,this.cache=i??e.anyCache,this.expandKey=`${t}/expand-key`,Ie(this,"isExpanded"),Ie(this,"isFitted"),Ie(this,"totalChildCount"),Ie(this,"depthLine"),Ie(this,"depth"),Ie(this,"stringifiedData"),Ie.struct(this,"operations"),Ie.struct(this,"children"),Ie.struct(this,"expandedChildren"),Ie.struct(this,"expandedChildrenWithSelf"),Ie(this,"data"),Ie(this,"isExpandable"),Lt(this,"expand"),Lt(this,"collapse"),dn(this)}cache;get isExpanded(){return!0===this.cache.get(this.expandKey)}get children(){return this.getChildren?.(this)??[]}get isExpandable(){return this.children.length>0}expand(){this.isExpandable&&this.cache.set(this.expandKey,!0)}collapse(){this.cache.set(this.expandKey,!1)}toggleExpand(){this.isExpanded?this.collapse():this.expand()}get expandedChildren(){if(!this.isExpanded)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return e}get expandedChildrenWithSelf(){return[this,...this.expandedChildren]}get data(){return this._data}get isFitted(){return!0}get depthLine(){return String().padEnd(this.depth,"-")}get stringifiedData(){return String(this.data)}get operations(){return[]}expandKey}const ms=new Set(["constructor"]),vs=new Set([globalThis.Object.prototype,globalThis.Function.prototype,globalThis.Array.prototype,globalThis.String.prototype,globalThis.Number.prototype,globalThis.Boolean.prototype,globalThis.Symbol.prototype,globalThis.Date.prototype,globalThis.RegExp.prototype,globalThis.Error.prototype,globalThis.Map.prototype,globalThis.Set.prototype,globalThis.WeakMap.prototype,globalThis.WeakSet.prototype,globalThis.ArrayBuffer.prototype,globalThis.DataView.prototype,globalThis.Float32Array.prototype,globalThis.Float64Array.prototype,globalThis.Int8Array.prototype,globalThis.Int16Array.prototype,globalThis.Int32Array.prototype,globalThis.Uint8Array.prototype,globalThis.Uint8ClampedArray.prototype,globalThis.Uint16Array.prototype,globalThis.Uint32Array.prototype,globalThis.BigInt64Array.prototype,globalThis.BigUint64Array.prototype,globalThis.Promise.prototype,globalThis.Iterator.prototype]);function gs(e){const t=new Set(Object.keys(e));let n=Object.getPrototypeOf(e);for(;n&&n!==globalThis.Object.prototype;){const e=Object.getOwnPropertyDescriptors(n);for(const n in e)ms.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(vs.has(r))break;n=r}return Array.from(t)}class bs extends hs{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}class ys extends hs{constructor(e,t,n,r){const i=t.constructor.name;super(e,`${i}-${t.id}`,t,void 0,new Map),this.allVms=n,this.parent=r,this.displayName=i,this.searchData={name:i.toLowerCase().trim(),id:(t.id||"").toLowerCase().trim()},Ie.struct(this,"childVMListItems"),Ie.struct(this,"propertyListItems"),dn(this),rt(()=>{this.expand()})}get childVMListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return t?.parentViewModel&&t.parentViewModel===this.data}).map(e=>new ys(this.devtools,e,this.allVms,this))}get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n,r;return e.segments[1]?(n=this.searchData.id===t,r=this.searchData.name===t):(n=this.searchData.id.startsWith(t),r=this.searchData.name.startsWith(t)),r||n}get propertyListItems(){let e=gs(this.data);return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>ws.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems,...this.childVMListItems]}getVmParams(e){return"vmParams"in e?e.vmParams:null}get depth(){return this.parent&&"tree"===this.devtools.presentationMode?this.parent.depth+1:0}searchData;displayName}class ws extends hs{constructor(e,t,n,r,i){super(e,ws.createKey(i,t),void 0),this.property=t,this.path=n,this.order=r,this.parent=i,Ie(this,"type"),Ie(this,"searchData"),Ie(this,"propertyClosingTag"),Ie(this,"dataType"),Ie(this,"stringifiedDataType"),Ie(this,"extraContent"),Pe.ref(this,"failedStringify"),dn(this)}get data(){return this.property&&this.parent.data[this.property]}get dataType(){return typeof this.data}get stringifiedDataType(){return Object.prototype.toString.call(this.data)}get type(){return Array.isArray(this.data)?"array":Ar.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":Ar.isFunction(this.data)?"function":Ar.isObject(this.data)?"object":this.stringifiedDataType.startsWith("[object ")&&this.data&&"object"==typeof this.data&&"constructor"in this.data?"instance":"primitive"}get children(){let e=[];if("array"===this.type)e=Object.keys(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this)),e.push(ws.create(this.devtools,"length",`${this.path}.length`,e.length,this));else if("function"===this.type)e=Object.keys(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this));else if("instance"===this.type||"object"===this.type)return gs(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this));return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>{const n=String(e.property),r=String(t.property);return"asc"===this.devtools.sortPropertiesBy?n.localeCompare(r):r.localeCompare(n)})),e}get isFitted(){const{searchEngine:e}=this.devtools;return!e.isActive||!this.property||e.segments.some(e=>e.startsWith(this.property))}get extraContent(){if(this.isExpanded)return null;if(this.parent.isExpanded){if(this.parent instanceof ys)return",";if(this.parent instanceof ws)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new bs(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new bs(this.devtools,`${this.key}/closing-tag`,"}",this.depth);default:return null}}get expandedChildren(){if(!this.isExpanded||!this.isExpandable)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return this.propertyClosingTag&&e.push(this.propertyClosingTag),e}get depth(){return this.parent.depth+1}get searchData(){return{property:this.property?.toLowerCase()||""}}failedStringify=!1;get isCopiable(){return"instance"!==this.type&&!this.failedStringify}get stringifiedData(){switch(this.type){case"object":case"array":try{return JSON.stringify(this.data,null,2)}catch(e){return zt(()=>{this.failedStringify=!0}),super.stringifiedData}default:switch(this.dataType){case"symbol":return`Symbol(${Symbol.keyFor(this.data)||""})`;case"string":return`"${super.stringifiedData}"`}return super.stringifiedData}}get operations(){return this.isCopiable?[{title:"Copy",icon:Pl,action:()=>navigator.clipboard.writeText(this.stringifiedData)}]:[]}static createKey(e,t){return`${e.key}-${t}`}static create(e,t,n,r,i){const o=i.cache??e.anyCache,a=`${ws.createKey(i,t)}/list-item`;let l=o.get(a);return l||(l=new ws(e,t,n,r,i),o.set(a,l)),l}}class _s extends hs{get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n;return n=e.segments[1]?this.searchData.name===t:this.searchData.name.startsWith(t),n}get propertyListItems(){let e=Object.keys(this.data||{});return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>ws.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems]}get depth(){return 0}searchData;displayName;constructor(e,t){const n="Extras";super(e,`extra$$$-${n}-`,t,void 0,new Map),this.displayName=n,this.searchData={name:n.toLowerCase().trim()},Ie.struct(this,"propertyListItems"),dn(this),rt(()=>{this.expand()})}}const xs="active_6QS-2",ks=({value:e,options:t,className:n,onUpdate:r})=>{const i=[];let o;return t.forEach((n,a)=>{const{icon:l,value:s}=n,u=e===s;u&&(o=a),i.push(Ui.jsx("div",{className:kl("option_a5IcR",{[xs]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].value)},children:Ui.jsx(l,{})},a))}),Ui.jsxs("button",{className:kl("iconToggleButton_R48wm",n),children:[Ui.jsx("div",{className:"activePosition_IXsRn",style:{"--index":o}}),i]})},Ss="treeItemHeader_9gR6Q",Es="treeItemLabel_eiMgP",Cs="treeItem_sRXPA",Os={expandButton:"expandButton_B24E3",expanded:"expanded_8-pD6",disabled:"disabled_MBq1Q",vmContent:"vmContent_TIK57",vmContentHeader:"vmContentHeader_M1JNM",vmContentHeaderLogo:"vmContentHeaderLogo_FRJDO",vmContentHeaderTitle:"vmContentHeaderTitle_lYmde",vmContentHeaderTitleText:"vmContentHeaderTitleText_RlIFH",vmContentControlPanel:"vmContentControlPanel_CgUN9",vmContentInput:"vmContentInput_29GM1",vmContentControlPanelActions:"vmContentControlPanelActions_lONbA",filled:"filled_6JZa0",vmContentVirtualized:"vmContentVirtualized_lia62",gradientBlur:"gradientBlur_-y-re"},Ts=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:i})=>Ui.jsx("span",{onClick:n,className:kl(Os.expandButton,{[Os.expandable]:e,[Os.expanded]:t,[Os.disabled]:r}),children:(e||i)&&Ui.jsx(Nl,{})}),As=go(({item:e})=>Ui.jsx("div",{className:kl(Cs,"extraTreeItem_z3KA1"),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:Ui.jsxs("header",{className:Ss,children:[Ui.jsx(Ts,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.isExpandable,expanded:e.isExpanded}),Ui.jsx("label",{className:Es,title:e.displayName,children:e.displayName})]})})),Ms={property:"property_sD8FG",expandable:"expandable_np03F",instance:"instance_jv3IW",primitive:"primitive_v6LAV",boolean:"boolean_Z6znK",number:"number_U9H45",object:"object_bHf4I",bigint:"bigint_HkgX8",symbol:"symbol_oKSwT",undefined:"undefined_6CapW",null:"null_lugoL",string:"string_87vm1",propertyName:"propertyName_KicXG",propertyMeta:"propertyMeta_Ia9ce",propertyValue:"propertyValue_fYO2g",propertyOperations:"propertyOperations_fT6Ez"},Ns=go(({item:e})=>Ui.jsx("div",{className:kl(Ms.property,Ms.primitive),style:{"--level":e.depth},"data-fitted":e.isFitted,title:e.stringifiedData,"data-depth":e.depthLine,children:e.content})),Ps=go(({item:e})=>Ui.jsxs(Ui.Fragment,{children:[void 0===e.property?null:Ui.jsxs(Ui.Fragment,{children:[Ui.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),Ui.jsx("span",{className:Ms.propertyValue,children:e.isExpanded?"[":e.isExpandable?"[...]":"[]"})]})),Ls=go(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return Ui.jsxs(Ui.Fragment,{children:[Ui.jsx("span",{className:Ms.propertyName,children:e.property}),`(${t.join(", ")})`]})}),Rs=go(({item:e})=>{const t=e.data.constructor.name;return Ui.jsxs(Ui.Fragment,{children:[void 0===e.property?null:Ui.jsxs(Ui.Fragment,{children:[Ui.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),Ui.jsx("span",{className:Ms.propertyValue,children:`${t}`}),e.isExpanded&&Ui.jsxs(Ui.Fragment,{children:[" ","{"]})]})}),zs=go(({item:e})=>Ui.jsxs(Ui.Fragment,{children:[void 0===e.property?null:Ui.jsxs(Ui.Fragment,{children:[Ui.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),Ui.jsx("span",{className:Ms.propertyValue,children:e.isExpanded?"{":e.isExpandable?"{...}":"{}"})]})),Is=go(({item:e})=>Ui.jsxs(Ui.Fragment,{children:[void 0===e.property?null:Ui.jsxs(Ui.Fragment,{children:[Ui.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),Ui.jsx("span",{className:Ms.propertyValue,children:e.stringifiedData})]})),js=go(e=>{const{item:t}=e;let n=null;switch(e.item.type){case"array":n=Ui.jsx(Ps,{...e});break;case"function":n=Ui.jsx(Ls,{...e});break;case"instance":n=Ui.jsx(Rs,{...e});break;case"object":n=Ui.jsx(zs,{...e});break;case"primitive":n=Ui.jsx(Is,{...e})}return Ui.jsxs("div",{className:kl(Ms.property,Ms[t.type],Ms[t.dataType],{[Ms.null]:null===t.data,[Ms.expandable]:t.isExpandable,[Ms.expanded]:t.isExpanded}),style:{"--level":t.depth,"--order":t.order},"data-fitted":t.isFitted,title:t.stringifiedData,onClick:e=>t.devtools.handlePropertyClick(t,e),"data-depth":t.depthLine,children:[n,t.extraContent,t.operations.length>0&&Ui.jsx("div",{className:Ms.propertyOperations,children:t.operations.map(e=>Ui.jsx("button",{title:e.title,className:Ms.propertyOperation,onClick:t=>{t.stopPropagation(),e.action()},children:Ui.jsx(e.icon,{})},e.title))})]})}),Ds=go(({item:e})=>Ui.jsx("div",{className:kl(Cs,"vmTreeItem_t-7jc"),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:Ui.jsxs("header",{className:Ss,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[Ui.jsx(Ts,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.devtools.isExpandable(e),expanded:e.isExpanded}),Ui.jsx("label",{className:Es,title:e.displayName,children:e.displayName}),Ui.jsx("span",{className:"treeItemMetaText_cmfX0",title:e.data.id,children:e.data.id})]})})),Vs=go(({className:e,headerContent:t,...n})=>{const r=Io();return Ui.jsxs("div",{...n,className:kl(Os.vmContent,e),ref:r.contentRef,children:[Ui.jsxs("header",{className:Os.vmContentHeader,children:[Ui.jsx("div",{className:Os.gradientBlur}),Ui.jsxs("div",{className:Os.vmContentHeaderTitle,children:[Ui.jsx("img",{className:Os.vmContentHeaderLogo,src:r.devtools.logoUrl}),Ui.jsx("span",{className:Os.vmContentHeaderTitleText,children:"mobx-view-model devtools"}),t]}),Ui.jsxs("div",{className:Os.vmContentControlPanel,children:[Ui.jsxs("div",{className:Os.vmContentControlPanelActions,children:[Ui.jsx(ks,{onUpdate:r.devtools.handleChangePresentationMode,options:[{value:"tree",icon:Ll},{value:"list",icon:Rl}],value:r.devtools.presentationMode}),Ui.jsx(ks,{onUpdate:r.devtools.handleSortPropertiesChange,options:[{value:"none",icon:Al},{value:"asc",icon:Tl},{value:"desc",icon:Ml}],value:r.devtools.sortPropertiesBy})]}),Ui.jsxs("div",{className:`${Os.vmContentInput} ${r.devtools.searchEngine.isActive&&Os.filled}`,children:[Ui.jsx(zl,{}),Ui.jsx("input",{ref:r.devtools.searchEngine.searchInputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name"}),Ui.jsx("button",{onClick:r.devtools.searchEngine.resetSearch,children:Ui.jsx(Il,{})})]})]})]}),Ui.jsx("div",{className:Os.vmContentVirtualized,children:Ui.jsx(ps,{ref:r.devtools.scrollListRef,itemSize:22,data:r.devtools.listItems,keepMounted:[0],children:e=>e instanceof ys?Ui.jsx(Ds,{item:e},e.key):e instanceof _s?Ui.jsx(As,{item:e},e.key):e instanceof ws?Ui.jsx(js,{item:e},e.key):e instanceof bs?Ui.jsx(Ns,{item:e},e.key):Ui.jsx(Ui.Fragment,{})})})]})}),Fs=go(()=>{const e=Io();return Ui.jsx(Vs,{className:"vmPopup_0hkGL","data-position":e.devtools.position,headerContent:Ui.jsx("button",{className:"closePopupButton_igv9j",onClick:e.devtools.hidePopup,children:Ui.jsx(Il,{})})})});var Bs=function(){return Bs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Bs.apply(this,arguments)};function Us(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Ws(e){return e&&e.ownerDocument?e.ownerDocument:document}var Hs=function(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[r]=!0;break;case"false":e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})};function Ks(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function Gs(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function $s(e){return".".concat(e.split(" ").join("."))}var qs=!("undefined"==typeof window||!window.document||!window.document.createElement),Ys=Object.freeze({__proto__:null,addClasses:Ks,canUseDOM:qs,classNamesToQuery:$s,getElementDocument:Ws,getElementWindow:Us,getOptions:Hs,removeClasses:Gs}),Xs=null,Qs=null;function Js(){if(null===Xs){if("undefined"==typeof document)return Xs=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Xs=n}return Xs}qs&&window.addEventListener("resize",function(){Qs!==window.devicePixelRatio&&(Qs=window.devicePixelRatio,Xs=null)});var Zs=Us,eu=Ws,tu=Hs,nu=Ks,ru=Gs,iu=$s,ou=function(){function e(t,n){void 0===n&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=Zs(r.el);r.scrollXTicking||(e.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(e.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,nu(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){ru(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(nu(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){ru(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,n;r.axis.x.track.el&&r.axis.y.track.el&&r.axis.x.scrollbar.el&&r.axis.y.scrollbar.el&&(r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,"x"):r.onTrackClick(e,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,"y"):r.onTrackClick(e,"y")))))},this.drag=function(t){var n,i,o,a,l,s,u,c,d,f,p;if(r.draggedAxis&&r.contentWrapperEl){var h=r.axis[r.draggedAxis].track,m=null!==(i=null===(n=h.rect)||void 0===n?void 0:n[r.axis[r.draggedAxis].sizeAttr])&&void 0!==i?i:0,v=r.axis[r.draggedAxis].scrollbar,g=null!==(a=null===(o=r.contentWrapperEl)||void 0===o?void 0:o[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==a?a:0,b=parseInt(null!==(s=null===(l=r.elStyles)||void 0===l?void 0:l[r.axis[r.draggedAxis].sizeAttr])&&void 0!==s?s:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===r.draggedAxis?t.pageY:t.pageX)-(null!==(c=null===(u=h.rect)||void 0===u?void 0:u[r.axis[r.draggedAxis].offsetAttr])&&void 0!==c?c:0)-r.axis[r.draggedAxis].dragOffset,w=(y="x"===r.draggedAxis&&r.isRtl?(null!==(f=null===(d=h.rect)||void 0===d?void 0:d[r.axis[r.draggedAxis].sizeAttr])&&void 0!==f?f:0)-v.size-y:y)/(m-v.size)*(g-b);"x"===r.draggedAxis&&r.isRtl&&(w=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-w:w),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){r.isDragging=!1;var t=eu(r.el),n=Zs(r.el);e.preventDefault(),e.stopPropagation(),ru(r.el,r.classNames.dragging),r.onStopScrolling(),t.removeEventListener("mousemove",r.drag,!0),t.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout(function(){t.removeEventListener("click",r.preventClick,!0),t.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=Bs(Bs({},e.defaultOptions),n),this.classNames=Bs(Bs({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return na(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),da(e,64,{leading:r,maxWait:64,trailing:i})}(this._onMouseMove),this.onWindowResize=da(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=da(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=da(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=null==n?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),o=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Js()}catch(e){return Js()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=eu(e),r=Zs(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){qs&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(iu(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(iu(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(iu(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(iu(this.classNames.offset)),this.maskEl=this.el.querySelector(iu(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,iu(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(iu(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(iu(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(iu(this.classNames.track)).concat(iu(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(iu(this.classNames.track)).concat(iu(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(iu(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(iu(this.classNames.scrollbar)))||null,this.options.autoHide||(nu(this.axis.x.scrollbar.el,this.classNames.visible),nu(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=Zs(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var r=!1,i=n.ResizeObserver||ResizeObserver;this.resizeObserver=new i(function(){r&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=Zs(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,i=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,s=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||s,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&s>t,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&s>i-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(e){var t,n;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var r,i=this.contentEl[this.axis[e].scrollSizeAttr],o=null!==(n=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==n?n:0,a=o/i;return r=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(r=Math.min(r,this.options.scrollbarMaxSize)),r},e.prototype.positionScrollbar=function(t){var n,r,i;void 0===t&&(t="y");var o=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&o.el&&this.elStyles){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=(null===(n=this.axis[t].track.el)||void 0===n?void 0:n[this.axis[t].offsetSizeAttr])||0,s=parseInt(this.elStyles[this.axis[t].sizeAttr],10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];u="x"===t&&this.isRtl&&(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollOriginAtZero)?-u:u,"x"===t&&this.isRtl&&(u=(null===(i=e.getRtlHelpers())||void 0===i?void 0:i.isScrollingToNegative)?u:-u);var c=u/(a-s),d=~~((l-o.size)*c);d="x"===t&&this.isRtl?-d+(l-o.size):d,o.el.style.transform="x"===t?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;t&&n&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(nu(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.isDragging||this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(ru(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),nu(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?nu(t.scrollbar.el,this.classNames.hover):ru(t.scrollbar.el,this.classNames.hover)):(ru(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),ru(this.axis[e].track.el,this.classNames.hover),ru(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var n;void 0===t&&(t="y"),this.isDragging=!0;var r=eu(this.el),i=Zs(this.el),o=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-((null===(n=o.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])||0),this.draggedAxis=t,nu(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n,r,i,o,a=this;void 0===t&&(t="y");var l=this.axis[t];if(this.options.clickOnTrack&&l.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var s=Zs(this.el);this.axis[t].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=null!==(r=null===(n=this.axis[t].scrollbar.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])&&void 0!==r?r:0,c=parseInt(null!==(o=null===(i=this.elStyles)||void 0===i?void 0:i[this.axis[t].sizeAttr])&&void 0!==o?o:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],f=("y"===t?this.mouseY-u:this.mouseX-u)<0?-1:1,p=-1===f?d-c:d+c,h=function(){a.contentWrapperEl&&(-1===f?d>p&&(d-=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,s.requestAnimationFrame(h)):d<p&&(d+=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,s.requestAnimationFrame(h)))};h()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=Zs(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=tu,e.helpers=Ys,e}(),au=function(e,t){return(au=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},lu=ou.helpers,su=lu.getOptions,uu=lu.addClasses,cu=lu.canUseDOM,du=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return t.instances.set(n[0],i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}au(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){"init"===e.getAttribute("data-simplebar")||t.instances.has(e)||new t(e,su(e.attributes))})},t.removeObserver=function(){var e;null===(e=t.globalObserver)||void 0===e||e.disconnect()},t.prototype.initDOM=function(){var e,t,n,r=this;if(!Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(r.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),uu(this.wrapperEl,this.classNames.wrapper),uu(this.contentWrapperEl,this.classNames.contentWrapper),uu(this.offsetEl,this.classNames.offset),uu(this.maskEl,this.classNames.mask),uu(this.contentEl,this.classNames.contentEl),uu(this.placeholderEl,this.classNames.placeholder),uu(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),uu(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),null===(e=this.contentWrapperEl)||void 0===e||e.setAttribute("tabindex",this.options.tabIndex.toString()),null===(t=this.contentWrapperEl)||void 0===t||t.setAttribute("role","region"),null===(n=this.contentWrapperEl)||void 0===n||n.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var i=document.createElement("div"),o=document.createElement("div");uu(i,this.classNames.track),uu(o,this.classNames.scrollbar),i.appendChild(o),this.axis.x.track.el=i.cloneNode(!0),uu(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=i.cloneNode(!0),uu(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}ou.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){ou.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,su(e.attributes)):e.querySelectorAll("[data-simplebar]").forEach(function(e){"init"!==e.getAttribute("data-simplebar")&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,su(e.attributes))}))}),e.removedNodes.forEach(function(e){var n;1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount()):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){var n;!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount())}))})})},t.instances=new WeakMap,t}(ou);cu&&du.initHtmlApi();const fu=Do(class extends Bo{devtools=this.payload.devtools;contentRef=Mr({meta:{scrollbar:null},onSet(e){const t=new du(e);this.meta={scrollbar:t}}})},({model:e})=>Ui.jsx(jo,{value:e.devtools.vmStore,children:Ui.jsxs(Ao,{value:e,children:[Ui.jsx(Ol,{}),e.devtools.isPopupOpened&&"popup"===e.devtools.displayType&&Ui.jsx(Fs,{})]})}));class pu extends fa{constructor(e){super({actions:[{shortcuts:["Ctrl+F12"],action:()=>{e.isPopupOpened?e.hidePopup():e.showPopup()}},{shortcuts:["Escape"],action:()=>{e.hidePopup()}},{shortcuts:["Ctrl+ArrowLeft"],action:()=>{e.collapseAllVms()}},{shortcuts:["Ctrl+ArrowRight"],action:()=>{e.expandAllVMs()}},{shortcuts:["Tab"],action:t=>{e.searchEngine.searchInputRef.meta.focused&&t.preventDefault()}},{shortcuts:["Ctrl+ArrowDown","PageDown"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset+400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}},{shortcuts:["Ctrl+ArrowUp","PageUp"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset-400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}}]})}}class hu extends Co{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}class mu{searchInputRef;fittedVmIds=new Set;rawSearchText;formattedSearchText;searchTextUpdateTimeout;segments=[];get isActive(){return!!this.formattedSearchText}setSearchText(e){if(this.rawSearchText=e,this.formattedSearchText=e.toLowerCase().trim(),this.segments.length=0,!this.formattedSearchText)return;let t=!0;for(let n=0;n<e.length;){const r=e[n];if(0===n&&"."===r){n++;continue}if(" "===r){n++;continue}if("."===r){t=!0,n++;continue}t&&(this.segments.push(""),t=!1);const i=this.segments.length-1;this.segments[i]+=r.toLowerCase(),n++}}resetSearch=()=>{clearTimeout(this.searchTextUpdateTimeout),this.setSearchText(""),this.searchInputRef.current&&(this.searchInputRef.current.value="")};constructor(){this.setSearchText(""),this.searchInputRef=(e=>{const t=()=>{zt(()=>{n.meta.focused=document.activeElement===n.current})},n=Mr({meta:{focused:!1},onSet:(n,r)=>{t(),n.addEventListener("focus",t,!0),n.addEventListener("blur",t,!0),e?.onSet?.(n,r)},onUnset:n=>{e?.onUnset?.(n),n?.removeEventListener("focus",t,!0),n?.removeEventListener("blur",t,!0)}});return n})({onSet:e=>{this.rawSearchText&&e.value!==this.rawSearchText&&(e.value=this.rawSearchText),e.addEventListener("input",()=>{clearTimeout(this.searchTextUpdateTimeout),this.searchTextUpdateTimeout=setTimeout(()=>{this.setSearchText(e.value)},100)})}}),dn(this,{rawSearchText:Pe.ref,formattedSearchText:Pe.ref,isActive:Ie,segments:Pe,setSearchText:Lt.bound})}}class vu{constructor(e){this.config=e,this.isPopupOpened=!!this.config.defaultIsOpened,this.displayType="popup",this.position=this.storage.get({key:"position"})??this.config.position??"top-right",this.vmStore=new hu,this.setExtras(this.config.extras),this.setStore(this.config.viewModels),this.presentationMode=this.storage.get({key:"presentationMode"})??"tree",this.sortPropertiesBy=this.storage.get({key:"sortPropertiesBy"})??"none",this.expandedVmItemsPaths=Pe.set(),this.logoUrl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAACTFBMVEUvEQFCGQIuEQFAGALpZhjoZhlgJANAGALrZhiAMAR1KwNKHAJXIAM4FQFsKgWUNgL09PYvEQCgPARoJwNRHgL////U0dCoSRGSPgzFTQljKwl5MggjDQHm5ORWsU2JNATWWBC4SQxsMQysQAX6+vra2NbMUQtRJQxWLgu/SAXf3t62tLOyr6zCbTecSxmyQQLIxcDAvbqbmZaVeWeKc2WgRBB/OhCMOQu4QwPt7e/DuLCYz5NoOB2tqqdsaGVhW1NagUJtTjtkYCe8XyaRRRiHRRTi29XKyMfr0cG2p5yag3JfVElMR0GfcjBVMx/KWRnoYxXdXhRzQBB0OA3n6OrOzM2npKPLq5frs5TUpo2umounkHp3cm6mgWqBbGB8aVZzYVBXnktWT0eYY0BYZzOGazGmWi3IYid1QSOxTxZYSBQ6IBFFJA6lPAP/8uvR2s3qybbSwLW8q6G3nYigm4B8fHvxonW9kXWSjGhrgl5vZlpZqk+ZdE5cjE16fkzuh0q9eUetcUKAWEBpdj90bjg/PDfteDRZdTGwaS6sYCljVCl2TCflbCJZYSKlVSJfRh/dZB2OWR1nRhFfNRHO48zo1crjwamuv5SfqpSXtpGro4bEm4SMhoGFu3yQlHqFf3l5tHKtjHCFe2ageWLSimBnYFuue1hYlk1uikCCYT5XijqRWjdNPTLRcS5VVCC7WB3WYBtsTRYmHBNYPxLA3bzwv6LVsZ+4tJyQxYqHqHvVlnJzn2uegF39l1t1oEiKjzyAdjpeRDShaClCLR/JXT/FAAAABnRSTlP7uLgrtivDuZKUAAAElElEQVQ4yyWURXsbMRRFpyRF0vCM2a6ZmWPXYWqwTVKGMDRNUmZmZmZmZub+scrp3bzN+e65q8dMmQwBwqwKnLZTNrsVDW/Y8P3AgRJPKcK8ykHIMZOmMJMgAYAlimCwGQRsHdHpayOv2tsN4wJmIZTMEiSTGMgRQoCC/B5ZAYIu/fylIthsBlkAHCeZKaNChuE4yKkA2w2IAKtdhyNpWY76ZUwkFZkIUFmeNTPU6vUadSMOOg2htNWURRhRkwQBr9OlHXQNYTipbVHZ6tX5JiPGKgsgUBQWUgckMDX/woIFC+uwzEhcWz43J6ANVgEC+dpIrcJyEp8+MeR4k4hpz696PyTIdBMZ+jAv0RBqGXPUZkw1YT0AEtCFw/3NiVgiVbWMR5hCJnnZs5uB+PoeB4pk9OFaoM9adTVDXeXzGm7+9fI8AIwEsiwBV12BYIWZmCL6DIBGozGt8+6vCLmbOp8e0vF0uMKzrH7hnHii3GyGpgjiOcLr9QDubwlaFj3d9oD6GcIqQM1enVO25FobqD1x2IQIp/KAjPUtabCs7e/fHR7hGQAUDqKN4rz9fb/XrJrf76gzcuqexsY91xJaS2Pq7oNdNVaGZ4kElaWituXNaF50b3p8uoN451m02y6VaS1rkksXbwybGMJBSMBSSy5YPtqUs6zbse816HHn8jsuB91zGpNNi2/vyjAsYGmSWm080VblFj9WV589eylnSR7ZnHDnGrvvbNq2K8JgwALCJhtCFVsKjnwgftLnexsKxE4uHyiPB9ZV79s3uHuYwbSKA3e1oeYWn3GxO17lW34kblnke7F5SVCb8lUf6aibxSgYEAhS2mDfs1GuKqa98WLghltb5Tv+dX1obtdY5YBD384gpAIWbmkI9TR7Ve+awMrNe1eK1Hbw1voQbTr46PSrEsaOAVak+7F8d/OYz5sMiJc/uzQXB45Xfpo719L0tvrn85ISxmYFkFe7YmXdPaNecHSueO6cRrzV++TJDFF0rVt+pvVYEbIDs0RS2rKKLW2s0bgoJ7o077ZunT59hkajuXKm82XJBKRAs5R0l/VVnOWNxscB0eW63jt9AnJd6ch6JiCnwkJzyhJqqSjwDkdHXnSt3P7wPyQuNgkTkB1jOryrPth8v+Do7Oz8Vl+/6eD2CZ1LXKsXxtsp5EQAQph0B8vLl2FTpq7u6NEzxysfFiHRchsjq392CQN4IJkLa93xJd0Zkykbqct0vK6urOwtNlmWYgVFKQQh6yvsnl8fu0OLsD4dOXF6cO/eyu2910WNuGDnvfApqlPUwoYFq2bWr97D026driZ8uHVw8NeORz8uipoVK1wrdhZ1oHDvy8KF8zfqMUZpnW54uKbm8KFDf1pbWy+cn0lThFSWEG/WaOQF2SrbnbJ9Fo3H4xnJoKzDaNJTG90kQcIKCAAcLaVxGuz0B/k9HpssOJ0I20uKEGOGHCsIPAAoGnU6x52lfkPU7zfMNsjRUsFqmIAmmzmJIISBCpAgO6OCMC7T47H5BdqP2ikzlb5DxswBjAAhvFX2+2UrRgIyHDtwzGMoFexFZto/HbAJBdFwHOYAAAAASUVORK5CYII=",this.scrollContentRef=Mr(),this.scrollListRef=Mr(),this.keyboardHandler=new pu(this),this.searchEngine=new mu,dn(this,{position:Pe.ref,isPopupOpened:Pe.ref,projectVmStore:Pe.ref,presentationMode:Pe.ref,sortPropertiesBy:Pe.ref,extras:Pe.ref,setStore:Lt.bound,setExtras:Lt.bound,showPopup:Lt.bound,hidePopup:Lt.bound,handleChangePresentationMode:Lt.bound,handleSortPropertiesChange:Lt.bound,handleExpandVmPropertyClick:Lt.bound,expandAllVMs:Lt.bound,collapseAllVms:Lt.bound,handleExpandExtraPropertyClick:Lt.bound,isActive:Ie,rootVmListItems:Ie.struct,extraListItems:Ie.struct}),this.render()}isPopupOpened;displayType;vmStore;projectVmStore;extras;expandedVmItemsPaths;logoUrl;scrollContentRef;keyboardHandler;searchEngine;presentationMode;sortPropertiesBy;position;scrollListRef;storage=new pa({namespace:"mobx-view-model-devtools",type:"session"});anyCache=Pe.map();autoscrollTimeout;get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!Bo.isPrototypeOf(e.constructor))}get rootVmListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new ys(this,e,this.allVms))}get extraListItems(){return this.extras?[new _s(this,this.extras)]:[]}get listItems(){return[...this.rootVmListItems.flatMap(e=>e.expandedChildrenWithSelf),...this.extraListItems.flatMap(e=>e.expandedChildrenWithSelf)]}get isActive(){return!!this.projectVmStore||Object.keys(this.extras||{}).length>0}get containerId(){return this.config.containerId??"view-model-devtools"}isExpanded(e){return e.isExpanded||this.searchEngine.isActive}checkIsExtraPathExpanded(e){const t=`__EXTRA__%%%${e}`;return this.expandedVmItemsPaths.has(t)}handleExpandVmPropertyClick(e,t){const n=`${e.key}%%%${t}`;this.expandedVmItemsPaths.has(n)?this.expandedVmItemsPaths.delete(n):this.expandedVmItemsPaths.add(n)}handlePropertyClick(e,t){e.toggleExpand()}handleExpandExtraPropertyClick(e){const t=`__EXTRA__%%%${e}`;this.expandedVmItemsPaths.has(t)?this.expandedVmItemsPaths.delete(t):this.expandedVmItemsPaths.add(t)}handleVmItemHeaderClick(e){e.toggleExpand()}isExpandable(e){return e.isExpandable&&"list"!==this.presentationMode}getVmParams(e){return"vmParams"in e?e.vmParams:null}setStore(e){this.projectVmStore=e}setExtras(e){this.extras=e}handleChangePresentationMode=e=>{this.presentationMode="list"===e?"list":"tree",this.expandedVmItemsPaths.clear()};handleSortPropertiesChange=e=>{this.sortPropertiesBy=e};expandAllVMs(){}collapseAllVms(){}showPopup(){this.isPopupOpened=!0,this.expandAllVMs()}hidePopup(){this.isPopupOpened=!1}init(){this.isInitialized||(this.isInitialized=!0,Ft(()=>this.searchEngine.formattedSearchText,()=>{clearTimeout(this.autoscrollTimeout),this.autoscrollTimeout=setTimeout(()=>{if(!this.isActive)return void this.scrollListRef.current?.scrollTo(0);let e=0,t=0;document.querySelectorAll(`#${this.containerId} [data-fitted]`).forEach((n,r)=>{"true"===n.dataset.fitted&&n.dataset.depth&&n.dataset.depth.length>=t&&(t=n.dataset.depth.length,e=this.scrollListRef.current?.getItemOffset(r)??0)}),this.scrollListRef.current?.scrollTo(e)},200)}),this.storage.syncProperty(this,"sortPropertiesBy"),this.storage.syncProperty(this,"presentationMode"),this.storage.syncProperty(this,"position"))}isInitialized=!1;render(){let e=document.querySelector(`#${this.containerId}`);e||(e=document.createElement("div"),e.className="root_Xsw1F",e.id=this.containerId,document.body?(document.body.appendChild(e),va.createRoot(e).render(Ii.createElement(fu,{payload:{devtools:this}}))):document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e),va.createRoot(e).render(Ii.createElement(fu,{payload:{devtools:this}}))})),this.init()}static _instance=null;static define(e){return vu._instance||(vu._instance=new vu(e??{})),vu._instance}static connect(e,t){const n=vu.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=vu.define();return t.setStore(e),t}static connectExtras(e){const t=vu.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:vu});const gu=xo.hooks.storeCreate.lastPub?.[0];vu.define({position:"top-right",defaultIsOpened:!1});const bu=e=>{hu!==e.constructor&&vu.connect(e)};gu&&bu(gu),xo.hooks.storeCreate.sub(bu)});