mobx-view-model-devtools 0.0.38 → 0.0.40

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,2 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.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.dragging_bOvPC{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.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}html:has(.dragging_bOvPC) *{-webkit-user-select:none!important;user-select:none!important}.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)}html:has(.dragging_kUMCE) *{-webkit-user-select:none!important;user-select:none!important}.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-edit-content-color: #97503c;--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}.vmContentVirtualizedContent_LtS91{overflow:hidden}.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}.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%)}[data-list-item-operations]{position:relative;right:12px;display:flex;align-items:center;margin-left:auto;gap:4px;width:0;transition:all .15s ease;overflow:hidden}*:has(>[data-list-item-operations]):hover>[data-list-item-operations]{width:auto}[data-list-item-operation]:active{transform:scale(.9)}.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,.property_sD8FG.isEditMode_S3NAq{background:var(--vmd-content-highlight-bg)}.property_sD8FG.expandable_np03F{cursor:pointer}.property_sD8FG>span{flex:1;overflow:hidden;text-overflow:ellipsis;padding-right:12px;display:flex;flex-direction:row}.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}.property_sD8FG.isEditMode_S3NAq>[data-list-item-operations]{width:auto}.editContent_WSktI{min-width:180px;flex:none;text-overflow:ellipsis;background:transparent;color:var(--vmd-edit-content-color);outline:0;border:1px solid var(--vmd-control-active-text-input-color);border-radius:4px;padding:0 4px}.notifications_50ZEK{position:absolute;z-index:1000;padding:4px;border-radius:4px;background:var(--vmd-control-border);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));right:8px;left:4px;top:4px;display:flex;flex-direction:column;gap:4px}@keyframes notification-fade-out_1FHX2{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.notification_Yxzo-{animation:notification-fade-out_1FHX2 .25s ease forwards}')),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 __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__knownSymbol=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__name=(e,t)=>__defProp(e,"name",{value:t,configurable:!0}),__decoratorStart=e=>[,,,__create(e?.[__knownSymbol("metadata")]??null)],__decoratorStrings=["class","method","getter","setter","accessor","field","value","get","set"],__expectFn=e=>void 0!==e&&"function"!=typeof e?__typeError("Function expected"):e,__decoratorContext=(e,t,n,r,i)=>({kind:__decoratorStrings[e],name:t,metadata:r,addInitializer:e=>n._?__typeError("Already initialized"):i.push(__expectFn(e||null))}),__decoratorMetadata=(e,t)=>__defNormalProp(t,__knownSymbol("metadata"),e[3]),__runInitializers=(e,t,n,r)=>{for(var i=0,o=e[t>>1],a=o&&o.length;i<a;i++)1&t?o[i].call(n):r=o[i].call(n,r);return r},__decorateElement=(e,t,n,r,i,o)=>{var a,s,l,c,u,d=7&t,p=!!(8&t),f=!!(16&t),h=d>3?e.length+1:d?p?1:2:0,m=__decoratorStrings[d+5],g=d>3&&(e[h-1]=[]),b=e[h]||(e[h]=[]),v=d&&(!f&&!p&&(i=i.prototype),d<5&&(d>3||!f)&&__getOwnPropDesc(d<4?i:{get[n](){return __privateGet(this,o)},set[n](e){return __privateSet(this,o,e)}},n));d?f&&d<4&&__name(o,(d>2?"set ":d>1?"get ":"")+n):__name(i,n);for(var y=r.length-1;y>=0;y--)c=__decoratorContext(d,n,l={},e[3],b),d&&(c.static=p,c.private=f,u=c.access={has:f?e=>__privateIn(i,e):e=>n in e},3^d&&(u.get=f?e=>(1^d?__privateGet:__privateMethod)(e,i,4^d?o:v.get):e=>e[n]),d>2&&(u.set=f?(e,t)=>__privateSet(e,i,t,4^d?o:v.set):(e,t)=>e[n]=t)),s=(0,r[y])(d?d<4?f?o:v[m]:d>4?void 0:{get:v.get,set:v.set}:i,c),l._=1,4^d||void 0===s?__expectFn(s)&&(d>4?g.unshift(s):d?f?o=s:v[m]=s:i=s):"object"!=typeof s||null===s?__typeError("Object expected"):(__expectFn(a=s.get)&&(v.get=a),__expectFn(a=s.set)&&(v.set=a),__expectFn(a=s.init)&&g.unshift(a));return d||__decoratorMetadata(e,i),v&&__defProp(i,n,v),f?4^d?o:v:i},__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateIn=(e,t)=>Object(t)!==t?__typeError('Cannot use the "in" operator on this value'):e.has(t),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateSet=(e,t,n,r)=>(__accessCheck(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),__privateMethod=(e,t,n)=>(__accessCheck(e,t,"access private method"),n),_virtualHeight_dec,_a2,_init;const createCounter=(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},createGlobalPoint=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)}},createGlobalConfig=(e,t)=>{const n=createGlobalPoint(t);return n.get()||n.set(e)},createPubSub=()=>{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};function die(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 mockGlobal={};function getGlobal$1(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:mockGlobal}var assign=Object.assign,getDescriptor=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,objectPrototype=Object.prototype,EMPTY_ARRAY=[];Object.freeze(EMPTY_ARRAY);var EMPTY_OBJECT={};Object.freeze(EMPTY_OBJECT);var hasProxy="undefined"!=typeof Proxy,plainObjectString=Object.toString();function assertProxies(){hasProxy||die("Proxy not available")}function once(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var noop=function(){};function isFunction$1(e){return"function"==typeof e}function isStringish(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function isObject$2(e){return null!==e&&"object"==typeof e}function isPlainObject(e){if(!isObject$2(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()===plainObjectString}function isGenerator(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function addHiddenProp(e,t,n){defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function addHiddenFinalProp(e,t,n){defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function createInstanceofPredicate(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return isObject$2(e)&&!0===e[n]}}function isES6Map(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function isPlainES6Map(e){var t=Object.getPrototypeOf(e),n=Object.getPrototypeOf(t);return null===Object.getPrototypeOf(n)}function isES6Set(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var hasGetOwnPropertySymbols=void 0!==Object.getOwnPropertySymbols;function getPlainObjectKeys(e){var t=Object.keys(e);if(!hasGetOwnPropertySymbols)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return objectPrototype.propertyIsEnumerable.call(e,t)})):t}var ownKeys="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:hasGetOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function toPrimitive(e){return null===e?null:"object"==typeof e?""+e:e}function hasProp(e,t){return objectPrototype.hasOwnProperty.call(e,t)}var getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function(e){var t={};return ownKeys(e).forEach(function(n){t[n]=getDescriptor(e,n)}),t};function getFlag(e,t){return!!(e&t)}function setFlag(e,t,n){return n?e|=t:e&=~t,e}function _arrayLikeToArray(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 _defineProperties(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,_toPropertyKey(r.key),r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _createForOfIteratorHelperLoose(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=_unsupportedIterableToArray(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 _extends(){return _extends=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},_extends.apply(null,arguments)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(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)?_arrayLikeToArray(e,t):void 0}}var storedAnnotationsSymbol=Symbol("mobx-stored-annotations");function createDecoratorAnnotation(e){return Object.assign(function(t,n){if(is20223Decorator(n))return e.decorate_20223_(t,n);storeAnnotation(t,n,e)},e)}function storeAnnotation(e,t,n){hasProp(e,storedAnnotationsSymbol)||addHiddenProp(e,storedAnnotationsSymbol,_extends({},e[storedAnnotationsSymbol])),isOverride(n)||(e[storedAnnotationsSymbol][t]=n)}function collectStoredAnnotations(e){return hasProp(e,storedAnnotationsSymbol)||addHiddenProp(e,storedAnnotationsSymbol,_extends({},e[storedAnnotationsSymbol])),e[storedAnnotationsSymbol]}function is20223Decorator(e){return"object"==typeof e&&"string"==typeof e.kind}var $mobx=Symbol("mobx administration"),Atom=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_=IDerivationState_.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 reportObserved(this)},t.reportChanged=function(){startBatch(),propagateChanged(this),endBatch()},t.toString=function(){return this.name_},_createClass(e,[{key:"isBeingObserved",get:function(){return getFlag(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return getFlag(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return getFlag(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=setFlag(this.flags_,e.diffValueMask_,1===t)}}])}();Atom.isBeingObservedMask_=1,Atom.isPendingUnobservationMask_=2,Atom.diffValueMask_=4;var isAtom=createInstanceofPredicate("Atom",Atom);function createAtom(e,t,n){void 0===t&&(t=noop),void 0===n&&(n=noop);var r=new Atom(e);return t!==noop&&onBecomeObserved(r,t),n!==noop&&onBecomeUnobserved(r,n),r}function structuralComparer(e,t){return deepEqual(e,t)}function defaultComparer(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}var comparer={structural:structuralComparer,default:defaultComparer};function deepEnhancer(e,t,n){return isObservable(e)?e:Array.isArray(e)?observable.array(e,{name:n}):isPlainObject(e)?observable.object(e,void 0,{name:n}):isES6Map(e)?observable.map(e,{name:n}):isES6Set(e)?observable.set(e,{name:n}):"function"!=typeof e||isAction(e)||isFlow(e)?e:isGenerator(e)?flow(e):autoAction(n,e)}function shallowEnhancer(e,t,n){return null==e||isObservableObject(e)||isObservableArray(e)||isObservableMap(e)||isObservableSet(e)?e:Array.isArray(e)?observable.array(e,{name:n,deep:!1}):isPlainObject(e)?observable.object(e,void 0,{name:n,deep:!1}):isES6Map(e)?observable.map(e,{name:n,deep:!1}):isES6Set(e)?observable.set(e,{name:n,deep:!1}):void 0}function referenceEnhancer(e){return e}function refStructEnhancer(e,t){return deepEqual(e,t)?t:e}var OVERRIDE="override";function isOverride(e){return e.annotationType_===OVERRIDE}function createActionAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$1,extend_:extend_$1,decorate_20223_:decorate_20223_$1}}function make_$1(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(isAction(n.value))return 1;var o=createActionDescriptor(e,this,t,n,!1);return defineProperty(r,t,o),2}function extend_$1(e,t,n,r){var i=createActionDescriptor(e,this,t,n);return e.defineProperty_(t,i,r)}function decorate_20223_$1(e,t){var n,r=t.kind,i=t.name,o=t.addInitializer,a=this,s=function(e){var t,n,r,o;return createAction(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 isAction(n)||(n=s(n)),null!=(t=a.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(isAction(e)||(e=s(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 die("Cannot apply '"+a.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}function assertActionDescriptor(e,t,n,r){t.annotationType_,r.value}function createActionDescriptor(e,t,n,r,i){var o,a,s,l,c,u,d;void 0===i&&(i=globalState.safeDescriptors),assertActionDescriptor(e,t,n,r);var p,f=r.value;return null!=(o=t.options_)&&o.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_)),{value:createAction(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),f,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function createFlowAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$2,extend_:extend_$2,decorate_20223_:decorate_20223_$2}}function make_$2(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&&(!hasProp(e.target_,t)||!isFlow(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(isFlow(n.value))return 1;var o=createFlowDescriptor(e,this,t,n,!1,!1);return defineProperty(r,t,o),2}function extend_$2(e,t,n,r){var i,o=createFlowDescriptor(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function decorate_20223_$2(e,t){var n,r=t.name,i=t.addInitializer;return isFlow(e)||(e=flow(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 assertFlowDescriptor(e,t,n,r){t.annotationType_,r.value}function createFlowDescriptor(e,t,n,r,i,o){void 0===o&&(o=globalState.safeDescriptors),assertFlowDescriptor(e,t,n,r);var a,s=r.value;return isFlow(s)||(s=flow(s)),i&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0),{value:s,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function createComputedAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$3,extend_:extend_$3,decorate_20223_:decorate_20223_$3}}function make_$3(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function extend_$3(e,t,n,r){return assertComputedDescriptor(e,this,t,n),e.defineComputedProperty_(t,_extends({},this.options_,{get:n.get,set:n.set}),r)}function decorate_20223_$3(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=asObservableObject(this)[$mobx],i=_extends({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new ComputedValue(i))}),function(){return this[$mobx].getObservablePropValue_(r)}}function assertComputedDescriptor(e,t,n,r){t.annotationType_,r.get}function createObservableAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$4,extend_:extend_$4,decorate_20223_:decorate_20223_$4}}function make_$4(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function extend_$4(e,t,n,r){var i,o;return assertObservableDescriptor(e,this),e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:deepEnhancer,r)}function decorate_20223_$4(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=asObservableObject(e)[$mobx],l=new ObservableValue(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:deepEnhancer,"ObservableObject."+i.toString(),!1);s.values_.set(i,l),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[$mobx].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[$mobx].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}function assertObservableDescriptor(e,t,n,r){t.annotationType_}var AUTO="true",autoAnnotation=createAutoAnnotation();function createAutoAnnotation(e){return{annotationType_:AUTO,options_:e,make_:make_$5,extend_:extend_$5,decorate_20223_:decorate_20223_$5}}function make_$5(e,t,n,r){var i,o,a,s;if(n.get)return computed.make_(e,t,n,r);if(n.set){var l=isAction(n.set)?n.set:createAction(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!globalState.safeDescriptors||e.isPlainObject_,set:l})?0:2:(defineProperty(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return isGenerator(n.value)?(null!=(s=this.options_)&&s.autoBind?flow.bound:flow).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?autoAction.bound:autoAction).make_(e,t,n,r);var c,u=!1===(null==(i=this.options_)?void 0:i.deep)?observable.ref:observable;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_)),u.make_(e,t,n,r)}function extend_$5(e,t,n,r){var i,o,a;return n.get?computed.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!globalState.safeDescriptors||e.isPlainObject_,set:createAction(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)?observable.ref:observable).extend_(e,t,n,r))}function decorate_20223_$5(e,t){die("'"+this.annotationType_+"' cannot be used as a decorator")}var OBSERVABLE="observable",OBSERVABLE_REF="observable.ref",OBSERVABLE_SHALLOW="observable.shallow",OBSERVABLE_STRUCT="observable.struct",defaultCreateObservableOptions={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function asCreateObservableOptions(e){return e||defaultCreateObservableOptions}Object.freeze(defaultCreateObservableOptions);var observableAnnotation=createObservableAnnotation(OBSERVABLE),observableRefAnnotation=createObservableAnnotation(OBSERVABLE_REF,{enhancer:referenceEnhancer}),observableShallowAnnotation=createObservableAnnotation(OBSERVABLE_SHALLOW,{enhancer:shallowEnhancer}),observableStructAnnotation=createObservableAnnotation(OBSERVABLE_STRUCT,{enhancer:refStructEnhancer}),observableDecoratorAnnotation=createDecoratorAnnotation(observableAnnotation);function getEnhancerFromOptions(e){return!0===e.deep?deepEnhancer:!1===e.deep?referenceEnhancer:getEnhancerFromAnnotation(e.defaultDecorator)}function getAnnotationFromOptions(e){var t;return e?null!=(t=e.defaultDecorator)?t:createAutoAnnotation(e):void 0}function getEnhancerFromAnnotation(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:deepEnhancer}function createObservable(e,t,n){return is20223Decorator(t)?observableAnnotation.decorate_20223_(e,t):isStringish(t)?void storeAnnotation(e,t,observableAnnotation):isObservable(e)?e:isPlainObject(e)?observable.object(e,t,n):Array.isArray(e)?observable.array(e,t):isES6Map(e)?observable.map(e,t):isES6Set(e)?observable.set(e,t):"object"==typeof e&&null!==e?e:observable.box(e,t)}assign(createObservable,observableDecoratorAnnotation);var observableFactories={box:function(e,t){var n=asCreateObservableOptions(t);return new ObservableValue(e,getEnhancerFromOptions(n),n.name,!0,n.equals)},array:function(e,t){var n=asCreateObservableOptions(t);return(!1===globalState.useProxies||!1===n.proxy?createLegacyArray:createObservableArray)(e,getEnhancerFromOptions(n),n.name)},map:function(e,t){var n=asCreateObservableOptions(t);return new ObservableMap(e,getEnhancerFromOptions(n),n.name)},set:function(e,t){var n=asCreateObservableOptions(t);return new ObservableSet(e,getEnhancerFromOptions(n),n.name)},object:function(e,t,n){return initObservable(function(){return extendObservable(!1===globalState.useProxies||!1===(null==n?void 0:n.proxy)?asObservableObject({},n):asDynamicObservableObject({},n),e,t)})},ref:createDecoratorAnnotation(observableRefAnnotation),shallow:createDecoratorAnnotation(observableShallowAnnotation),deep:observableDecoratorAnnotation,struct:createDecoratorAnnotation(observableStructAnnotation)},observable=assign(createObservable,observableFactories),COMPUTED="computed",COMPUTED_STRUCT="computed.struct",computedAnnotation=createComputedAnnotation(COMPUTED),computedStructAnnotation=createComputedAnnotation(COMPUTED_STRUCT,{equals:comparer.structural}),computed=function(e,t){if(is20223Decorator(t))return computedAnnotation.decorate_20223_(e,t);if(isStringish(t))return storeAnnotation(e,t,computedAnnotation);if(isPlainObject(e))return createDecoratorAnnotation(createComputedAnnotation(COMPUTED,e));var n=isPlainObject(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new ComputedValue(n)},_getDescriptor$config,_getDescriptor;Object.assign(computed,computedAnnotation),computed.struct=createDecoratorAnnotation(computedStructAnnotation);var currentActionId=0,nextActionId=1,isFunctionNameConfigurable$1=null!=(_getDescriptor$config=null==(_getDescriptor=getDescriptor(function(){},"name"))?void 0:_getDescriptor.configurable)&&_getDescriptor$config,tmpNameDescriptor={value:"action",configurable:!0,writable:!1,enumerable:!1};function createAction(e,t,n,r){function i(){return executeAction(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},isFunctionNameConfigurable$1&&(tmpNameDescriptor.value=e,defineProperty(i,"name",tmpNameDescriptor)),i}function executeAction(e,t,n,r,i){var o=_startAction(e,t);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{_endAction(o)}}function _startAction(e,t,n,r){var i=globalState.trackingDerivation,o=!t||!i;startBatch();var a=globalState.allowStateChanges;o&&(untrackedStart(),a=allowStateChangesStart(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:allowStateReadsStart(!0),notifySpy_:!1,startTime_:0,actionId_:nextActionId++,parentActionId_:currentActionId};return currentActionId=s.actionId_,s}function _endAction(e){currentActionId!==e.actionId_&&die(30),currentActionId=e.parentActionId_,void 0!==e.error_&&(globalState.suppressReactionErrors=!0),allowStateChangesEnd(e.prevAllowStateChanges_),allowStateReadsEnd(e.prevAllowStateReads_),endBatch(),e.runAsAction_&&untrackedEnd(e.prevDerivation_),globalState.suppressReactionErrors=!1}function allowStateChanges(e,t){var n=allowStateChangesStart(e);try{return t()}finally{allowStateChangesEnd(n)}}function allowStateChangesStart(e){var t=globalState.allowStateChanges;return globalState.allowStateChanges=e,t}function allowStateChangesEnd(e){globalState.allowStateChanges=e}var ObservableValue=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=comparer.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}_inheritsLoose(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))!==globalState.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(hasInterceptors(this)){var t=interceptChange(this,{object:this,type:UPDATE,newValue:e});if(!t)return globalState.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?globalState.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),hasListeners(this)&&notifyListeners(this,{type:UPDATE,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return registerInterceptor(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:UPDATE,newValue:this.value_,oldValue:void 0}),registerListener(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 toPrimitive(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Atom),ComputedValue=function(){function e(e){this.dependenciesState_=IDerivationState_.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=IDerivationState_.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new CaughtException(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=TraceMode.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||die(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=createAction("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?comparer.structural:comparer.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){propagateMaybeChanged(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&&die(32,this.name_,this.derivation),0!==globalState.inBatch||0!==this.observers_.size||this.keepAlive_){if(reportObserved(this),shouldCompute(this)){var e=globalState.trackingContext;this.keepAlive_&&!e&&(globalState.trackingContext=this),this.trackAndCompute()&&propagateChangeConfirmed(this),globalState.trackingContext=e}}else shouldCompute(this)&&(this.warnAboutUntrackedRead_(),startBatch(),this.value_=this.computeValue_(!1),endBatch());var t=this.value_;if(isCaughtException(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&die(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else die(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===IDerivationState_.NOT_TRACKING_,n=this.computeValue_(!0),r=t||isCaughtException(e)||isCaughtException(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=allowStateChangesStart(!1);if(e)t=trackDerivedFunction(this,this.derivation,this.scope_);else if(!0===globalState.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new CaughtException(e)}return allowStateChangesEnd(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(clearObserving(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return autorun(function(){var o=n.get();if(!r||t){var a=untrackedStart();e({observableKind:"computed",debugObjectName:n.name_,type:UPDATE,object:n,newValue:o,oldValue:i}),untrackedEnd(a)}r=!1,i=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return toPrimitive(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},_createClass(e,[{key:"isComputing",get:function(){return getFlag(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return getFlag(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return getFlag(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return getFlag(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return getFlag(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=setFlag(this.flags_,e.diffValueMask_,1===t)}}])}();ComputedValue.isComputingMask_=1,ComputedValue.isRunningSetterMask_=2,ComputedValue.isBeingObservedMask_=4,ComputedValue.isPendingUnobservationMask_=8,ComputedValue.diffValueMask_=16;var isComputedValue=createInstanceofPredicate("ComputedValue",ComputedValue),IDerivationState_,IDerivationState_2,TraceMode,TraceMode2;IDerivationState_2=IDerivationState_||(IDerivationState_={}),IDerivationState_2[IDerivationState_2.NOT_TRACKING_=-1]="NOT_TRACKING_",IDerivationState_2[IDerivationState_2.UP_TO_DATE_=0]="UP_TO_DATE_",IDerivationState_2[IDerivationState_2.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",IDerivationState_2[IDerivationState_2.STALE_=2]="STALE_",TraceMode2=TraceMode||(TraceMode={}),TraceMode2[TraceMode2.NONE=0]="NONE",TraceMode2[TraceMode2.LOG=1]="LOG",TraceMode2[TraceMode2.BREAK=2]="BREAK";var CaughtException=function(e){this.cause=void 0,this.cause=e};function isCaughtException(e){return e instanceof CaughtException}function shouldCompute(e){switch(e.dependenciesState_){case IDerivationState_.UP_TO_DATE_:return!1;case IDerivationState_.NOT_TRACKING_:case IDerivationState_.STALE_:return!0;case IDerivationState_.POSSIBLY_STALE_:for(var t=allowStateReadsStart(!0),n=untrackedStart(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(isComputedValue(a)){if(globalState.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return untrackedEnd(n),allowStateReadsEnd(t),!0}if(e.dependenciesState_===IDerivationState_.STALE_)return untrackedEnd(n),allowStateReadsEnd(t),!0}}return changeDependenciesStateTo0(e),untrackedEnd(n),allowStateReadsEnd(t),!1}}function checkIfStateModificationsAreAllowed(e){}function trackDerivedFunction(e,t,n){var r=allowStateReadsStart(!0);changeDependenciesStateTo0(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++globalState.runId;var i,o=globalState.trackingDerivation;if(globalState.trackingDerivation=e,globalState.inBatch++,!0===globalState.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(e){i=new CaughtException(e)}return globalState.inBatch--,globalState.trackingDerivation=o,bindDependencies(e),allowStateReadsEnd(r),i}function bindDependencies(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=IDerivationState_.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var l=t[o];0===l.diffValue&&removeObserver(l,e),l.diffValue=0}for(;i--;){var c=n[i];1===c.diffValue&&(c.diffValue=0,addObserver(c,e))}r!==IDerivationState_.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function clearObserving(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)removeObserver(t[n],e);e.dependenciesState_=IDerivationState_.NOT_TRACKING_}function untracked(e){var t=untrackedStart();try{return e()}finally{untrackedEnd(t)}}function untrackedStart(){var e=globalState.trackingDerivation;return globalState.trackingDerivation=null,e}function untrackedEnd(e){globalState.trackingDerivation=e}function allowStateReadsStart(e){var t=globalState.allowStateReads;return globalState.allowStateReads=e,t}function allowStateReadsEnd(e){globalState.allowStateReads=e}function changeDependenciesStateTo0(e){if(e.dependenciesState_!==IDerivationState_.UP_TO_DATE_){e.dependenciesState_=IDerivationState_.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=IDerivationState_.UP_TO_DATE_}}var MobXGlobals=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},canMergeGlobalState=!0,isolateCalled=!1,globalState=(e=getGlobal$1(),e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(canMergeGlobalState=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new MobXGlobals).version&&(canMergeGlobalState=!1),canMergeGlobalState?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new MobXGlobals):(setTimeout(function(){isolateCalled||die(35)},1),new MobXGlobals)),e;function isolateGlobalState(){if((globalState.pendingReactions.length||globalState.inBatch||globalState.isRunningReactions)&&die(36),isolateCalled=!0,canMergeGlobalState){var e=getGlobal$1();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),globalState=new MobXGlobals}}function addObserver(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function removeObserver(e,t){e.observers_.delete(t),0===e.observers_.size&&queueForUnobservation(e)}function queueForUnobservation(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,globalState.pendingUnobservations.push(e))}function startBatch(){globalState.inBatch++}function endBatch(){if(0===--globalState.inBatch){runReactions();for(var e=globalState.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 ComputedValue&&n.suspend_())}globalState.pendingUnobservations=[]}}function reportObserved(e){var t=globalState.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&globalState.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&globalState.inBatch>0&&queueForUnobservation(e),!1)}function propagateChanged(e){e.lowestObserverState_!==IDerivationState_.STALE_&&(e.lowestObserverState_=IDerivationState_.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===IDerivationState_.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=IDerivationState_.STALE_}))}function propagateChangeConfirmed(e){e.lowestObserverState_!==IDerivationState_.STALE_&&(e.lowestObserverState_=IDerivationState_.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===IDerivationState_.POSSIBLY_STALE_?t.dependenciesState_=IDerivationState_.STALE_:t.dependenciesState_===IDerivationState_.UP_TO_DATE_&&(e.lowestObserverState_=IDerivationState_.UP_TO_DATE_)}))}function propagateMaybeChanged(e){e.lowestObserverState_===IDerivationState_.UP_TO_DATE_&&(e.lowestObserverState_=IDerivationState_.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===IDerivationState_.UP_TO_DATE_&&(e.dependenciesState_=IDerivationState_.POSSIBLY_STALE_,e.onBecomeStale_())}))}var Reaction=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_=IDerivationState_.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=TraceMode.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,globalState.pendingReactions.push(this),runReactions())},t.runReaction_=function(){if(!this.isDisposed){startBatch(),this.isScheduled=!1;var e=globalState.trackingContext;if(globalState.trackingContext=this,shouldCompute(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}globalState.trackingContext=e,endBatch()}},t.track=function(e){if(!this.isDisposed){startBatch(),this.isRunning=!0;var t=globalState.trackingContext;globalState.trackingContext=this;var n=trackDerivedFunction(this,e,void 0);globalState.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&clearObserving(this),isCaughtException(n)&&this.reportExceptionInDerivation_(n.cause),endBatch()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(globalState.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";globalState.suppressReactionErrors||console.error(n,e),globalState.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(startBatch(),clearObserving(this),endBatch()))},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[$mobx]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){},_createClass(e,[{key:"isDisposed",get:function(){return getFlag(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return getFlag(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return getFlag(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return getFlag(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return getFlag(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=setFlag(this.flags_,e.diffValueMask_,1===t)}}])}();Reaction.isDisposedMask_=1,Reaction.isScheduledMask_=2,Reaction.isTrackPendingMask_=4,Reaction.isRunningMask_=8,Reaction.diffValueMask_=16;var MAX_REACTION_ITERATIONS=100,reactionScheduler=function(e){return e()};function runReactions(){globalState.inBatch>0||globalState.isRunningReactions||reactionScheduler(runReactionsHelper)}function runReactionsHelper(){globalState.isRunningReactions=!0;for(var e=globalState.pendingReactions,t=0;e.length>0;){++t===MAX_REACTION_ITERATIONS&&(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_()}globalState.isRunningReactions=!1}var isReaction=createInstanceofPredicate("Reaction",Reaction);function setReactionScheduler(e){var t=reactionScheduler;reactionScheduler=function(n){return e(function(){return t(n)})}}function isSpyEnabled(){return!1}function spyReport(e){}function spyReportStart(e){}function spyReportEnd(e){}function spy(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var ACTION="action",ACTION_BOUND="action.bound",AUTOACTION="autoAction",AUTOACTION_BOUND="autoAction.bound",DEFAULT_ACTION_NAME="<unnamed action>",actionAnnotation=createActionAnnotation(ACTION),actionBoundAnnotation=createActionAnnotation(ACTION_BOUND,{bound:!0}),autoActionAnnotation=createActionAnnotation(AUTOACTION,{autoAction:!0}),autoActionBoundAnnotation=createActionAnnotation(AUTOACTION_BOUND,{autoAction:!0,bound:!0});function createActionFactory(e){return function(t,n){return isFunction$1(t)?createAction(t.name||DEFAULT_ACTION_NAME,t,e):isFunction$1(n)?createAction(t,n,e):is20223Decorator(n)?(e?autoActionAnnotation:actionAnnotation).decorate_20223_(t,n):isStringish(n)?storeAnnotation(t,n,e?autoActionAnnotation:actionAnnotation):isStringish(t)?createDecoratorAnnotation(createActionAnnotation(e?AUTOACTION:ACTION,{name:t,autoAction:e})):void 0}}var action=createActionFactory(!1);Object.assign(action,actionAnnotation);var autoAction=createActionFactory(!0);function runInAction(e){return executeAction(e.name||DEFAULT_ACTION_NAME,!1,e,this,void 0)}function isAction(e){return isFunction$1(e)&&!0===e.isMobxAction}function autorun(e,t){var n,r,i,o;void 0===t&&(t=EMPTY_OBJECT);var a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var l=createSchedulerFromOptions(t),c=!1;a=new Reaction(s,function(){c||(c=!0,l(function(){c=!1,a.isDisposed||a.track(u)}))},t.onError,t.requiresObservable)}else a=new Reaction(s,function(){this.track(u)},t.onError,t.requiresObservable);function u(){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(autoAction,autoActionAnnotation),action.bound=createDecoratorAnnotation(actionBoundAnnotation),autoAction.bound=createDecoratorAnnotation(autoActionBoundAnnotation);var run=function(e){return e()};function createSchedulerFromOptions(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:run}function reaction(e,t,n){var r,i,o;void 0===n&&(n=EMPTY_OBJECT);var a,s=null!=(r=n.name)?r:"Reaction",l=action(s,n.onError?wrapErrorHandler(n.onError,t):t),c=!n.scheduler&&!n.delay,u=createSchedulerFromOptions(n),d=!0,p=!1,f=n.compareStructural?comparer.structural:n.equals||comparer.default,h=new Reaction(s,function(){d||c?m():p||(p=!0,u(m))},n.onError,n.requiresObservable);function m(){if(p=!1,!h.isDisposed){var t=!1,r=a;h.track(function(){var n=allowStateChanges(!1,function(){return e(h)});t=d||!f(a,n),a=n}),(d&&n.fireImmediately||!d&&t)&&l(a,r,h),d=!1}}return null!=(i=n)&&null!=(i=i.signal)&&i.aborted||h.schedule_(),h.getDisposer_(null==(o=n)?void 0:o.signal)}function wrapErrorHandler(e,t){return function(){try{return t.apply(this,arguments)}catch(t){e.call(this,t)}}}var ON_BECOME_OBSERVED="onBO",ON_BECOME_UNOBSERVED="onBUO";function onBecomeObserved(e,t,n){return interceptHook(ON_BECOME_OBSERVED,e,t,n)}function onBecomeUnobserved(e,t,n){return interceptHook(ON_BECOME_UNOBSERVED,e,t,n)}function interceptHook(e,t,n,r){var i="function"==typeof r?getAtom(t,n):getAtom(t),o=isFunction$1(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 NEVER="never",ALWAYS="always",OBSERVED="observed";function configure(e){!0===e.isolateGlobalState&&isolateGlobalState();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(globalState.useProxies=t===ALWAYS||t!==NEVER&&"undefined"!=typeof Proxy),"ifavailable"===t&&(globalState.verifyProxies=!0),void 0!==n){var r=n===ALWAYS?ALWAYS:n===OBSERVED;globalState.enforceActions=r,globalState.allowStateChanges=!0!==r&&r!==ALWAYS}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(globalState[t]=!!e[t])}),globalState.allowStateReads=!globalState.observableRequiresReaction,e.reactionScheduler&&setReactionScheduler(e.reactionScheduler)}function extendObservable(e,t,n,r){var i=getOwnPropertyDescriptors(t);return initObservable(function(){var t=asObservableObject(e,r)[$mobx];ownKeys(i).forEach(function(e){t.extend_(e,i[e],!n||!(e in n)||n[e])})}),e}function getDependencyTree(e,t){return nodeToDependencyTree(getAtom(e,t))}function nodeToDependencyTree(e){var t={name:e.name_};return e.observing_&&e.observing_.length>0&&(t.dependencies=unique(e.observing_).map(nodeToDependencyTree)),t}function unique(e){return Array.from(new Set(e))}var generatorId=0;function FlowCancellationError(){this.message="FLOW_CANCELLED"}FlowCancellationError.prototype=Object.create(Error.prototype);var flowAnnotation=createFlowAnnotation("flow"),flowBoundAnnotation=createFlowAnnotation("flow.bound",{bound:!0}),flow=Object.assign(function(e,t){if(is20223Decorator(t))return flowAnnotation.decorate_20223_(e,t);if(isStringish(t))return storeAnnotation(e,t,flowAnnotation);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++generatorId,o=action(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,s=new Promise(function(t,n){var s=0;function l(e){var t;a=void 0;try{t=action(r+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return n(e)}u(t)}function c(e){var t;a=void 0;try{t=action(r+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return n(e)}u(t)}function u(e){if(!isFunction$1(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(u,n)}e=n,l(void 0)});return s.cancel=action(r+" - runid: "+i+" - cancel",function(){try{a&&cancelPromise(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(noop,noop),cancelPromise(n),e(new FlowCancellationError)}catch(t){e(t)}}),s};return i.isMobXFlow=!0,i},flowAnnotation);function cancelPromise(e){isFunction$1(e.cancel)&&e.cancel()}function isFlow(e){return!0===(null==e?void 0:e.isMobXFlow)}function _isObservable(e,t){return!!e&&(isObservableObject(e)||!!e[$mobx]||isAtom(e)||isReaction(e)||isComputedValue(e))}function isObservable(e){return _isObservable(e)}function transaction(e,t){void 0===t&&(t=void 0),startBatch();try{return e.apply(t)}finally{endBatch()}}function getAdm(e){return e[$mobx]}flow.bound=createDecoratorAnnotation(flowBoundAnnotation);var objectProxyTraps={has:function(e,t){return getAdm(e).has_(t)},get:function(e,t){return getAdm(e).get_(t)},set:function(e,t,n){var r;return!!isStringish(t)&&(null==(r=getAdm(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!isStringish(t)&&(null==(n=getAdm(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=getAdm(e).defineProperty_(t,n))||r},ownKeys:function(e){return getAdm(e).ownKeys_()},preventExtensions:function(e){die(13)}};function asDynamicObservableObject(e,t){var n,r;return assertProxies(),null!=(r=(n=(e=asObservableObject(e,t))[$mobx]).proxy_)?r:n.proxy_=new Proxy(e,objectProxyTraps)}function hasInterceptors(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function registerInterceptor(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),once(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function interceptChange(e,t){var n=untrackedStart();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i<o&&((t=r[i](t))&&!t.type&&die(14),t);i++);return t}finally{untrackedEnd(n)}}function hasListeners(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function registerListener(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),once(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function notifyListeners(e,t){var n=untrackedStart(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);untrackedEnd(n)}}function makeObservable(e,t,n){return initObservable(function(){var r=asObservableObject(e,n)[$mobx];null!=t||(t=collectStoredAnnotations(e)),ownKeys(t).forEach(function(e){return r.make_(e,t[e])})}),e}var SPLICE="splice",UPDATE="update",MAX_SPLICE_SIZE=1e4,arrayTraps={get:function(e,t){var n=e[$mobx];return t===$mobx?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?hasProp(arrayExtensions,t)?arrayExtensions[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[$mobx];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){die(15)}},ObservableArrayAdministration=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 Atom(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 registerInterceptor(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}),registerListener(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&die("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_&&die(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&reserveArrayBuffer(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;checkIfStateModificationsAreAllowed(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=EMPTY_ARRAY),hasInterceptors(this)){var o=interceptChange(this,{object:this.proxy_,type:SPLICE,index:e,removedCount:t,added:n});if(!o)return EMPTY_ARRAY;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 s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<MAX_SPLICE_SIZE)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 s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),i=hasListeners(this),o=i||r?{observableKind:"array",object:this.proxy_,type:UPDATE,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&notifyListeners(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),i=hasListeners(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:SPLICE,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&notifyListeners(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&&die(17,e,n.length),e<n.length){checkIfStateModificationsAreAllowed(this.atom_);var r=n[e];if(hasInterceptors(this)){var i=interceptChange(this,{type:UPDATE,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 createObservableArray(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),assertProxies(),initObservable(function(){var i=new ObservableArrayAdministration(n,t,r,!1);addHiddenFinalProp(i.values_,$mobx,i);var o=new Proxy(i.values_,arrayTraps);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})}var arrayExtensions={clear:function(){return this.splice(0)},replace:function(e){var t=this[$mobx];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[$mobx];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[$mobx].spliceWithArray_(e,t,n)},push:function(){for(var e=this[$mobx],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[$mobx].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[$mobx],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 globalState.trackingDerivation&&die(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){globalState.trackingDerivation&&die(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[$mobx],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function addArrayExtension(e,t){"function"==typeof Array.prototype[e]&&(arrayExtensions[e]=t(e))}function simpleFunc(e){return function(){var t=this[$mobx];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function mapLikeFunc(e){return function(t,n){var r=this,i=this[$mobx];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function reduceLikeFunc(e){return function(){var t=this,n=this[$mobx];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)}}addArrayExtension("at",simpleFunc),addArrayExtension("concat",simpleFunc),addArrayExtension("flat",simpleFunc),addArrayExtension("includes",simpleFunc),addArrayExtension("indexOf",simpleFunc),addArrayExtension("join",simpleFunc),addArrayExtension("lastIndexOf",simpleFunc),addArrayExtension("slice",simpleFunc),addArrayExtension("toString",simpleFunc),addArrayExtension("toLocaleString",simpleFunc),addArrayExtension("toSorted",simpleFunc),addArrayExtension("toSpliced",simpleFunc),addArrayExtension("with",simpleFunc),addArrayExtension("every",mapLikeFunc),addArrayExtension("filter",mapLikeFunc),addArrayExtension("find",mapLikeFunc),addArrayExtension("findIndex",mapLikeFunc),addArrayExtension("findLast",mapLikeFunc),addArrayExtension("findLastIndex",mapLikeFunc),addArrayExtension("flatMap",mapLikeFunc),addArrayExtension("forEach",mapLikeFunc),addArrayExtension("map",mapLikeFunc),addArrayExtension("some",mapLikeFunc),addArrayExtension("toReversed",mapLikeFunc),addArrayExtension("reduce",reduceLikeFunc),addArrayExtension("reduceRight",reduceLikeFunc);var isObservableArrayAdministration=createInstanceofPredicate("ObservableArrayAdministration",ObservableArrayAdministration);function isObservableArray(e){return isObject$2(e)&&isObservableArrayAdministration(e[$mobx])}var ObservableMapMarker={},ADD="add",DELETE="delete",ObservableMap=function(){function e(e,t,n){var r=this;void 0===t&&(t=deepEnhancer),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[$mobx]=ObservableMapMarker,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,isFunction$1(Map)||die(18),initObservable(function(){r.keysAtom_=createAtom("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(!globalState.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new ObservableValue(this.has_(e),referenceEnhancer,"ObservableMap.key?",!1);this.hasMap_.set(e,r),onBecomeUnobserved(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(hasInterceptors(this)){var r=interceptChange(this,{type:n?UPDATE:ADD,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(checkIfStateModificationsAreAllowed(this.keysAtom_),hasInterceptors(this)&&!interceptChange(this,{type:DELETE,object:this,name:e}))return!1;if(this.has_(e)){var n=isSpyEnabled(),r=hasListeners(this),i=r||n?{observableKind:"map",debugObjectName:this.name_,type:DELETE,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return transaction(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)}),r&&notifyListeners(this,i),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==globalState.UNCHANGED){var r=isSpyEnabled(),i=hasListeners(this),o=i||r?{observableKind:"map",debugObjectName:this.name_,type:UPDATE,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&notifyListeners(this,o)}},t.addValue_=function(e,t){var n=this;checkIfStateModificationsAreAllowed(this.keysAtom_),transaction(function(){var r,i=new ObservableValue(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=isSpyEnabled(),i=hasListeners(this),o=i||r?{observableKind:"map",debugObjectName:this.name_,type:ADD,object:this,name:e,newValue:t}:null;i&&notifyListeners(this,o)},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 makeIterableForMap({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 makeIterableForMap({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=_createForOfIteratorHelperLoose(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 isObservableMap(e)&&(e=new Map(e)),transaction(function(){isPlainObject(e)?getPlainObjectKeys(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)}):isES6Map(e)?(isPlainES6Map(e)||die(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&die(20,e)}),this},t.clear=function(){var e=this;transaction(function(){untracked(function(){for(var t,n=_createForOfIteratorHelperLoose(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return transaction(function(){for(var n,r=convertToMap(e),i=new Map,o=!1,a=_createForOfIteratorHelperLoose(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))o=!0;else{var l=t.data_.get(s);i.set(s,l)}}for(var c,u=_createForOfIteratorHelperLoose(r.entries());!(c=u()).done;){var d=c.value,p=d[0],f=d[1],h=t.data_.has(p);if(t.set(p,f),t.data_.has(p)){var m=t.data_.get(p);i.set(p,m),h||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),v=g.next(),y=b.next();!v.done;){if(v.value!==y.value){t.keysAtom_.reportChanged();break}v=g.next(),y=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 registerListener(this,e)},t.intercept_=function(e){return registerInterceptor(this,e)},_createClass(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),isObservableMap=createInstanceofPredicate("ObservableMap",ObservableMap);function makeIterableForMap(e){return e[Symbol.toStringTag]="MapIterator",makeIterable(e)}function convertToMap(e){if(isES6Map(e)||isObservableMap(e))return e;if(Array.isArray(e))return new Map(e);if(isPlainObject(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return die(21,e)}var ObservableSetMarker={},ObservableSet=function(){function e(e,t,n){var r=this;void 0===t&&(t=deepEnhancer),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[$mobx]=ObservableSetMarker,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,isFunction$1(Set)||die(22),this.enhancer_=function(e,r){return t(e,r,n)},initObservable(function(){r.atom_=createAtom(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;transaction(function(){untracked(function(){for(var t,n=_createForOfIteratorHelperLoose(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=_createForOfIteratorHelperLoose(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(checkIfStateModificationsAreAllowed(this.atom_),hasInterceptors(this)){var n=interceptChange(this,{type:ADD,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){transaction(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=hasListeners(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:ADD,object:this,newValue:e}:null;r&&notifyListeners(this,i)}return this},t.delete=function(e){var t=this;if(hasInterceptors(this)&&!interceptChange(this,{type:DELETE,object:this,oldValue:e}))return!1;if(this.has(e)){var n=hasListeners(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:DELETE,object:this,oldValue:e}:null;return transaction(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&notifyListeners(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 makeIterableForSet({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 makeIterableForSet({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 isES6Set(e)&&!isObservableSet(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return isES6Set(e)&&!isObservableSet(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return isES6Set(e)&&!isObservableSet(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 isES6Set(e)&&!isObservableSet(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return isObservableSet(e)&&(e=new Set(e)),transaction(function(){Array.isArray(e)||isES6Set(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&die("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return registerListener(this,e)},t.intercept_=function(e){return registerInterceptor(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},_createClass(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),isObservableSet=createInstanceofPredicate("ObservableSet",ObservableSet);function makeIterableForSet(e){return e[Symbol.toStringTag]="SetIterator",makeIterable(e)}var descriptorCache=Object.create(null),REMOVE="remove",ObservableObjectAdministration=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=autoAnnotation),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 Atom("ObservableObject.keys"),this.isPlainObject_=isPlainObject(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 ComputedValue)return n.set(t),!0;if(hasInterceptors(this)){var r=interceptChange(this,{type:UPDATE,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==globalState.UNCHANGED){var i=hasListeners(this),o=i?{type:UPDATE,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&notifyListeners(this,o)}return!0},t.get_=function(e){return globalState.trackingDerivation&&!hasProp(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),hasProp(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(!globalState.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new ObservableValue(e in this.target_,referenceEnhancer,"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_[storedAnnotationsSymbol])&&n[e])return;die(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==objectPrototype;){var i=getDescriptor(r,e);if(i){var o=t.make_(this,e,i,r);if(0===o)return;if(1===o)break}r=Object.getPrototypeOf(r)}recordAnnotationApplied(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&&recordAnnotationApplied(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),checkIfStateModificationsAreAllowed(this.keysAtom_);try{startBatch();var r=this.delete_(e);if(!r)return r;if(hasInterceptors(this)){var i=interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=_extends({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else defineProperty(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{endBatch()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),checkIfStateModificationsAreAllowed(this.keysAtom_);try{startBatch();var i=this.delete_(e);if(!i)return i;if(hasInterceptors(this)){var o=interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:t});if(!o)return null;t=o.newValue}var a=getCachedObservablePropDescriptor(e),s={configurable:!globalState.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else defineProperty(this.target_,e,s);var l=new ObservableValue(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{endBatch()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),checkIfStateModificationsAreAllowed(this.keysAtom_);try{startBatch();var r=this.delete_(e);if(!r)return r;if(hasInterceptors(this)&&!interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=getCachedObservablePropDescriptor(e),o={configurable:!globalState.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else defineProperty(this.target_,e,o);this.values_.set(e,new ComputedValue(t)),this.notifyPropertyAddition_(e,void 0)}finally{endBatch()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),checkIfStateModificationsAreAllowed(this.keysAtom_),!hasProp(this.target_,e))return!0;if(hasInterceptors(this)&&!interceptChange(this,{object:this.proxy_||this.target_,name:e,type:REMOVE}))return null;try{var n;startBatch();var r,i=hasListeners(this),o=this.values_.get(e),a=void 0;if(!o&&i&&(a=null==(r=getDescriptor(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 ObservableValue&&(a=o.value_),propagateChanged(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i){var s={type:REMOVE,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&notifyListeners(this,s)}}finally{endBatch()}return!0},t.observe_=function(e,t){return registerListener(this,e)},t.intercept_=function(e){return registerInterceptor(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=hasListeners(this);if(r){var i=r?{type:ADD,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&notifyListeners(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),ownKeys(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function asObservableObject(e,t){var n;if(hasProp(e,$mobx))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new ObservableObjectAdministration(e,new Map,String(r),getAnnotationFromOptions(t));return addHiddenProp(e,$mobx,i),e}var isObservableObjectAdministration=createInstanceofPredicate("ObservableObjectAdministration",ObservableObjectAdministration);function getCachedObservablePropDescriptor(e){return descriptorCache[e]||(descriptorCache[e]={get:function(){return this[$mobx].getObservablePropValue_(e)},set:function(t){return this[$mobx].setObservablePropValue_(e,t)}})}function isObservableObject(e){return!!isObject$2(e)&&isObservableObjectAdministration(e[$mobx])}function recordAnnotationApplied(e,t,n){var r;null==(r=e.target_[storedAnnotationsSymbol])||delete r[n]}var ENTRY_0=createArrayEntryDescriptor(0),safariPrototypeSetterInheritanceBug=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),OBSERVABLE_ARRAY_BUFFER_SIZE=0,StubArray=function(){};function inherit(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}inherit(StubArray,Array.prototype);var LegacyObservableArray=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,initObservable(function(){var e=new ObservableArrayAdministration(r,n,i,!0);e.proxy_=o,addHiddenFinalProp(o,$mobx,e),t&&t.length&&o.spliceWithArray(0,0,t),safariPrototypeSetterInheritanceBug&&Object.defineProperty(o,"0",ENTRY_0)}),o}_inheritsLoose(t,e);var n=t.prototype;return n.concat=function(){this[$mobx].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 isObservableArray(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return makeIterable({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},_createClass(t,[{key:"length",get:function(){return this[$mobx].getArrayLength_()},set:function(e){this[$mobx].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(StubArray);function createArrayEntryDescriptor(e){return{enumerable:!1,configurable:!0,get:function(){return this[$mobx].get_(e)},set:function(t){this[$mobx].set_(e,t)}}}function createArrayBufferItem(e){defineProperty(LegacyObservableArray.prototype,""+e,createArrayEntryDescriptor(e))}function reserveArrayBuffer(e){if(e>OBSERVABLE_ARRAY_BUFFER_SIZE){for(var t=OBSERVABLE_ARRAY_BUFFER_SIZE;t<e+100;t++)createArrayBufferItem(t);OBSERVABLE_ARRAY_BUFFER_SIZE=e}}function createLegacyArray(e,t,n){return new LegacyObservableArray(e,t,n)}function getAtom(e,t){if("object"==typeof e&&null!==e){if(isObservableArray(e))return void 0!==t&&die(23),e[$mobx].atom_;if(isObservableSet(e))return e.atom_;if(isObservableMap(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||die(25,t,getDebugName(e)),n}if(isObservableObject(e)){if(!t)return die(26);var r=e[$mobx].values_.get(t);return r||die(27,t,getDebugName(e)),r}if(isAtom(e)||isComputedValue(e)||isReaction(e))return e}else if(isFunction$1(e)&&isReaction(e[$mobx]))return e[$mobx];die(28)}function getAdministration(e,t){return e||die(29),isAtom(e)||isComputedValue(e)||isReaction(e)||isObservableMap(e)||isObservableSet(e)?e:e[$mobx]?e[$mobx]:void die(24,e)}function getDebugName(e,t){var n;if(void 0!==t)n=getAtom(e,t);else{if(isAction(e))return e.name;n=isObservableObject(e)||isObservableMap(e)||isObservableSet(e)?getAdministration(e):getAtom(e)}return n.name_}function initObservable(e){var t=untrackedStart(),n=allowStateChangesStart(!0);startBatch();try{return e()}finally{endBatch(),allowStateChangesEnd(n),untrackedEnd(t)}}Object.entries(arrayExtensions).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&addHiddenProp(LegacyObservableArray.prototype,t,n)}),reserveArrayBuffer(1e3);var toString=objectPrototype.toString,_getGlobal$Iterator;function deepEqual(e,t,n){return void 0===n&&(n=-1),eq(e,t,n)}function eq(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=toString.call(e);if(a!==toString.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=unwrap(e),t=unwrap(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(isFunction$1(l)&&l instanceof l&&isFunction$1(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return i[u]===t;if(r.push(e),i.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!eq(e[u],t[u],n-1,r,i))return!1}else{var d=Object.keys(e),p=d.length;if(Object.keys(t).length!==p)return!1;for(var f=0;f<p;f++){var h=d[f];if(!hasProp(t,h)||!eq(e[h],t[h],n-1,r,i))return!1}}return r.pop(),i.pop(),!0}function unwrap(e){return isObservableArray(e)?e.slice():isES6Map(e)||isObservableMap(e)||isES6Set(e)||isObservableSet(e)?Array.from(e.entries()):e}var maybeIteratorPrototype=(null==(_getGlobal$Iterator=getGlobal$1().Iterator)?void 0:_getGlobal$Iterator.prototype)||{};function makeIterable(e){return e[Symbol.iterator]=getSelf,Object.assign(Object.create(maybeIteratorPrototype),e)}function getSelf(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===getGlobal$1()[e]&&die("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:spy,extras:{getDebugName:getDebugName},$mobx:$mobx});const TYPE={Null:"null",Undefined:"undefined",NaN:"nan",Object:"[object Object]",Array:"[object Array]",String:"[object String]",Number:"[object Number]",Boolean:"[object Boolean]",Function:"[object Function]",AsyncFunction:"[object AsyncFunction]",RegExp:"[object RegExp]",Symbol:"[object Symbol]",Infinite:"infinite",Element:"element"};function getType(e){if(void 0===e)return TYPE.Undefined;if(null===e)return TYPE.Null;if(e&&(1===e.nodeType||9===e.nodeType))return TYPE.Element;const t=Object.prototype.toString.call(e);if(t===TYPE.Number){if(Number.isNaN(e))return TYPE.NaN;if(!Number.isFinite(e))return TYPE.Infinite}return t}const createTypeGuard=(...e)=>t=>e.includes(getType(t)),isDefined=e=>null!=e,isNull=createTypeGuard(TYPE.Null),isUndefined=createTypeGuard(TYPE.Undefined),isObject$1=createTypeGuard(TYPE.Object),isArray=createTypeGuard(TYPE.Array),isString=createTypeGuard(TYPE.String),isNumber$1=createTypeGuard(TYPE.Number),isBoolean=createTypeGuard(TYPE.Boolean),isFunction=createTypeGuard(TYPE.Function,TYPE.AsyncFunction),isRegExp=createTypeGuard(TYPE.RegExp),isElement=createTypeGuard(TYPE.Element),isNaN$1=createTypeGuard(TYPE.NaN),isInfinite=createTypeGuard(TYPE.Infinite),isSymbol$1=createTypeGuard(TYPE.Symbol),_exports=Object.freeze(Object.defineProperty({__proto__:null,isArray:isArray,isBoolean:isBoolean,isDefined:isDefined,isElement:isElement,isFunction:isFunction,isInfinite:isInfinite,isNaN:isNaN$1,isNull:isNull,isNumber:isNumber$1,isObject:isObject$1,isRegExp:isRegExp,isString:isString,isSymbol:isSymbol$1,isUndefined:isUndefined},Symbol.toStringTag,{value:"Module"})),applyObservable$1=(e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),makeObservable(e)):makeObservable(e,Object.fromEntries(t))},createRef=e=>{let t;const n=e?.comparer??comparer.default,r=e=>{const i=e??null;n(r.current,i)||runInAction(()=>{const e=t;t=r.current??void 0,r.current=i;let n=!1;r.listeners.forEach(e=>{!1===e(r.current,t)&&(n=!0)}),n?(t=e,r.current=t??null):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??{},makeObservable(r,{current:observable.ref,meta:observable}),r},isShallowEqual=(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:entries,setPrototypeOf:setPrototypeOf,isFrozen:isFrozen,getPrototypeOf:getPrototypeOf,getOwnPropertyDescriptor:getOwnPropertyDescriptor}=Object;let{freeze:freeze,seal:seal,create:create}=Object,{apply:apply,construct:construct}="undefined"!=typeof Reflect&&Reflect;freeze||(freeze=function(e){return e}),seal||(seal=function(e){return e}),apply||(apply=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)}),construct||(construct=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 arrayForEach=unapply(Array.prototype.forEach),arrayLastIndexOf=unapply(Array.prototype.lastIndexOf),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),arraySplice=unapply(Array.prototype.splice),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(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 apply(e,t,r)}}function unconstruct(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return construct(e,n)}}function addToSet(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(isFrozen(t)||(t[r]=e),i=e)}e[i]=!0}return e}function cleanArray(e){for(let t=0;t<e.length;t++)objectHasOwnProperty(e,t)||(e[t]=null);return e}function clone(e){const t=create(null);for(const[n,r]of entries(e))objectHasOwnProperty(e,n)&&(Array.isArray(r)?t[n]=cleanArray(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=clone(r):t[n]=r);return t}function lookupGetter(e,t){for(;null!==e;){const n=getOwnPropertyDescriptor(e,t);if(n){if(n.get)return unapply(n.get);if("function"==typeof n.value)return unapply(n.value)}e=getPrototypeOf(e)}return function(){return null}}const html$1=freeze(["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"]),svg$1=freeze(["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"]),svgFilters=freeze(["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"]),svgDisallowed=freeze(["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"]),mathMl$1=freeze(["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"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["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"]),svg=freeze(["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"]),mathMl=freeze(["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"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\$\{[\w\W]*/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR:ARIA_ATTR,ATTR_WHITESPACE:ATTR_WHITESPACE,CUSTOM_ELEMENT:CUSTOM_ELEMENT,DATA_ATTR:DATA_ATTR,DOCTYPE_NAME:DOCTYPE_NAME,ERB_EXPR:ERB_EXPR,IS_ALLOWED_URI:IS_ALLOWED_URI,IS_SCRIPT_OR_DATA:IS_SCRIPT_OR_DATA,MUSTACHE_EXPR:MUSTACHE_EXPR,TMPLIT_EXPR:TMPLIT_EXPR});const NODE_TYPE={element:1,text:3,progressingInstruction:7,comment:8,document:9},getGlobal=function(){return"undefined"==typeof window?null:window},_createTrustedTypesPolicy=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}},_createHooksMap=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getGlobal();const t=e=>createDOMPurify(e);if(t.version="3.3.0",t.removed=[],!e||!e.document||e.document.nodeType!==NODE_TYPE.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:a,Node:s,Element:l,NodeFilter:c,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:p,trustedTypes:f}=e,h=l.prototype,m=lookupGetter(h,"cloneNode"),g=lookupGetter(h,"remove"),b=lookupGetter(h,"nextSibling"),v=lookupGetter(h,"childNodes"),y=lookupGetter(h,"parentNode");if("function"==typeof a){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let _,x="";const{implementation:w,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:A}=n,{importNode:k}=r;let C=_createHooksMap();t.isSupported="function"==typeof entries&&"function"==typeof y&&w&&void 0!==w.createHTMLDocument;const{MUSTACHE_EXPR:O,ERB_EXPR:T,TMPLIT_EXPR:R,DATA_ATTR:M,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:L}=EXPRESSIONS;let{IS_ALLOWED_URI:D}=EXPRESSIONS,V=null;const j=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let z=null;const F=addToSet({},[...html,...svg,...mathMl,...xml]);let B=Object.seal(create(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}})),$=null,U=null;const H=Object.seal(create(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let W=!0,G=!0,q=!1,K=!0,Y=!1,X=!0,Q=!1,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!0,ie=!1,oe=!0,ae=!1,se={},le=null;const ce=addToSet({},["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 ue=null;const de=addToSet({},["audio","video","img","source","image","track"]);let pe=null;const fe=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let be=ge,ve=!1,ye=null;const _e=addToSet({},[he,me,ge],stringToString);let xe=addToSet({},["mi","mo","mn","ms","mtext"]),we=addToSet({},["annotation-xml"]);const Se=addToSet({},["title","style","font","a","script"]);let Ee=null;const Ae=["application/xhtml+xml","text/html"];let ke=null,Ce=null;const Oe=n.createElement("form"),Te=function(e){return e instanceof RegExp||e instanceof Function},Re=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ce||Ce!==e){if(e&&"object"==typeof e||(e={}),e=clone(e),Ee=-1===Ae.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ke="application/xhtml+xml"===Ee?stringToString:stringToLowerCase,V=objectHasOwnProperty(e,"ALLOWED_TAGS")?addToSet({},e.ALLOWED_TAGS,ke):j,z=objectHasOwnProperty(e,"ALLOWED_ATTR")?addToSet({},e.ALLOWED_ATTR,ke):F,ye=objectHasOwnProperty(e,"ALLOWED_NAMESPACES")?addToSet({},e.ALLOWED_NAMESPACES,stringToString):_e,pe=objectHasOwnProperty(e,"ADD_URI_SAFE_ATTR")?addToSet(clone(fe),e.ADD_URI_SAFE_ATTR,ke):fe,ue=objectHasOwnProperty(e,"ADD_DATA_URI_TAGS")?addToSet(clone(de),e.ADD_DATA_URI_TAGS,ke):de,le=objectHasOwnProperty(e,"FORBID_CONTENTS")?addToSet({},e.FORBID_CONTENTS,ke):ce,$=objectHasOwnProperty(e,"FORBID_TAGS")?addToSet({},e.FORBID_TAGS,ke):clone({}),U=objectHasOwnProperty(e,"FORBID_ATTR")?addToSet({},e.FORBID_ATTR,ke):clone({}),se=!!objectHasOwnProperty(e,"USE_PROFILES")&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Y=e.SAFE_FOR_TEMPLATES||!1,X=!1!==e.SAFE_FOR_XML,Q=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,D=e.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,be=e.NAMESPACE||ge,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,we=e.HTML_INTEGRATION_POINTS||we,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(B.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Y&&(G=!1),te&&(ee=!0),se&&(V=addToSet({},text),z=[],!0===se.html&&(addToSet(V,html$1),addToSet(z,html)),!0===se.svg&&(addToSet(V,svg$1),addToSet(z,svg),addToSet(z,xml)),!0===se.svgFilters&&(addToSet(V,svgFilters),addToSet(z,svg),addToSet(z,xml)),!0===se.mathMl&&(addToSet(V,mathMl$1),addToSet(z,mathMl),addToSet(z,xml))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?H.tagCheck=e.ADD_TAGS:(V===j&&(V=clone(V)),addToSet(V,e.ADD_TAGS,ke))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?H.attributeCheck=e.ADD_ATTR:(z===F&&(z=clone(z)),addToSet(z,e.ADD_ATTR,ke))),e.ADD_URI_SAFE_ATTR&&addToSet(pe,e.ADD_URI_SAFE_ATTR,ke),e.FORBID_CONTENTS&&(le===ce&&(le=clone(le)),addToSet(le,e.FORBID_CONTENTS,ke)),oe&&(V["#text"]=!0),Q&&addToSet(V,["html","head","body"]),V.table&&(addToSet(V,["tbody"]),delete $.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,x=_.createHTML("")}else void 0===_&&(_=_createTrustedTypesPolicy(f,i)),null!==_&&"string"==typeof x&&(x=_.createHTML(""));freeze&&freeze(e),Ce=e}},Me=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),Pe=addToSet({},[...mathMl$1,...mathMlDisallowed]),Ie=function(e){arrayPush(t.removed,{element:e});try{y(e).removeChild(e)}catch(t){g(e)}},Ne=function(e,n){try{arrayPush(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(e){arrayPush(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e)if(ee||te)try{Ie(n)}catch(e){}else try{n.setAttribute(e,"")}catch(e){}},Le=function(e){let t=null,r=null;if(Z)e="<remove></remove>"+e;else{const t=stringMatch(e,/^[\r\n\t ]+/);r=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=w.createDocument(be,"template",null);try{t.documentElement.innerHTML=ve?x:i}catch(e){}}const o=t.body||t.documentElement;return e&&r&&o.insertBefore(n.createTextNode(r),o.childNodes[0]||null),be===ge?A.call(t,Q?"html":"body")[0]:Q?t.documentElement:o},De=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)},Ve=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof u)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},je=function(e){return"function"==typeof s&&e instanceof s};function ze(e,n,r){arrayForEach(e,e=>{e.call(t,n,r,Ce)})}const Fe=function(e){let n=null;if(ze(C.beforeSanitizeElements,e,null),Ve(e))return Ie(e),!0;const r=ke(e.nodeName);if(ze(C.uponSanitizeElement,e,{tagName:r,allowedTags:V}),X&&e.hasChildNodes()&&!je(e.firstElementChild)&&regExpTest(/<[/\w!]/g,e.innerHTML)&&regExpTest(/<[/\w!]/g,e.textContent))return Ie(e),!0;if(e.nodeType===NODE_TYPE.progressingInstruction)return Ie(e),!0;if(X&&e.nodeType===NODE_TYPE.comment&&regExpTest(/<[/\w]/g,e.data))return Ie(e),!0;if(!(H.tagCheck instanceof Function&&H.tagCheck(r))&&(!V[r]||$[r])){if(!$[r]&&$e(r)){if(B.tagNameCheck instanceof RegExp&&regExpTest(B.tagNameCheck,r))return!1;if(B.tagNameCheck instanceof Function&&B.tagNameCheck(r))return!1}if(oe&&!le[r]){const t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=m(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,b(e))}}return Ie(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=stringToLowerCase(e.tagName),r=stringToLowerCase(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ge?"svg"===n:t.namespaceURI===he?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Me[n]):e.namespaceURI===he?t.namespaceURI===ge?"math"===n:t.namespaceURI===me?"math"===n&&we[r]:Boolean(Pe[n]):e.namespaceURI===ge?!(t.namespaceURI===me&&!we[r])&&!(t.namespaceURI===he&&!xe[r])&&!Pe[n]&&(Se[n]||!Me[n]):!("application/xhtml+xml"!==Ee||!ye[e.namespaceURI]))}(e)?(Ie(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!regExpTest(/<\/no(script|embed|frames)/i,e.innerHTML)?(Y&&e.nodeType===NODE_TYPE.text&&(n=e.textContent,arrayForEach([O,T,R],e=>{n=stringReplace(n,e," ")}),e.textContent!==n&&(arrayPush(t.removed,{element:e.cloneNode()}),e.textContent=n)),ze(C.afterSanitizeElements,e,null),!1):(Ie(e),!0)},Be=function(e,t,r){if(re&&("id"===t||"name"===t)&&(r in n||r in Oe))return!1;if(G&&!U[t]&&regExpTest(M,t));else if(W&&regExpTest(P,t));else if(H.attributeCheck instanceof Function&&H.attributeCheck(t,e));else if(!z[t]||U[t]){if(!($e(e)&&(B.tagNameCheck instanceof RegExp&&regExpTest(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&regExpTest(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t,e))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&regExpTest(B.tagNameCheck,r)||B.tagNameCheck instanceof Function&&B.tagNameCheck(r))))return!1}else if(pe[t]);else if(regExpTest(D,stringReplace(r,N,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf(r,"data:")||!ue[e])if(q&&!regExpTest(I,stringReplace(r,N,"")));else if(r)return!1;return!0},$e=function(e){return"annotation-xml"!==e&&stringMatch(e,L)},Ue=function(e){ze(C.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||Ve(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let i=n.length;for(;i--;){const o=n[i],{name:a,namespaceURI:s,value:l}=o,c=ke(a),u=l;let d="value"===a?u:stringTrim(u);if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,ze(C.uponSanitizeAttribute,e,r),d=r.attrValue,!ie||"id"!==c&&"name"!==c||(Ne(a,e),d="user-content-"+d),X&&regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i,d)){Ne(a,e);continue}if("attributename"===c&&stringMatch(d,"href")){Ne(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ne(a,e);continue}if(!K&&regExpTest(/\/>/i,d)){Ne(a,e);continue}Y&&arrayForEach([O,T,R],e=>{d=stringReplace(d,e," ")});const p=ke(e.nodeName);if(Be(p,c,d)){if(_&&"object"==typeof f&&"function"==typeof f.getAttributeType)if(s);else switch(f.getAttributeType(p,c)){case"TrustedHTML":d=_.createHTML(d);break;case"TrustedScriptURL":d=_.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Ve(e)?Ie(e):arrayPop(t.removed)}catch(t){Ne(a,e)}}else Ne(a,e)}ze(C.afterSanitizeAttributes,e,null)},He=function e(t){let n=null;const r=De(t);for(ze(C.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)ze(C.uponSanitizeShadowNode,n,null),Fe(n),Ue(n),n.content instanceof o&&e(n.content);ze(C.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,l=null,c=null;if(ve=!e,ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!je(e)){if("function"!=typeof e.toString)throw typeErrorCreate("toString is not a function");if("string"!=typeof(e=e.toString()))throw typeErrorCreate("dirty is not a string, aborting")}if(!t.isSupported)return e;if(J||Re(n),t.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=ke(e.nodeName);if(!V[t]||$[t])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)i=Le("\x3c!----\x3e"),a=i.ownerDocument.importNode(e,!0),a.nodeType===NODE_TYPE.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!ee&&!Y&&!Q&&-1===e.indexOf("<"))return _&&ne?_.createHTML(e):e;if(i=Le(e),!i)return ee?null:ne?x:""}i&&Z&&Ie(i.firstChild);const u=De(ae?e:i);for(;l=u.nextNode();)Fe(l),Ue(l),l.content instanceof o&&He(l.content);if(ae)return e;if(ee){if(te)for(c=E.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return(z.shadowroot||z.shadowrootmode)&&(c=k.call(r,c,!0)),c}let d=Q?i.outerHTML:i.innerHTML;return Q&&V["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&regExpTest(DOCTYPE_NAME,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),Y&&arrayForEach([O,T,R],e=>{d=stringReplace(d,e," ")}),_&&ne?_.createHTML(d):d},t.setConfig=function(){Re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},t.clearConfig=function(){Ce=null,J=!1},t.isValidAttribute=function(e,t,n){Ce||Re({});const r=ke(e),i=ke(t);return Be(r,i,n)},t.addHook=function(e,t){"function"==typeof t&&arrayPush(C[e],t)},t.removeHook=function(e,t){if(void 0!==t){const n=arrayLastIndexOf(C[e],t);return-1===n?void 0:arraySplice(C[e],n,1)[0]}return arrayPop(C[e])},t.removeHooks=function(e){C[e]=[]},t.removeAllHooks=function(){C=_createHooksMap()},t}createDOMPurify();const skipEvent=e=>(e.preventDefault(),e.stopPropagation(),!1),startViewTransitionSafety=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var react={exports:{}},react_production_min={},hasRequiredReact_production_min,hasRequiredReact;function requireReact_production_min(){if(hasRequiredReact_production_min)return react_production_min;hasRequiredReact_production_min=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"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f=Object.assign,h={};function m(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||p}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||p}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")},g.prototype=m.prototype;var v=b.prototype=new g;v.constructor=b,f(v,m.prototype),v.isPureReactComponent=!0;var y=Array.isArray,_=Object.prototype.hasOwnProperty,x={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function S(t,n,r){var i,o={},a=null,s=null;if(null!=n)for(i in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(a=""+n.key),n)_.call(n,i)&&!w.hasOwnProperty(i)&&(o[i]=n[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(t&&t.defaultProps)for(i in l=t.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:e,type:t,key:a,ref:s,props:o,_owner:x.current}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var A=/\/+/g;function k(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 C(n,r,i,o,a){var s=typeof n;"undefined"!==s&&"boolean"!==s||(n=null);var l=!1;if(null===n)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(n.$$typeof){case e:case t:l=!0}}if(l)return a=a(l=n),n=""===o?"."+k(l,0):o,y(a)?(i="",null!=n&&(i=n.replace(A,"$&/")+"/"),C(a,r,i,"",function(e){return e})):null!=a&&(E(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||l&&l.key===a.key?"":(""+a.key).replace(A,"$&/")+"/")+n)),r.push(a)),1;if(l=0,o=""===o?".":o+":",y(n))for(var c=0;c<n.length;c++){var u=o+k(s=n[c],c);l+=C(s,r,i,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof u)for(n=u.call(n),c=0;!(s=n.next()).done;)l+=C(s=s.value,r,i,u=o+k(s,c++),a);else if("object"===s)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 l}function O(e,t,n){if(null==e)return e;var r=[],i=0;return C(e,r,"","",function(e){return t.call(n,e,i++)}),r}function T(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 R={current:null},M={transition:null},P={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:M,ReactCurrentOwner:x};function I(){throw Error("act(...) is not supported in production builds of React.")}return react_production_min.Children={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},react_production_min.Component=m,react_production_min.Fragment=n,react_production_min.Profiler=i,react_production_min.PureComponent=b,react_production_min.StrictMode=r,react_production_min.Suspense=l,react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,react_production_min.act=I,react_production_min.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=f({},t.props),o=t.key,a=t.ref,s=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,s=x.current),void 0!==n.key&&(o=""+n.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(c in n)_.call(n,c)&&!w.hasOwnProperty(c)&&(i[c]=void 0===n[c]&&void 0!==l?l[c]:n[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:e,type:t.type,key:o,ref:a,props:i,_owner:s}},react_production_min.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},react_production_min.createElement=S,react_production_min.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},react_production_min.createRef=function(){return{current:null}},react_production_min.forwardRef=function(e){return{$$typeof:s,render:e}},react_production_min.isValidElement=E,react_production_min.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:T}},react_production_min.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},react_production_min.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},react_production_min.unstable_act=I,react_production_min.useCallback=function(e,t){return R.current.useCallback(e,t)},react_production_min.useContext=function(e){return R.current.useContext(e)},react_production_min.useDebugValue=function(){},react_production_min.useDeferredValue=function(e){return R.current.useDeferredValue(e)},react_production_min.useEffect=function(e,t){return R.current.useEffect(e,t)},react_production_min.useId=function(){return R.current.useId()},react_production_min.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},react_production_min.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},react_production_min.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},react_production_min.useMemo=function(e,t){return R.current.useMemo(e,t)},react_production_min.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},react_production_min.useRef=function(e){return R.current.useRef(e)},react_production_min.useState=function(e){return R.current.useState(e)},react_production_min.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},react_production_min.useTransition=function(){return R.current.useTransition()},react_production_min.version="18.3.1",react_production_min}function requireReact(){return hasRequiredReact||(hasRequiredReact=1,react.exports=requireReact_production_min()),react.exports}var reactExports=requireReact();const React=getDefaultExportFromCjs(reactExports);var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},hasRequiredReactJsxRuntime_production_min,hasRequiredJsxRuntime;function requireReactJsxRuntime_production_min(){if(hasRequiredReactJsxRuntime_production_min)return reactJsxRuntime_production_min;hasRequiredReactJsxRuntime_production_min=1;var e=requireReact(),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 s,l={},c=null,u=null;for(s in void 0!==a&&(c=""+a),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)r.call(n,s)&&!o.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:i.current}}return reactJsxRuntime_production_min.Fragment=n,reactJsxRuntime_production_min.jsx=a,reactJsxRuntime_production_min.jsxs=a,reactJsxRuntime_production_min}function requireJsxRuntime(){return hasRequiredJsxRuntime||(hasRequiredJsxRuntime=1,jsxRuntime.exports=requireReactJsxRuntime_production_min()),jsxRuntime.exports}var jsxRuntimeExports=requireJsxRuntime();if(!reactExports.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={},hasRequiredScheduler_production_min,hasRequiredScheduler,hasRequiredReactDom_production_min,hasRequiredReactDom;function requireScheduler_production_min(){return hasRequiredScheduler_production_min||(hasRequiredScheduler_production_min=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 s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}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,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var i=n(c);null!==i;){if(null===i.callback)r(c);else{if(!(i.startTime<=e))break;r(c),i.sortIndex=i.expirationTime,t(l,i)}i=n(c)}}function _(e){if(m=!1,y(e),!h)if(null!==n(l))h=!0,P(x);else{var t=n(c);null!==t&&I(_,t.startTime-e)}}function x(t,i){h=!1,m&&(m=!1,b(A),A=-1),f=!0;var o=p;try{for(y(i),d=n(l);null!==d&&(!(d.expirationTime>i)||t&&!O());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=i);i=e.unstable_now(),"function"==typeof s?d.callback=s:d===n(l)&&r(l),y(i)}else r(l);d=n(l)}if(null!==d)var u=!0;else{var g=n(c);null!==g&&I(_,g.startTime-i),u=!1}return u}finally{d=null,p=o,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,S=!1,E=null,A=-1,k=5,C=-1;function O(){return!(e.unstable_now()-C<k)}function T(){if(null!==E){var t=e.unstable_now();C=t;var n=!0;try{n=E(!0,t)}finally{n?w():(S=!1,E=null)}}else S=!1}if("function"==typeof v)w=function(){v(T)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,M=R.port2;R.port1.onmessage=T,w=function(){M.postMessage(null)}}else w=function(){g(T,0)};function P(e){E=e,S||(S=!0,w())}function I(t,n){A=g(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||f||(h=!0,P(x))},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"):k=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=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=p;p=e;try{return t()}finally{p=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 s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:u++,callback:i,priorityLevel:r,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(r.sortIndex=o,t(c,r),null===n(l)&&r===n(c)&&(m?(b(A),A=-1):m=!0,I(_,o-a))):(r.sortIndex=s,t(l,r),h||f||(h=!0,P(x))),r},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(scheduler_production_min)),scheduler_production_min}function requireScheduler(){return hasRequiredScheduler||(hasRequiredScheduler=1,scheduler.exports=requireScheduler_production_min()),scheduler.exports}function requireReactDom_production_min(){if(hasRequiredReactDom_production_min)return reactDom_production_min;hasRequiredReactDom_production_min=1;var e=requireReact(),t=requireScheduler();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 s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),l=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]*$/,u={},d={};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 f={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){f[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];f[t]=new p(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){f[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){f[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){f[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){f[e]=new p(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){f[e]=new p(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){f[e]=new p(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){f[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function g(e,t,n,r){var i=f.hasOwnProperty(t)?f[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!!l.call(d,e)||!l.call(u,e)&&(c.test(e)?d[e]=!0:(u[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);f[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(h,m);f[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(h,m);f[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){f[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)}),f.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){f[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)});var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=Symbol.for("react.element"),y=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),E=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),M=Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var I,N=Object.assign;function L(e){if(void 0===I)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var D=!1;function V(e,t){if(!e||D)return"";D=!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,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?L(e):""}function j(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return V(e.type,!1);case 11:return V(e.type.render,!1);case 1:return V(e.type,!0);default:return""}}function z(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 y:return"Portal";case w:return"Profiler";case x:return"StrictMode";case k:return"Suspense";case C: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 A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:z(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return z(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 z(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 B(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function U(e){e._valueTracker||(e._valueTracker=function(e){var t=$(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=$(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function W(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 N({},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=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 K(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1)}function Y(e,t){K(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&&W(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 N({},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,se,le=(se=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 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 ue={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 pe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ue.hasOwnProperty(e)&&ue[e]?(""+t).trim():t+"px"}function fe(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(ue).forEach(function(e){de.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ue[t]=ue[e]})});var he=N({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 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 ve(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ye=null,_e=null,xe=null;function we(e){if(e=gi(e)){if("function"!=typeof ye)throw Error(n(280));var t=e.stateNode;t&&(t=vi(t),ye(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,we(e),t)for(e=0;e<t.length;e++)we(t[e])}}function Ae(e,t){return e(t)}function ke(){}var Ce=!1;function Oe(e,t,n){if(Ce)return e(t,n);Ce=!0;try{return Ae(e,t,n)}finally{Ce=!1,(null!==_e||null!==xe)&&(ke(),Ee())}}function Te(e,t){var r=e.stateNode;if(null===r)return null;var i=vi(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 Re=!1;if(s)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(se){Re=!1}function Pe(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Ie=!1,Ne=null,Le=!1,De=null,Ve={onError:function(e){Ie=!0,Ne=e}};function je(e,t,n,r,i,o,a,s,l){Ie=!1,Ne=null,Pe.apply(Ve,arguments)}function ze(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(ze(e)!==e)throw Error(n(188))}function $e(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ze(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 s=!1,l=o.child;l;){if(l===r){s=!0,r=o,i=a;break}if(l===i){s=!0,i=o,r=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===r){s=!0,r=a,i=o;break}if(l===i){s=!0,i=a,r=o;break}l=l.sibling}if(!s)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))?Ue(e):null}function Ue(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ue(e);if(null!==t)return t;e=e.sibling}return null}var He=t.unstable_scheduleCallback,We=t.unstable_cancelCallback,Ge=t.unstable_shouldYield,qe=t.unstable_requestPaint,Ke=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,st=4194304;function lt(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 s=a&~i;0!==s?r=lt(s):0!==(o&=a)&&(r=lt(o))}else 0!==(a=n&~i)?r=lt(a):0!==o&&(r=lt(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 ut(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 pt(){var e=at;return!(4194240&(at<<=1))&&(at=64),e}function ft(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 gt=0;function bt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var vt,yt,_t,xt,wt,St=!1,Et=[],At=null,kt=null,Ct=null,Ot=new Map,Tt=new Map,Rt=[],Mt="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":At=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":Ot.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function It(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=gi(t))&&yt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Nt(e){var t=mi(e.target);if(null!==t){var n=ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Fe(n)))return e.blockedOn=t,void wt(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 Lt(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=gi(n))&&yt(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 Dt(e,t,n){Lt(e)&&n.delete(t)}function Vt(){St=!1,null!==At&&Lt(At)&&(At=null),null!==kt&&Lt(kt)&&(kt=null),null!==Ct&&Lt(Ct)&&(Ct=null),Ot.forEach(Dt),Tt.forEach(Dt)}function jt(e,n){e.blockedOn===n&&(e.blockedOn=null,St||(St=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Vt)))}function zt(e){function t(t){return jt(t,e)}if(0<Et.length){jt(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==At&&jt(At,e),null!==kt&&jt(kt,e),null!==Ct&&jt(Ct,e),Ot.forEach(t),Tt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Nt(n),null===n.blockedOn&&Rt.shift()}var Ft=b.ReactCurrentBatchConfig,Bt=!0;function $t(e,t,n,r){var i=gt,o=Ft.transition;Ft.transition=null;try{gt=1,Ht(e,t,n,r)}finally{gt=i,Ft.transition=o}}function Ut(e,t,n,r){var i=gt,o=Ft.transition;Ft.transition=null;try{gt=4,Ht(e,t,n,r)}finally{gt=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,Wt,n),Pt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return At=It(At,e,t,n,r,i),!0;case"dragenter":return kt=It(kt,e,t,n,r,i),!0;case"mouseover":return Ct=It(Ct,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ot.set(o,It(Ot.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Tt.set(o,It(Tt.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<Mt.indexOf(e)){for(;null!==i;){var o=gi(i);if(null!==o&&vt(o),null===(o=Gt(e,t,n,r))&&Br(e,t,r,Wt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Br(e,t,r,null,n)}}var Wt=null;function Gt(e,t,n,r){if(Wt=null,null!==(e=mi(e=ve(r))))if(null===(t=ze(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 Wt=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(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 Kt=null,Yt=null,Xt=null;function Qt(){if(Xt)return Xt;var e,t,n=Yt,r=n.length,i="value"in Kt?Kt.value:Kt.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 N(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},sn=tn(an),ln=N({},an,{view:0,detail:0}),cn=tn(ln),un=N({},ln,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wn,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(un),pn=tn(N({},un,{dataTransfer:0})),fn=tn(N({},ln,{relatedTarget:0})),hn=tn(N({},an,{animationName:0,elapsedTime:0,pseudoElement:0})),mn=N({},an,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gn=tn(mn),bn=tn(N({},an,{data:0})),vn={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"},_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 wn(){return xn}var Sn=N({},ln,{key:function(e){if(e.key){var t=vn[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:wn,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}}),En=tn(Sn),An=tn(N({},un,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kn=tn(N({},ln,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wn})),Cn=tn(N({},an,{propertyName:0,elapsedTime:0,pseudoElement:0})),On=N({},un,{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}),Tn=tn(On),Rn=[9,13,27,32],Mn=s&&"CompositionEvent"in window,Pn=null;s&&"documentMode"in document&&(Pn=document.documentMode);var In=s&&"TextEvent"in window&&!Pn,Nn=s&&(!Mn||Pn&&8<Pn&&11>=Pn),Ln=String.fromCharCode(32),Dn=!1;function Vn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!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 $n(e,t,n,r){Se(r),0<(t=Ur(t,"onChange")).length&&(n=new sn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Un=null,Hn=null;function Wn(e){Lr(e,0)}function Gn(e){if(H(bi(e)))return e}function qn(e,t){if("change"===e)return t}var Kn=!1;if(s){var Yn;if(s){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;Kn=Yn&&(!document.documentMode||9<document.documentMode)}function Jn(){Un&&(Un.detachEvent("onpropertychange",Zn),Hn=Un=null)}function Zn(e){if("value"===e.propertyName&&Gn(Hn)){var t=[];$n(t,Hn,e,ve(e)),Oe(Wn,t)}}function er(e,t,n){"focusin"===e?(Jn(),Hn=n,(Un=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(!l.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 sr(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 lr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?lr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function cr(){for(var e=window,t=W();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=W((e=t.contentWindow).document)}return t}function ur(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=cr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lr(n.ownerDocument.documentElement,n)){if(null!==r&&ur(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,fr=null,hr=null,mr=null,gr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;gr||null==fr||fr!==W(r)||(r="selectionStart"in(r=fr)&&ur(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=Ur(hr,"onSelect")).length&&(t=new sn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fr)))}function vr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var yr={animationend:vr("Animation","AnimationEnd"),animationiteration:vr("Animation","AnimationIteration"),animationstart:vr("Animation","AnimationStart"),transitionend:vr("Transition","TransitionEnd")},_r={},xr={};function wr(e){if(_r[e])return _r[e];if(!yr[e])return e;var t,n=yr[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 yr.animationend.animation,delete yr.animationiteration.animation,delete yr.animationstart.animation),"TransitionEvent"in window||delete yr.transitionend.transition);var Sr=wr("animationend"),Er=wr("animationiteration"),Ar=wr("animationstart"),kr=wr("transitionend"),Cr=new Map,Or="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 Tr(e,t){Cr.set(e,t),o(t,[e])}for(var Rr=0;Rr<Or.length;Rr++){var Mr=Or[Rr];Tr(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Tr(Sr,"onAnimationEnd"),Tr(Er,"onAnimationIteration"),Tr(Ar,"onAnimationStart"),Tr("dblclick","onDoubleClick"),Tr("focusin","onFocus"),Tr("focusout","onBlur"),Tr(kr,"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(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pr));function Nr(e,t,r){var i=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,i,o,a,s,l,c){if(je.apply(this,arguments),Ie){if(!Ie)throw Error(n(198));var u=Ne;Ie=!1,Ne=null,Le||(Le=!0,De=u)}}(i,t,void 0,e),e.currentTarget=null}function Lr(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 s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Nr(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Nr(i,s,c),o=l}}}if(Le)throw e=De,Le=!1,De=null,e}function Dr(e,t){var n=t[pi];void 0===n&&(n=t[pi]=new Set);var r=e+"__bubble";n.has(r)||(Fr(t,e,2,!1),n.add(r))}function Vr(e,t,n){var r=0;t&&(r|=4),Fr(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[jr]){e[jr]=!0,r.forEach(function(t){"selectionchange"!==t&&(Ir.has(t)||Vr(t,!1,e),Vr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[jr]||(t[jr]=!0,Vr("selectionchange",!1,t))}}function Fr(e,t,n,r){switch(qt(t)){case 1:var i=$t;break;case 4:i=Ut;break;default:i=Ht}n=i.bind(null,t,n,e),i=void 0,!Re||"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 s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=mi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Oe(function(){var r=o,i=ve(n),a=[];e:{var s=Cr.get(e);if(void 0!==s){var l=sn,c=e;switch(e){case"keypress":if(0===Jt(n))break e;case"keydown":case"keyup":l=En;break;case"focusin":c="focus",l=fn;break;case"focusout":c="blur",l=fn;break;case"beforeblur":case"afterblur":l=fn;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":l=dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=kn;break;case Sr:case Er:case Ar:l=hn;break;case kr:l=Cn;break;case"scroll":l=cn;break;case"wheel":l=Tn;break;case"copy":case"cut":case"paste":l=gn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=An}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&null!=(m=Te(h,p))&&u.push($r(h,m,f))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(c=n.relatedTarget||n.fromElement)||!mi(c)&&!c[di])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?mi(c):null)&&(c!==(d=ze(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=dn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=An,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:bi(l),f=null==c?s:bi(c),(s=new u(m,h+"leave",l,n,i)).target=d,s.relatedTarget=f,m=null,mi(i)===r&&((u=new u(p,h+"enter",c,n,i)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,h=0,f=u=l;f;f=Hr(f))h++;for(f=0,m=p;m;m=Hr(m))f++;for(;0<h-f;)u=Hr(u),h--;for(;0<f-h;)p=Hr(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=Hr(u),p=Hr(p)}u=null}else u=null;null!==l&&Wr(a,s,l,u,!1),null!==c&&null!==d&&Wr(a,d,c,u,!0)}if("select"===(l=(s=r?bi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=qn;else if(Bn(s))if(Kn)g=rr;else{g=tr;var b=er}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=nr);switch(g&&(g=g(e,r))?$n(a,g,n,i):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&Q(s,"number",s.value)),b=r?bi(r):window,e){case"focusin":(Bn(b)||"true"===b.contentEditable)&&(fr=b,hr=r,mr=null);break;case"focusout":mr=hr=fr=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 v;if(Mn)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 zn?Vn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Nn&&"ko"!==n.locale&&(zn||"onCompositionStart"!==y?"onCompositionEnd"===y&&zn&&(v=Qt()):(Yt="value"in(Kt=i)?Kt.value:Kt.textContent,zn=!0)),0<(b=Ur(r,y)).length&&(y=new bn(y,e,null,n,i),a.push({event:y,listeners:b}),(v||null!==(v=jn(n)))&&(y.data=v))),(v=In?function(e,t){switch(e){case"compositionend":return jn(t);case"keypress":return 32!==t.which?null:(Dn=!0,Ln);case"textInput":return(e=t.data)===Ln&&Dn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!Mn&&Vn(e,t)?(e=Qt(),Xt=Yt=Kt=null,zn=!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 Nn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Ur(r,"onBeforeInput")).length&&(i=new bn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v)}Lr(a,t)})}function $r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ur(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=Te(e,n))&&r.unshift($r(e,o,i)),null!=(o=Te(e,t))&&r.push($r(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 Wr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Te(n,o))&&a.unshift($r(n,l,s)):i||null!=(l=Te(n,o))&&a.push($r(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Gr=/\r\n?/g,qr=/\u0000|\uFFFD/g;function Kr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(qr,"")}function Yr(e,t,r){if(t=Kr(t),Kr(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 zt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);zt(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 si(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 li=Math.random().toString(36).slice(2),ci="__reactFiber$"+li,ui="__reactProps$"+li,di="__reactContainer$"+li,pi="__reactEvents$"+li,fi="__reactListeners$"+li,hi="__reactHandles$"+li;function mi(e){var t=e[ci];if(t)return t;for(var n=e.parentNode;n;){if(t=n[di]||n[ci]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=si(e);null!==e;){if(n=e[ci])return n;e=si(e)}return t}n=(e=n).parentNode}return null}function gi(e){return!(e=e[ci]||e[di])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function bi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function vi(e){return e[ui]||null}var yi=[],_i=-1;function xi(e){return{current:e}}function wi(e){0>_i||(e.current=yi[_i],yi[_i]=null,_i--)}function Si(e,t){_i++,yi[_i]=e.current,e.current=t}var Ei={},Ai=xi(Ei),ki=xi(!1),Ci=Ei;function Oi(e,t){var n=e.type.contextTypes;if(!n)return Ei;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 Ti(e){return null!=e.childContextTypes}function Ri(){wi(ki),wi(Ai)}function Mi(e,t,r){if(Ai.current!==Ei)throw Error(n(168));Si(Ai,t),Si(ki,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 N({},r,i)}function Ii(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ei,Ci=Ai.current,Si(Ai,e),Si(ki,ki.current),!0}function Ni(e,t,r){var i=e.stateNode;if(!i)throw Error(n(169));r?(e=Pi(e,t,Ci),i.__reactInternalMemoizedMergedChildContext=e,wi(ki),wi(Ai),Si(Ai,e)):wi(ki),Si(ki,r)}var Li=null,Di=!1,Vi=!1;function ji(e){null===Li?Li=[e]:Li.push(e)}function zi(){if(!Vi&&null!==Li){Vi=!0;var e=0,t=gt;try{var n=Li;for(gt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Li=null,Di=!1}catch(t){throw null!==Li&&(Li=Li.slice(e+1)),He(Xe,zi),t}finally{gt=t,Vi=!1}}return null}var Fi=[],Bi=0,$i=null,Ui=0,Hi=[],Wi=0,Gi=null,qi=1,Ki="";function Yi(e,t){Fi[Bi++]=Ui,Fi[Bi++]=$i,$i=e,Ui=t}function Xi(e,t,n){Hi[Wi++]=qi,Hi[Wi++]=Ki,Hi[Wi++]=Gi,Gi=e;var r=qi;e=Ki;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,qi=1<<32-rt(t)+i|n<<i|r,Ki=o+e}else qi=1<<o|n<<i|r,Ki=e}function Qi(e){null!==e.return&&(Yi(e,1),Xi(e,1,0))}function Ji(e){for(;e===$i;)$i=Fi[--Bi],Fi[Bi]=null,Ui=Fi[--Bi],Fi[Bi]=null;for(;e===Gi;)Gi=Hi[--Wi],Hi[Wi]=null,Ki=Hi[--Wi],Hi[Wi]=null,qi=Hi[--Wi],Hi[Wi]=null}var Zi=null,eo=null,to=!1,no=null;function ro(e,t){var n=Oc(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 io(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,Zi=e,eo=ai(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Zi=e,eo=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Gi?{id:qi,overflow:Ki}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Oc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Zi=e,eo=null,!0);default:return!1}}function oo(e){return!(!(1&e.mode)||128&e.flags)}function ao(e){if(to){var t=eo;if(t){var r=t;if(!io(e,t)){if(oo(e))throw Error(n(418));t=ai(r.nextSibling);var i=Zi;t&&io(e,t)?ro(i,r):(e.flags=-4097&e.flags|2,to=!1,Zi=e)}}else{if(oo(e))throw Error(n(418));e.flags=-4097&e.flags|2,to=!1,Zi=e}}}function so(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Zi=e}function lo(e){if(e!==Zi)return!1;if(!to)return so(e),to=!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=eo)){if(oo(e))throw co(),Error(n(418));for(;t;)ro(e,t),t=ai(t.nextSibling)}if(so(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){eo=ai(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}eo=null}}else eo=Zi?ai(e.stateNode.nextSibling):null;return!0}function co(){for(var e=eo;e;)e=ai(e.nextSibling)}function uo(){eo=Zi=null,to=!1}function po(e){null===no?no=[e]:no.push(e)}var fo=b.ReactCurrentBatchConfig;function ho(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 mo(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function go(e){return(0,e._init)(e._payload)}function bo(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=Rc(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 s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Nc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(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===T&&go(i)===t.type)?((r=o(t,n.props)).ref=ho(e,t,n),r.return=e,r):((r=Mc(n.type,n.key,n.props,null,e.mode,r)).ref=ho(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lc(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=Pc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case v:return(n=Mc(t.type,t.key,t.props,null,e.mode,n)).ref=ho(e,null,t),n.return=e,n;case y:return(t=Lc(t,e.mode,n)).return=e,t;case T:return p(e,(0,t._init)(t._payload),n)}if(J(t)||P(t))return(t=Pc(t,e.mode,n,null)).return=e,t;mo(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case v:return n.key===i?c(e,t,n,r):null;case y:return n.key===i?u(e,t,n,r):null;case T:return f(e,t,(i=n._init)(n._payload),r)}if(J(n)||P(n))return null!==i?null:d(e,t,n,r,null);mo(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case v:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case T: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);mo(t,r)}return null}return function l(c,u,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 v:e:{for(var g=d.key,b=u;null!==b;){if(b.key===g){if((g=d.type)===_){if(7===b.tag){r(c,b.sibling),(u=o(b,d.props.children)).return=c,c=u;break e}}else if(b.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===T&&go(g)===b.type){r(c,b.sibling),(u=o(b,d.props)).ref=ho(c,b,d),u.return=c,c=u;break e}r(c,b);break}t(c,b),b=b.sibling}d.type===_?((u=Pc(d.props.children,c.mode,m,d.key)).return=c,c=u):((m=Mc(d.type,d.key,d.props,null,c.mode,m)).ref=ho(c,u,d),m.return=c,c=m)}return s(c);case y:e:{for(b=d.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===d.containerInfo&&u.stateNode.implementation===d.implementation){r(c,u.sibling),(u=o(u,d.children||[])).return=c,c=u;break e}r(c,u);break}t(c,u),u=u.sibling}(u=Lc(d,c.mode,m)).return=c,c=u}return s(c);case T:return l(c,u,(b=d._init)(d._payload),m)}if(J(d))return function(n,o,s,l){for(var c=null,u=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var b=f(n,d,s[m],l);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(n,d),o=a(b,o,m),null===u?c=b:u.sibling=b,u=b,d=g}if(m===s.length)return r(n,d),to&&Yi(n,m),c;if(null===d){for(;m<s.length;m++)null!==(d=p(n,s[m],l))&&(o=a(d,o,m),null===u?c=d:u.sibling=d,u=d);return to&&Yi(n,m),c}for(d=i(n,d);m<s.length;m++)null!==(g=h(d,n,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(n,e)}),to&&Yi(n,m),c}(c,u,d,m);if(P(d))return function(o,s,l,c){var u=P(l);if("function"!=typeof u)throw Error(n(150));if(null==(l=u.call(l)))throw Error(n(151));for(var d=u=null,m=s,g=s=0,b=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(b=m,m=null):b=m.sibling;var y=f(o,m,v.value,c);if(null===y){null===m&&(m=b);break}e&&m&&null===y.alternate&&t(o,m),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y,m=b}if(v.done)return r(o,m),to&&Yi(o,g),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=p(o,v.value,c))&&(s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return to&&Yi(o,g),u}for(m=i(o,m);!v.done;g++,v=l.next())null!==(v=h(m,o,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(o,e)}),to&&Yi(o,g),u}(c,u,d,m);mo(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d?(d=""+d,null!==u&&6===u.tag?(r(c,u.sibling),(u=o(u,d)).return=c,c=u):(r(c,u),(u=Nc(d,c.mode,m)).return=c,c=u),s(c)):r(c,u)}}var vo=bo(!0),yo=bo(!1),_o=xi(null),xo=null,wo=null,So=null;function Eo(){So=wo=xo=null}function Ao(e){var t=_o.current;wi(_o),e._currentValue=t}function ko(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 Co(e,t){xo=e,So=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(gs=!0),e.firstContext=null)}function Oo(e){var t=e._currentValue;if(So!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===xo)throw Error(n(308));wo=e,xo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var To=null;function Ro(e){null===To?To=[e]:To.push(e)}function Mo(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,Po(e,r)}function Po(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 Io=!1;function No(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(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 Do(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Al){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Po(e,n)}return null===(i=r.interleaved)?(t.next=t,Ro(r)):(t.next=i.next,i.next=t),r.interleaved=t,Po(e,n)}function jo(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 zo(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 Fo(e,t,n,r){var i=e.updateQueue;Io=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==o){var d=i.baseState;for(a=0,u=c=l=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=N({},d,p);break e;case 2:Io=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=i.effects)?i.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,a|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}if(null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Il|=a,e.lanes=a,e.memoizedState=d}}function Bo(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 $o={},Uo=xi($o),Ho=xi($o),Wo=xi($o);function Go(e){if(e===$o)throw Error(n(174));return e}function qo(e,t){switch(Si(Wo,t),Si(Ho,e),Si(Uo,$o),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)}wi(Uo),Si(Uo,t)}function Ko(){wi(Uo),wi(Ho),wi(Wo)}function Yo(e){Go(Wo.current);var t=Go(Uo.current),n=oe(t,e.type);t!==n&&(Si(Ho,e),Si(Uo,n))}function Xo(e){Ho.current===e&&(wi(Uo),wi(Ho))}var Qo=xi(0);function Jo(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 Zo=[];function ea(){for(var e=0;e<Zo.length;e++)Zo[e]._workInProgressVersionPrimary=null;Zo.length=0}var ta=b.ReactCurrentDispatcher,na=b.ReactCurrentBatchConfig,ra=0,ia=null,oa=null,aa=null,sa=!1,la=!1,ca=0,ua=0;function da(){throw Error(n(321))}function pa(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 fa(e,t,r,i,o,a){if(ra=a,ia=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ta.current=null===e||null===e.memoizedState?Xa:Qa,e=r(i,o),la){a=0;do{if(la=!1,ca=0,25<=a)throw Error(n(301));a+=1,aa=oa=null,t.updateQueue=null,ta.current=Ja,e=r(i,o)}while(la)}if(ta.current=Ya,t=null!==oa&&null!==oa.next,ra=0,aa=oa=ia=null,sa=!1,t)throw Error(n(300));return e}function ha(){var e=0!==ca;return ca=0,e}function ma(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aa?ia.memoizedState=aa=e:aa=aa.next=e,aa}function ga(){if(null===oa){var e=ia.alternate;e=null!==e?e.memoizedState:null}else e=oa.next;var t=null===aa?ia.memoizedState:aa.next;if(null!==t)aa=t,oa=e;else{if(null===e)throw Error(n(310));e={memoizedState:(oa=e).memoizedState,baseState:oa.baseState,baseQueue:oa.baseQueue,queue:oa.queue,next:null},null===aa?ia.memoizedState=aa=e:aa=aa.next=e}return aa}function ba(e,t){return"function"==typeof t?t(e):t}function va(e){var t=ga(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var i=oa,o=i.baseQueue,a=r.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}i.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,i=i.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((ra&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=i):c=c.next=p,ia.lanes|=d,Il|=d}u=u.next}while(null!==u&&u!==a);null===c?s=i:c.next=l,ir(i,t.memoizedState)||(gs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=c,r.lastRenderedState=i}if(null!==(e=r.interleaved)){o=e;do{a=o.lane,ia.lanes|=a,Il|=a,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function ya(e){var t=ga(),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 s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);ir(a,t.memoizedState)||(gs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,i]}function _a(){}function xa(e,t){var r=ia,i=ga(),o=t(),a=!ir(i.memoizedState,o);if(a&&(i.memoizedState=o,gs=!0),i=i.queue,Ia(Ea.bind(null,r,i,e),[e]),i.getSnapshot!==t||a||null!==aa&&1&aa.memoizedState.tag){if(r.flags|=2048,Oa(9,Sa.bind(null,r,i,o,t),void 0,null),null===kl)throw Error(n(349));30&ra||wa(r,t,o)}return o}function wa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ia.updateQueue)?(t={lastEffect:null,stores:null},ia.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Sa(e,t,n,r){t.value=n,t.getSnapshot=r,Aa(t)&&ka(e)}function Ea(e,t,n){return n(function(){Aa(t)&&ka(e)})}function Aa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ir(e,n)}catch(e){return!0}}function ka(e){var t=Po(e,1);null!==t&&Zl(t,e,1,-1)}function Ca(e){var t=ma();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ba,lastRenderedState:e},t.queue=e,e=e.dispatch=Wa.bind(null,ia,e),[t.memoizedState,e]}function Oa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ia.updateQueue)?(t={lastEffect:null,stores:null},ia.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 Ta(){return ga().memoizedState}function Ra(e,t,n,r){var i=ma();ia.flags|=e,i.memoizedState=Oa(1|t,n,void 0,void 0===r?null:r)}function Ma(e,t,n,r){var i=ga();r=void 0===r?null:r;var o=void 0;if(null!==oa){var a=oa.memoizedState;if(o=a.destroy,null!==r&&pa(r,a.deps))return void(i.memoizedState=Oa(t,n,o,r))}ia.flags|=e,i.memoizedState=Oa(1|t,n,o,r)}function Pa(e,t){return Ra(8390656,8,e,t)}function Ia(e,t){return Ma(2048,8,e,t)}function Na(e,t){return Ma(4,2,e,t)}function La(e,t){return Ma(4,4,e,t)}function Da(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 Va(e,t,n){return n=null!=n?n.concat([e]):null,Ma(4,4,Da.bind(null,t,e),n)}function ja(){}function za(e,t){var n=ga();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Fa(e,t){var n=ga();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ba(e,t,n){return 21&ra?(ir(n,t)||(n=pt(),ia.lanes|=n,Il|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,gs=!0),e.memoizedState=n)}function $a(e,t){var n=gt;gt=0!==n&&4>n?n:4,e(!0);var r=na.transition;na.transition={};try{e(!1),t()}finally{gt=n,na.transition=r}}function Ua(){return ga().memoizedState}function Ha(e,t,n){var r=Jl(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ga(e)?qa(t,n):null!==(n=Mo(e,t,n,r))&&(Zl(n,e,r,Ql()),Ka(n,t,r))}function Wa(e,t,n){var r=Jl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ga(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,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,ir(s,a)){var l=t.interleaved;return null===l?(i.next=i,Ro(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Mo(e,t,i,r))&&(Zl(n,e,r,i=Ql()),Ka(n,t,r))}}function Ga(e){var t=e.alternate;return e===ia||null!==t&&t===ia}function qa(e,t){la=sa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ka(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,mt(e,n)}}var Ya={readContext:Oo,useCallback:da,useContext:da,useEffect:da,useImperativeHandle:da,useInsertionEffect:da,useLayoutEffect:da,useMemo:da,useReducer:da,useRef:da,useState:da,useDebugValue:da,useDeferredValue:da,useTransition:da,useMutableSource:da,useSyncExternalStore:da,useId:da,unstable_isNewReconciler:!1},Xa={readContext:Oo,useCallback:function(e,t){return ma().memoizedState=[e,void 0===t?null:t],e},useContext:Oo,useEffect:Pa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ra(4194308,4,Da.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=ma();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ma();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=Ha.bind(null,ia,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ma().memoizedState=e},useState:Ca,useDebugValue:ja,useDeferredValue:function(e){return ma().memoizedState=e},useTransition:function(){var e=Ca(!1),t=e[0];return e=$a.bind(null,e[1]),ma().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var i=ia,o=ma();if(to){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===kl)throw Error(n(349));30&ra||wa(i,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Pa(Ea.bind(null,i,a,e),[e]),i.flags|=2048,Oa(9,Sa.bind(null,i,a,r,t),void 0,null),r},useId:function(){var e=ma(),t=kl.identifierPrefix;if(to){var n=Ki;t=":"+t+"R"+(n=(qi&~(1<<32-rt(qi)-1)).toString(32)+n),0<(n=ca++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ua++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Qa={readContext:Oo,useCallback:za,useContext:Oo,useEffect:Ia,useImperativeHandle:Va,useInsertionEffect:Na,useLayoutEffect:La,useMemo:Fa,useReducer:va,useRef:Ta,useState:function(){return va(ba)},useDebugValue:ja,useDeferredValue:function(e){return Ba(ga(),oa.memoizedState,e)},useTransition:function(){return[va(ba)[0],ga().memoizedState]},useMutableSource:_a,useSyncExternalStore:xa,useId:Ua,unstable_isNewReconciler:!1},Ja={readContext:Oo,useCallback:za,useContext:Oo,useEffect:Ia,useImperativeHandle:Va,useInsertionEffect:Na,useLayoutEffect:La,useMemo:Fa,useReducer:ya,useRef:Ta,useState:function(){return ya(ba)},useDebugValue:ja,useDeferredValue:function(e){var t=ga();return null===oa?t.memoizedState=e:Ba(t,oa.memoizedState,e)},useTransition:function(){return[ya(ba)[0],ga().memoizedState]},useMutableSource:_a,useSyncExternalStore:xa,useId:Ua,unstable_isNewReconciler:!1};function Za(e,t){if(e&&e.defaultProps){for(var n in t=N({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function es(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:N({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ts={isMounted:function(e){return!!(e=e._reactInternals)&&ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ql(),i=Jl(e),o=Do(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=Vo(e,o,i))&&(Zl(t,e,i,r),jo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ql(),i=Jl(e),o=Do(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Vo(e,o,i))&&(Zl(t,e,i,r),jo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ql(),r=Jl(e),i=Do(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Vo(e,i,r))&&(Zl(t,e,r,n),jo(t,e,r))}};function ns(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 rs(e,t,n){var r=!1,i=Ei,o=t.contextType;return"object"==typeof o&&null!==o?o=Oo(o):(i=Ti(t)?Ci:Ai.current,o=(r=null!=(r=t.contextTypes))?Oi(e,i):Ei),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ts,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function is(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&&ts.enqueueReplaceState(t,t.state,null)}function os(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},No(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Oo(o):(o=Ti(t)?Ci:Ai.current,i.context=Oi(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(es(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&&ts.enqueueReplaceState(i,i.state,null),Fo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function as(e,t){try{var n="",r=t;do{n+=j(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 ss(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ls(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var cs="function"==typeof WeakMap?WeakMap:Map;function us(e,t,n){(n=Do(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Bl||(Bl=!0,$l=r),ls(0,t)},n}function ds(e,t,n){(n=Do(-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(){ls(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ls(0,t),"function"!=typeof r&&(null===Ul?Ul=new Set([this]):Ul.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ps(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new cs;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=wc.bind(null,e,t,n),t.then(e,e))}function fs(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 hs(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=Do(-1,1)).tag=2,Vo(n,t,1))),n.lanes|=1),e)}var ms=b.ReactCurrentOwner,gs=!1;function bs(e,t,n,r){t.child=null===e?yo(t,null,n,r):vo(t,e.child,n,r)}function vs(e,t,n,r,i){n=n.render;var o=t.ref;return Co(t,i),r=fa(e,t,n,r,o,i),n=ha(),null===e||gs?(to&&n&&Qi(t),t.flags|=1,bs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bs(e,t,i))}function ys(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Tc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,_s(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 Bs(e,t,i)}return t.flags|=1,(e=Rc(o,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(or(o,r)&&e.ref===t.ref){if(gs=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Bs(e,t,i);131072&e.flags&&(gs=!0)}}return Ss(e,t,n,r,i)}function xs(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,Si(Rl,Tl),Tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Si(Rl,Tl),Tl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Si(Rl,Tl),Tl|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Si(Rl,Tl),Tl|=r;return bs(e,t,i,n),t.child}function ws(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ss(e,t,n,r,i){var o=Ti(n)?Ci:Ai.current;return o=Oi(t,o),Co(t,i),n=fa(e,t,n,r,o,i),r=ha(),null===e||gs?(to&&r&&Qi(t),t.flags|=1,bs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bs(e,t,i))}function Es(e,t,n,r,i){if(Ti(n)){var o=!0;Ii(t)}else o=!1;if(Co(t,i),null===t.stateNode)Fs(e,t),rs(t,n,r),os(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Oo(c):Oi(t,c=Ti(n)?Ci:Ai.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&is(t,a,r,c),Io=!1;var p=t.memoizedState;a.state=p,Fo(t,r,a,i),l=t.memoizedState,s!==r||p!==l||ki.current||Io?("function"==typeof u&&(es(t,n,u,r),l=t.memoizedState),(s=Io||ns(t,n,s,r,p,l,c))?(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=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Za(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l="object"==typeof(l=n.contextType)&&null!==l?Oo(l):Oi(t,l=Ti(n)?Ci:Ai.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&is(t,a,r,l),Io=!1,p=t.memoizedState,a.state=p,Fo(t,r,a,i);var h=t.memoizedState;s!==d||p!==h||ki.current||Io?("function"==typeof f&&(es(t,n,f,r),h=t.memoizedState),(c=Io||ns(t,n,c,r,p,h,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return As(e,t,n,r,o,i)}function As(e,t,n,r,i,o){ws(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Ni(t,n,!1),Bs(e,t,o);r=t.stateNode,ms.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=vo(t,e.child,null,o),t.child=vo(t,null,s,o)):bs(e,t,s,o),t.memoizedState=r.state,i&&Ni(t,n,!0),t.child}function ks(e){var t=e.stateNode;t.pendingContext?Mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mi(0,t.context,!1),qo(e,t.containerInfo)}function Cs(e,t,n,r,i){return uo(),po(i),t.flags|=256,bs(e,t,n,r),t.child}var Os,Ts,Rs,Ms,Ps={dehydrated:null,treeContext:null,retryLane:0};function Is(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,r){var i,o=t.pendingProps,a=Qo.current,s=!1,l=!!(128&t.flags);if((i=l)||(i=(null===e||null!==e.memoizedState)&&!!(2&a)),i?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Si(Qo,1&a),null===e)return ao(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},1&o||null===s?s=Ic(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Pc(e,o,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Is(r),t.memoizedState=Ps,e):Ls(t,l));if(null!==(a=e.memoizedState)&&null!==(i=a.dehydrated))return function(e,t,r,i,o,a,s){if(r)return 256&t.flags?(t.flags&=-257,Ds(e,t,s,i=ss(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Ic({mode:"visible",children:i.children},o,0,null),(a=Pc(a,o,s,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,1&t.mode&&vo(t,e.child,null,s),t.child.memoizedState=Is(s),t.memoizedState=Ps,a);if(!(1&t.mode))return Ds(e,t,s,null);if("$!"===o.data){if(i=o.nextSibling&&o.nextSibling.dataset)var l=i.dgst;return i=l,Ds(e,t,s,i=ss(a=Error(n(419)),i,void 0))}if(l=0!==(s&e.childLanes),gs||l){if(null!==(i=kl)){switch(s&-s){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|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Po(e,o),Zl(i,e,o,-1))}return pc(),Ds(e,t,s,i=ss(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ec.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,eo=ai(o.nextSibling),Zi=t,to=!0,no=null,null!==e&&(Hi[Wi++]=qi,Hi[Wi++]=Ki,Hi[Wi++]=Gi,qi=e.id,Ki=e.overflow,Gi=t),(t=Ls(t,i.children)).flags|=4096,t)}(e,t,l,o,i,a,r);if(s){s=o.fallback,l=t.mode,i=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===a?(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==i?s=Rc(i,s):(s=Pc(s,l,r,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Is(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=Ps,o}return e=(s=e.child).sibling,o=Rc(s,{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 Ls(e,t){return(t=Ic({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ds(e,t,n,r){return null!==r&&po(r),vo(t,e.child,null,n),(e=Ls(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ko(e.return,t,n)}function js(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 zs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(bs(e,t,r.children,n),2&(r=Qo.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&&Vs(e,n,t);else if(19===e.tag)Vs(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(Si(Qo,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Jo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),js(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===Jo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}js(t,!0,n,null,o);break;case"together":js(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Fs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bs(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Il|=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=Rc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Rc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function $s(e,t){if(!to)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 Us(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 Hs(e,t,r){var o=t.pendingProps;switch(Ji(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Us(t),null;case 1:case 17:return Ti(t.type)&&Ri(),Us(t),null;case 3:return o=t.stateNode,Ko(),wi(ki),wi(Ai),ea(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(lo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==no&&(rc(no),no=null))),Ts(e,t),Us(t),null;case 5:Xo(t);var a=Go(Wo.current);if(r=t.type,null!==e&&null!=t.stateNode)Rs(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 Us(t),null}if(e=Go(Uo.current),lo(t)){o=t.stateNode,r=t.type;var s=t.memoizedProps;switch(o[ci]=t,o[ui]=s,e=!!(1&t.mode),r){case"dialog":Dr("cancel",o),Dr("close",o);break;case"iframe":case"object":case"embed":Dr("load",o);break;case"video":case"audio":for(a=0;a<Pr.length;a++)Dr(Pr[a],o);break;case"source":Dr("error",o);break;case"img":case"image":case"link":Dr("error",o),Dr("load",o);break;case"details":Dr("toggle",o);break;case"input":q(o,s),Dr("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!s.multiple},Dr("invalid",o);break;case"textarea":te(o,s),Dr("invalid",o)}for(var l in me(r,s),a=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"==typeof c?o.textContent!==c&&(!0!==s.suppressHydrationWarning&&Yr(o.textContent,c,e),a=["children",c]):"number"==typeof c&&o.textContent!==""+c&&(!0!==s.suppressHydrationWarning&&Yr(o.textContent,c,e),a=["children",""+c]):i.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Dr("scroll",o)}switch(r){case"input":U(o),X(o,s,!0);break;case"textarea":U(o),re(o);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(o.onclick=Xr)}o=a,t.updateQueue=o,null!==o&&(t.flags|=4)}else{l=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=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=l.createElement(r,{is:o.is}):(e=l.createElement(r),"select"===r&&(l=e,o.multiple?l.multiple=!0:o.size&&(l.size=o.size))):e=l.createElementNS(e,r),e[ci]=t,e[ui]=o,Os(e,t,!1,!1),t.stateNode=e;e:{switch(l=ge(r,o),r){case"dialog":Dr("cancel",e),Dr("close",e),a=o;break;case"iframe":case"object":case"embed":Dr("load",e),a=o;break;case"video":case"audio":for(a=0;a<Pr.length;a++)Dr(Pr[a],e);a=o;break;case"source":Dr("error",e),a=o;break;case"img":case"image":case"link":Dr("error",e),Dr("load",e),a=o;break;case"details":Dr("toggle",e),a=o;break;case"input":q(e,o),a=G(e,o),Dr("invalid",e);break;case"option":default:a=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},a=N({},o,{value:void 0}),Dr("invalid",e);break;case"textarea":te(e,o),a=ee(e,o),Dr("invalid",e)}for(s in me(r,a),c=a)if(c.hasOwnProperty(s)){var u=c[s];"style"===s?fe(e,u):"dangerouslySetInnerHTML"===s?null!=(u=u?u.__html:void 0)&&le(e,u):"children"===s?"string"==typeof u?("textarea"!==r||""!==u)&&ce(e,u):"number"==typeof u&&ce(e,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(i.hasOwnProperty(s)?null!=u&&"onScroll"===s&&Dr("scroll",e):null!=u&&g(e,s,u,l))}switch(r){case"input":U(e),X(e,o,!1);break;case"textarea":U(e),re(e);break;case"option":null!=o.value&&e.setAttribute("value",""+B(o.value));break;case"select":e.multiple=!!o.multiple,null!=(s=o.value)?Z(e,!!o.multiple,s,!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 Us(t),null;case 6:if(e&&null!=t.stateNode)Ms(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(n(166));if(r=Go(Wo.current),Go(Uo.current),lo(t)){if(o=t.stateNode,r=t.memoizedProps,o[ci]=t,(s=o.nodeValue!==r)&&null!==(e=Zi))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))}s&&(t.flags|=4)}else(o=(9===r.nodeType?r:r.ownerDocument).createTextNode(o))[ci]=t,t.stateNode=o}return Us(t),null;case 13:if(wi(Qo),o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(to&&null!==eo&&1&t.mode&&!(128&t.flags))co(),uo(),t.flags|=98560,s=!1;else if(s=lo(t),null!==o&&null!==o.dehydrated){if(null===e){if(!s)throw Error(n(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(n(317));s[ci]=t}else uo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Us(t),s=!1}else null!==no&&(rc(no),no=null),s=!0;if(!s)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&Qo.current?0===Ml&&(Ml=3):pc())),null!==t.updateQueue&&(t.flags|=4),Us(t),null);case 4:return Ko(),Ts(e,t),null===e&&zr(t.stateNode.containerInfo),Us(t),null;case 10:return Ao(t.type._context),Us(t),null;case 19:if(wi(Qo),null===(s=t.memoizedState))return Us(t),null;if(o=!!(128&t.flags),null===(l=s.rendering))if(o)$s(s,!1);else{if(0!==Ml||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=Jo(e))){for(t.flags|=128,$s(s,!1),null!==(o=l.updateQueue)&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;null!==r;)e=o,(s=r).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Si(Qo,1&Qo.current|2),t.child}e=e.sibling}null!==s.tail&&Ke()>zl&&(t.flags|=128,o=!0,$s(s,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=Jo(l))){if(t.flags|=128,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),$s(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!to)return Us(t),null}else 2*Ke()-s.renderingStartTime>zl&&1073741824!==r&&(t.flags|=128,o=!0,$s(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=s.last)?r.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ke(),t.sibling=null,r=Qo.current,Si(Qo,o?1&r|2:1&r),t):(Us(t),null);case 22:case 23:return lc(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&1&t.mode?!!(1073741824&Tl)&&(Us(t),6&t.subtreeFlags&&(t.flags|=8192)):Us(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Ws(e,t){switch(Ji(t),t.tag){case 1:return Ti(t.type)&&Ri(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ko(),wi(ki),wi(Ai),ea(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Xo(t),null;case 13:if(wi(Qo),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));uo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return wi(Qo),null;case 4:return Ko(),null;case 10:return Ao(t.type._context),null;case 22:case 23:return lc(),null;default:return null}}Os=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}},Ts=function(){},Rs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Go(Uo.current);var a,s=null;switch(n){case"input":o=G(e,o),r=G(e,r),s=[];break;case"select":o=N({},o,{value:void 0}),r=N({},r,{value:void 0}),s=[];break;case"textarea":o=ee(e,o),r=ee(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(u in me(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(i.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(s||(s=[]),s.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(s=s||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(s=s||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(i.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Dr("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Ms=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gs=!1,qs=!1,Ks="function"==typeof WeakSet?WeakSet:Set,Ys=null;function Xs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){xc(e,t,n)}else n.current=null}function Qs(e,t,n){try{n()}catch(n){xc(e,t,n)}}var Js=!1;function Zs(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&&Qs(t,n,o)}i=i.next}while(i!==r)}}function el(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 tl(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 nl(e){var t=e.alternate;null!==t&&(e.alternate=null,nl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[ci],delete t[ui],delete t[pi],delete t[fi],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 rl(e){return 5===e.tag||3===e.tag||4===e.tag}function il(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rl(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 ol(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(ol(e,t,n),e=e.sibling;null!==e;)ol(e,t,n),e=e.sibling}function al(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(al(e,t,n),e=e.sibling;null!==e;)al(e,t,n),e=e.sibling}var sl=null,ll=!1;function cl(e,t,n){for(n=n.child;null!==n;)ul(e,t,n),n=n.sibling}function ul(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch(e){}switch(n.tag){case 5:qs||Xs(n,t);case 6:var r=sl,i=ll;sl=null,cl(e,t,n),ll=i,null!==(sl=r)&&(ll?(e=sl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):sl.removeChild(n.stateNode));break;case 18:null!==sl&&(ll?(e=sl,n=n.stateNode,8===e.nodeType?oi(e.parentNode,n):1===e.nodeType&&oi(e,n),zt(e)):oi(sl,n.stateNode));break;case 4:r=sl,i=ll,sl=n.stateNode.containerInfo,ll=!0,cl(e,t,n),sl=r,ll=i;break;case 0:case 11:case 14:case 15:if(!qs&&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)&&Qs(n,t,a),i=i.next}while(i!==r)}cl(e,t,n);break;case 1:if(!qs&&(Xs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){xc(n,t,e)}cl(e,t,n);break;case 21:cl(e,t,n);break;case 22:1&n.mode?(qs=(r=qs)||null!==n.memoizedState,cl(e,t,n),qs=r):cl(e,t,n);break;default:cl(e,t,n)}}function dl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ks),t.forEach(function(t){var r=Ac.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function pl(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,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:sl=l.stateNode,ll=!1;break e;case 3:case 4:sl=l.stateNode.containerInfo,ll=!0;break e}l=l.return}if(null===sl)throw Error(n(160));ul(a,s,o),sl=null,ll=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){xc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)fl(t,e),t=t.sibling}function fl(e,t){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pl(t,e),hl(e),4&i){try{Zs(3,e,e.return),el(3,e)}catch(t){xc(e,e.return,t)}try{Zs(5,e,e.return)}catch(t){xc(e,e.return,t)}}break;case 1:pl(t,e),hl(e),512&i&&null!==r&&Xs(r,r.return);break;case 5:if(pl(t,e),hl(e),512&i&&null!==r&&Xs(r,r.return),32&e.flags){var o=e.stateNode;try{ce(o,"")}catch(t){xc(e,e.return,t)}}if(4&i&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==r?r.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&K(o,a),ge(l,s);var u=ge(l,a);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?fe(o,p):"dangerouslySetInnerHTML"===d?le(o,p):"children"===d?ce(o,p):g(o,d,p,u)}switch(l){case"input":Y(o,a);break;case"textarea":ne(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?Z(o,!!a.multiple,h,!1):f!==!!a.multiple&&(null!=a.defaultValue?Z(o,!!a.multiple,a.defaultValue,!0):Z(o,!!a.multiple,a.multiple?[]:"",!1))}o[ui]=a}catch(t){xc(e,e.return,t)}}break;case 6:if(pl(t,e),hl(e),4&i){if(null===e.stateNode)throw Error(n(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){xc(e,e.return,t)}}break;case 3:if(pl(t,e),hl(e),4&i&&null!==r&&r.memoizedState.isDehydrated)try{zt(t.containerInfo)}catch(t){xc(e,e.return,t)}break;case 4:default:pl(t,e),hl(e);break;case 13:pl(t,e),hl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(jl=Ke())),4&i&&dl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(qs=(u=qs)||d,pl(t,e),qs=u):pl(t,e),hl(e),8192&i){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Ys=e,d=e.child;null!==d;){for(p=Ys=d;null!==Ys;){switch(h=(f=Ys).child,f.tag){case 0:case 11:case 14:case 15:Zs(4,f,f.return);break;case 1:Xs(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){i=f,r=f.return;try{t=i,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){xc(i,r,e)}}break;case 5:Xs(f,f.return);break;case 22:if(null!==f.memoizedState){vl(p);continue}}null!==h?(h.return=f,Ys=h):vl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=p.stateNode,s=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=pe("display",s))}catch(t){xc(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){xc(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:pl(t,e),hl(e),4&i&&dl(e);case 21:}}function hl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(rl(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),al(e,il(e),o);break;case 3:case 4:var a=i.stateNode.containerInfo;ol(e,il(e),a);break;default:throw Error(n(161))}}catch(t){xc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ml(e,t,n){Ys=e,gl(e)}function gl(e,t,n){for(var r=!!(1&e.mode);null!==Ys;){var i=Ys,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Gs;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||qs;s=Gs;var c=qs;if(Gs=a,(qs=l)&&!c)for(Ys=i;null!==Ys;)l=(a=Ys).child,22===a.tag&&null!==a.memoizedState?yl(i):null!==l?(l.return=a,Ys=l):yl(i);for(;null!==o;)Ys=o,gl(o),o=o.sibling;Ys=i,Gs=s,qs=c}bl(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Ys=o):bl(e)}}function bl(e){for(;null!==Ys;){var t=Ys;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:qs||el(5,t);break;case 1:var i=t.stateNode;if(4&t.flags&&!qs)if(null===r)i.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:Za(t.type,r.memoizedProps);i.componentDidUpdate(o,r.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Bo(t,a,i);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Bo(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.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 u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&zt(p)}}}break;default:throw Error(n(163))}qs||512&t.flags&&tl(t)}catch(e){xc(t,t.return,e)}}if(t===e){Ys=null;break}if(null!==(r=t.sibling)){r.return=t.return,Ys=r;break}Ys=t.return}}function vl(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ys=n;break}Ys=t.return}}function yl(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{el(4,t)}catch(e){xc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){xc(t,i,e)}}var o=t.return;try{tl(t)}catch(e){xc(t,o,e)}break;case 5:var a=t.return;try{tl(t)}catch(e){xc(t,a,e)}}}catch(e){xc(t,t.return,e)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var _l,xl=Math.ceil,wl=b.ReactCurrentDispatcher,Sl=b.ReactCurrentOwner,El=b.ReactCurrentBatchConfig,Al=0,kl=null,Cl=null,Ol=0,Tl=0,Rl=xi(0),Ml=0,Pl=null,Il=0,Nl=0,Ll=0,Dl=null,Vl=null,jl=0,zl=1/0,Fl=null,Bl=!1,$l=null,Ul=null,Hl=!1,Wl=null,Gl=0,ql=0,Kl=null,Yl=-1,Xl=0;function Ql(){return 6&Al?Ke():-1!==Yl?Yl:Yl=Ke()}function Jl(e){return 1&e.mode?2&Al&&0!==Ol?Ol&-Ol:null!==fo.transition?(0===Xl&&(Xl=pt()),Xl):0!==(e=gt)?e:e=void 0===(e=window.event)?16:qt(e.type):1}function Zl(e,t,r,i){if(50<ql)throw ql=0,Kl=null,Error(n(185));ht(e,r,i),2&Al&&e===kl||(e===kl&&(!(2&Al)&&(Nl|=r),4===Ml&&ic(e,Ol)),ec(e,i),1===r&&0===Al&&!(1&t.mode)&&(zl=Ke()+500,Di&&zi()))}function ec(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),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=ut(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ct(e,e===kl?Ol:0);if(0===r)null!==n&&We(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&We(n),1===t)0===e.tag?function(e){Di=!0,ji(e)}(oc.bind(null,e)):ji(oc.bind(null,e)),ri(function(){!(6&Al)&&zi()}),n=null;else{switch(bt(r)){case 1:n=Xe;break;case 4:n=Qe;break;case 16:default:n=Je;break;case 536870912:n=et}n=kc(n,tc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tc(e,t){if(Yl=-1,Xl=0,6&Al)throw Error(n(327));var r=e.callbackNode;if(yc()&&e.callbackNode!==r)return null;var i=ct(e,e===kl?Ol:0);if(0===i)return null;if(30&i||0!==(i&e.expiredLanes)||t)t=fc(e,i);else{t=i;var o=Al;Al|=2;var a=dc();for(kl===e&&Ol===t||(Fl=null,zl=Ke()+500,cc(e,t));;)try{mc();break}catch(t){uc(e,t)}Eo(),wl.current=a,Al=o,null!==Cl?t=0:(kl=null,Ol=0,t=Ml)}if(0!==t){if(2===t&&0!==(o=dt(e))&&(i=o,t=nc(e,o)),1===t)throw r=Pl,cc(e,0),ic(e,i),ec(e,Ke()),r;if(6===t)ic(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=fc(e,i),2===t&&(a=dt(e),0!==a&&(i=a,t=nc(e,a))),1!==t)))throw r=Pl,cc(e,0),ic(e,i),ec(e,Ke()),r;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(n(345));case 2:case 5:vc(e,Vl,Fl);break;case 3:if(ic(e,i),(130023424&i)===i&&10<(t=jl+500-Ke())){if(0!==ct(e,0))break;if(((o=e.suspendedLanes)&i)!==i){Ql(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ei(vc.bind(null,e,Vl,Fl),t);break}vc(e,Vl,Fl);break;case 4:if(ic(e,i),(4194240&i)===i)break;for(t=e.eventTimes,o=-1;0<i;){var s=31-rt(i);a=1<<s,(s=t[s])>o&&(o=s),i&=~a}if(i=o,10<(i=(120>(i=Ke()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*xl(i/1960))-i)){e.timeoutHandle=ei(vc.bind(null,e,Vl,Fl),i);break}vc(e,Vl,Fl);break;default:throw Error(n(329))}}}return ec(e,Ke()),e.callbackNode===r?tc.bind(null,e):null}function nc(e,t){var n=Dl;return e.current.memoizedState.isDehydrated&&(cc(e,t).flags|=256),2!==(e=fc(e,t))&&(t=Vl,Vl=n,null!==t&&rc(t)),e}function rc(e){null===Vl?Vl=e:Vl.push.apply(Vl,e)}function ic(e,t){for(t&=~Ll,t&=~Nl,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 oc(e){if(6&Al)throw Error(n(327));yc();var t=ct(e,0);if(!(1&t))return ec(e,Ke()),null;var r=fc(e,t);if(0!==e.tag&&2===r){var i=dt(e);0!==i&&(t=i,r=nc(e,i))}if(1===r)throw r=Pl,cc(e,0),ic(e,t),ec(e,Ke()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,vc(e,Vl,Fl),ec(e,Ke()),null}function ac(e,t){var n=Al;Al|=1;try{return e(t)}finally{0===(Al=n)&&(zl=Ke()+500,Di&&zi())}}function sc(e){null!==Wl&&0===Wl.tag&&!(6&Al)&&yc();var t=Al;Al|=1;var n=El.transition,r=gt;try{if(El.transition=null,gt=1,e)return e()}finally{gt=r,El.transition=n,!(6&(Al=t))&&zi()}}function lc(){Tl=Rl.current,wi(Rl)}function cc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ti(n)),null!==Cl)for(n=Cl.return;null!==n;){var r=n;switch(Ji(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ri();break;case 3:Ko(),wi(ki),wi(Ai),ea();break;case 5:Xo(r);break;case 4:Ko();break;case 13:case 19:wi(Qo);break;case 10:Ao(r.type._context);break;case 22:case 23:lc()}n=n.return}if(kl=e,Cl=e=Rc(e.current,null),Ol=Tl=t,Ml=0,Pl=null,Ll=Nl=Il=0,Vl=Dl=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[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}To=null}return e}function uc(e,t){for(;;){var r=Cl;try{if(Eo(),ta.current=Ya,sa){for(var i=ia.memoizedState;null!==i;){var o=i.queue;null!==o&&(o.pending=null),i=i.next}sa=!1}if(ra=0,aa=oa=ia=null,la=!1,ca=0,Sl.current=null,null===r||null===r.return){Ml=1,Pl=t,Cl=null;break}e:{var a=e,s=r.return,l=r,c=t;if(t=Ol,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=fs(s);if(null!==h){h.flags&=-257,hs(h,s,l,0,t),1&h.mode&&ps(a,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){ps(a,u,t),pc();break e}c=Error(n(426))}else if(to&&1&l.mode){var b=fs(s);if(null!==b){!(65536&b.flags)&&(b.flags|=256),hs(b,s,l,0,t),po(as(c,l));break e}}a=c=as(c,l),4!==Ml&&(Ml=2),null===Dl?Dl=[a]:Dl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,zo(a,us(0,c,t));break e;case 1:l=c;var v=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof v.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Ul&&Ul.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,zo(a,ds(a,l,t));break e}}a=a.return}while(null!==a)}bc(r)}catch(e){t=e,Cl===r&&null!==r&&(Cl=r=r.return);continue}break}}function dc(){var e=wl.current;return wl.current=Ya,null===e?Ya:e}function pc(){0!==Ml&&3!==Ml&&2!==Ml||(Ml=4),null===kl||!(268435455&Il)&&!(268435455&Nl)||ic(kl,Ol)}function fc(e,t){var r=Al;Al|=2;var i=dc();for(kl===e&&Ol===t||(Fl=null,cc(e,t));;)try{hc();break}catch(t){uc(e,t)}if(Eo(),Al=r,wl.current=i,null!==Cl)throw Error(n(261));return kl=null,Ol=0,Ml}function hc(){for(;null!==Cl;)gc(Cl)}function mc(){for(;null!==Cl&&!Ge();)gc(Cl)}function gc(e){var t=_l(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===t?bc(e):Cl=t,Sl.current=null}function bc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ws(n,t)))return n.flags&=32767,void(Cl=n);if(null===e)return Ml=6,void(Cl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Hs(n,t,Tl)))return void(Cl=n);if(null!==(t=t.sibling))return void(Cl=t);Cl=t=e}while(null!==t);0===Ml&&(Ml=5)}function vc(e,t,r){var i=gt,o=El.transition;try{El.transition=null,gt=1,function(e,t,r,i){do{yc()}while(null!==Wl);if(6&Al)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===kl&&(Cl=kl=null,Ol=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Hl||(Hl=!0,kc(Je,function(){return yc(),null})),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=El.transition,El.transition=null;var s=gt;gt=1;var l=Al;Al|=4,Sl.current=null,function(e,t){if(Qr=Bt,ur(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 s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==r||0!==o&&3!==p.nodeType||(l=s+o),p!==a||0!==i&&3!==p.nodeType||(c=s+i),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===r&&++u===o&&(l=s),f===a&&++d===i&&(c=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(Jr={focusedElem:e,selectionRange:r},Bt=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;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 g=m.memoizedProps,b=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Za(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(n(163))}}catch(e){xc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}m=Js,Js=!1}(e,r),fl(r,e),dr(Jr),Bt=!!Qr,Jr=Qr=null,e.current=r,ml(r),qe(),Al=l,gt=s,El.transition=a}else e.current=r;if(Hl&&(Hl=!1,Wl=e,Gl=o),0===(a=e.pendingLanes)&&(Ul=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),ec(e,Ke()),null!==t)for(i=e.onRecoverableError,r=0;r<t.length;r++)i((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Bl)throw Bl=!1,e=$l,$l=null,e;!!(1&Gl)&&0!==e.tag&&yc(),1&(a=e.pendingLanes)?e===Kl?ql++:(ql=0,Kl=e):ql=0,zi()}(e,t,r,i)}finally{El.transition=o,gt=i}return null}function yc(){if(null!==Wl){var e=bt(Gl),t=El.transition,r=gt;try{if(El.transition=null,gt=16>e?16:e,null===Wl)var i=!1;else{if(e=Wl,Wl=null,Gl=0,6&Al)throw Error(n(331));var o=Al;for(Al|=4,Ys=e.current;null!==Ys;){var a=Ys,s=a.child;if(16&Ys.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Ys=u;null!==Ys;){var d=Ys;switch(d.tag){case 0:case 11:case 15:Zs(8,d,a)}var p=d.child;if(null!==p)p.return=d,Ys=p;else for(;null!==Ys;){var f=(d=Ys).sibling,h=d.return;if(nl(d),d===u){Ys=null;break}if(null!==f){f.return=h,Ys=f;break}Ys=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}Ys=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Ys=s;else e:for(;null!==Ys;){if(2048&(a=Ys).flags)switch(a.tag){case 0:case 11:case 15:Zs(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Ys=v;break e}Ys=a.return}}var y=e.current;for(Ys=y;null!==Ys;){var _=(s=Ys).child;if(2064&s.subtreeFlags&&null!==_)_.return=s,Ys=_;else e:for(s=y;null!==Ys;){if(2048&(l=Ys).flags)try{switch(l.tag){case 0:case 11:case 15:el(9,l)}}catch(e){xc(l,l.return,e)}if(l===s){Ys=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Ys=x;break e}Ys=l.return}}if(Al=o,zi(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch(e){}i=!0}return i}finally{gt=r,El.transition=t}}return!1}function _c(e,t,n){e=Vo(e,t=us(0,t=as(n,t),1),1),t=Ql(),null!==e&&(ht(e,1,t),ec(e,t))}function xc(e,t,n){if(3===e.tag)_c(e,e,n);else for(;null!==t;){if(3===t.tag){_c(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ul||!Ul.has(r))){t=Vo(t,e=ds(t,e=as(n,e),1),1),e=Ql(),null!==t&&(ht(t,1,e),ec(t,e));break}}t=t.return}}function wc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Ql(),e.pingedLanes|=e.suspendedLanes&n,kl===e&&(Ol&n)===n&&(4===Ml||3===Ml&&(130023424&Ol)===Ol&&500>Ke()-jl?cc(e,0):Ll|=n),ec(e,t)}function Sc(e,t){0===t&&(1&e.mode?(t=st,!(130023424&(st<<=1))&&(st=4194304)):t=1);var n=Ql();null!==(e=Po(e,t))&&(ht(e,t,n),ec(e,n))}function Ec(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Sc(e,n)}function Ac(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),Sc(e,r)}function kc(e,t){return He(e,t)}function Cc(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 Oc(e,t,n,r){return new Cc(e,t,n,r)}function Tc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Oc(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 Mc(e,t,r,i,o,a){var s=2;if(i=e,"function"==typeof e)Tc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case _:return Pc(r.children,o,a,t);case x:s=8,o|=8;break;case w:return(e=Oc(12,r,t,2|o)).elementType=w,e.lanes=a,e;case k:return(e=Oc(13,r,t,o)).elementType=k,e.lanes=a,e;case C:return(e=Oc(19,r,t,o)).elementType=C,e.lanes=a,e;case R:return Ic(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case E:s=9;break e;case A:s=11;break e;case O:s=14;break e;case T:s=16,i=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Oc(s,r,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Pc(e,t,n,r){return(e=Oc(7,e,r,t)).lanes=n,e}function Ic(e,t,n,r){return(e=Oc(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Nc(e,t,n){return(e=Oc(6,e,null,t)).lanes=n,e}function Lc(e,t,n){return(t=Oc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dc(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=ft(0),this.expirationTimes=ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ft(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Vc(e,t,n,r,i,o,a,s,l){return e=new Dc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Oc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},No(o),e}function jc(e){if(!e)return Ei;e:{if(ze(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(Ti(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(Ti(r))return Pi(e,r,t)}return t}function zc(e,t,n,r,i,o,a,s,l){return(e=Vc(n,r,!0,e,0,o,0,s,l)).context=jc(null),n=e.current,(o=Do(r=Ql(),i=Jl(n))).callback=null!=t?t:null,Vo(n,o,i),e.current.lanes=i,ht(e,i,r),ec(e,r),e}function Fc(e,t,n,r){var i=t.current,o=Ql(),a=Jl(i);return n=jc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Do(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Vo(i,t,a))&&(Zl(e,i,a,o),jo(e,i,a)),a}function Bc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $c(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Uc(e,t){$c(e,t),(e=e.alternate)&&$c(e,t)}_l=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||ki.current)gs=!0;else{if(0===(e.lanes&r)&&!(128&t.flags))return gs=!1,function(e,t,n){switch(t.tag){case 3:ks(t),uo();break;case 5:Yo(t);break;case 1:Ti(t.type)&&Ii(t);break;case 4:qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Si(_o,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Si(Qo,1&Qo.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ns(e,t,n):(Si(Qo,1&Qo.current),null!==(e=Bs(e,t,n))?e.sibling:null);Si(Qo,1&Qo.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return zs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Si(Qo,Qo.current),r)break;return null;case 22:case 23:return t.lanes=0,xs(e,t,n)}return Bs(e,t,n)}(e,t,r);gs=!!(131072&e.flags)}else gs=!1,to&&1048576&t.flags&&Xi(t,Ui,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Fs(e,t),e=t.pendingProps;var o=Oi(t,Ai.current);Co(t,r),o=fa(null,t,i,e,o,r);var a=ha();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,Ti(i)?(a=!0,Ii(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,No(t),o.updater=ts,t.stateNode=o,o._reactInternals=t,os(t,i,e,r),t=As(null,t,i,!0,a,r)):(t.tag=0,to&&a&&Qi(t),bs(null,t,o,r),t=t.child),t;case 16:i=t.elementType;e:{switch(Fs(e,t),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Tc(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===O)return 14}return 2}(i),e=Za(i,e),o){case 0:t=Ss(null,t,i,e,r);break e;case 1:t=Es(null,t,i,e,r);break e;case 11:t=vs(null,t,i,e,r);break e;case 14:t=ys(null,t,i,Za(i.type,e),r);break e}throw Error(n(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,Ss(e,t,i,o=t.elementType===i?o:Za(i,o),r);case 1:return i=t.type,o=t.pendingProps,Es(e,t,i,o=t.elementType===i?o:Za(i,o),r);case 3:e:{if(ks(t),null===e)throw Error(n(387));i=t.pendingProps,o=(a=t.memoizedState).element,Lo(e,t),Fo(t,i,null,r);var s=t.memoizedState;if(i=s.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Cs(e,t,i,r,o=as(Error(n(423)),t));break e}if(i!==o){t=Cs(e,t,i,r,o=as(Error(n(424)),t));break e}for(eo=ai(t.stateNode.containerInfo.firstChild),Zi=t,to=!0,no=null,r=yo(t,null,i,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(uo(),i===o){t=Bs(e,t,r);break e}bs(e,t,i,r)}t=t.child}return t;case 5:return Yo(t),null===e&&ao(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,Zr(i,o)?s=null:null!==a&&Zr(i,a)&&(t.flags|=32),ws(e,t),bs(e,t,s,r),t.child;case 6:return null===e&&ao(t),null;case 13:return Ns(e,t,r);case 4:return qo(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=vo(t,null,i,r):bs(e,t,i,r),t.child;case 11:return i=t.type,o=t.pendingProps,vs(e,t,i,o=t.elementType===i?o:Za(i,o),r);case 7:return bs(e,t,t.pendingProps,r),t.child;case 8:case 12:return bs(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Si(_o,i._currentValue),i._currentValue=s,null!==a)if(ir(a.value,s)){if(a.children===o.children&&!ki.current){t=Bs(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===i){if(1===a.tag){(c=Do(-1,r&-r)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=r,null!==(c=a.alternate)&&(c.lanes|=r),ko(a.return,r,t),l.lanes|=r;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(n(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),ko(s,r,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}bs(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,Co(t,r),i=i(o=Oo(o)),t.flags|=1,bs(e,t,i,r),t.child;case 14:return o=Za(i=t.type,t.pendingProps),ys(e,t,i,o=Za(i.type,o),r);case 15:return _s(e,t,t.type,t.pendingProps,r);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Za(i,o),Fs(e,t),t.tag=1,Ti(i)?(e=!0,Ii(t)):e=!1,Co(t,r),rs(t,i,o),os(t,i,o,r),As(null,t,i,!0,e,r);case 19:return zs(e,t,r);case 22:return xs(e,t,r)}throw Error(n(156,t.tag))};var Hc="function"==typeof reportError?reportError:function(e){console.error(e)};function Wc(e){this._internalRoot=e}function Gc(e){this._internalRoot=e}function qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yc(){}function Xc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=Bc(a);s.call(e)}}Fc(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=Bc(a);o.call(e)}}var a=zc(t,r,e,0,null,!1,0,"",Yc);return e._reactRootContainer=a,e[di]=a.current,zr(8===e.nodeType?e.parentNode:e),sc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Bc(l);s.call(e)}}var l=Vc(e,0,!1,null,0,!1,0,"",Yc);return e._reactRootContainer=l,e[di]=l.current,zr(8===e.nodeType?e.parentNode:e),sc(function(){Fc(t,l,n,r)}),l}(n,t,e,i,r);return Bc(a)}Gc.prototype.render=Wc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Fc(e,t,null,null)},Gc.prototype.unmount=Wc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sc(function(){Fc(null,e,null,null)}),t[di]=null}},Gc.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Nt(e)}},vt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=lt(t.pendingLanes);0!==n&&(mt(t,1|n),ec(t,Ke()),!(6&Al)&&(zl=Ke()+500,zi()))}break;case 13:sc(function(){var t=Po(e,1);if(null!==t){var n=Ql();Zl(t,e,1,n)}}),Uc(e,1)}},yt=function(e){if(13===e.tag){var t=Po(e,134217728);null!==t&&Zl(t,e,134217728,Ql()),Uc(e,134217728)}},_t=function(e){if(13===e.tag){var t=Jl(e),n=Po(e,t);null!==n&&Zl(n,e,t,Ql()),Uc(e,t)}},xt=function(){return gt},wt=function(e,t){var n=gt;try{return gt=e,t()}finally{gt=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=vi(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)}},Ae=ac,ke=sc;var Qc={usingClientEntryPoint:!1,Events:[gi,bi,vi,Se,Ee,ac]},Jc={findFiberByHostInstance:mi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Zc={bundleType:Jc.bundleType,version:Jc.version,rendererPackageName:Jc.rendererPackageName,rendererConfig:Jc.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=$e(e))?null:e.stateNode},findFiberByHostInstance:Jc.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 eu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!eu.isDisabled&&eu.supportsFiber)try{tt=eu.inject(Zc),nt=eu}catch(se){}}return reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qc,reactDom_production_min.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!qc(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)},reactDom_production_min.createRoot=function(e,t){if(!qc(e))throw Error(n(299));var r=!1,i="",o=Hc;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Vc(e,1,!1,null,0,r,0,i,o),e[di]=t.current,zr(8===e.nodeType?e.parentNode:e),new Wc(t)},reactDom_production_min.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=$e(t))?null:e.stateNode},reactDom_production_min.flushSync=function(e){return sc(e)},reactDom_production_min.hydrate=function(e,t,r){if(!Kc(t))throw Error(n(200));return Xc(null,e,t,!0,r)},reactDom_production_min.hydrateRoot=function(e,t,r){if(!qc(e))throw Error(n(405));var i=null!=r&&r.hydratedSources||null,o=!1,a="",s=Hc;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(s=r.onRecoverableError)),t=zc(t,null,e,1,null!=r?r:null,o,0,a,s),e[di]=t.current,zr(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 Gc(t)},reactDom_production_min.render=function(e,t,r){if(!Kc(t))throw Error(n(200));return Xc(null,e,t,!1,r)},reactDom_production_min.unmountComponentAtNode=function(e){if(!Kc(e))throw Error(n(40));return!!e._reactRootContainer&&(sc(function(){Xc(null,null,e,!1,function(){e._reactRootContainer=null,e[di]=null})}),!0)},reactDom_production_min.unstable_batchedUpdates=ac,reactDom_production_min.unstable_renderSubtreeIntoContainer=function(e,t,r,i){if(!Kc(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Xc(e,t,r,!1,i)},reactDom_production_min.version="18.3.1-next-f1338f8080-20240426",reactDom_production_min}function requireReactDom(){return hasRequiredReactDom||(hasRequiredReactDom=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)}}(),reactDom.exports=requireReactDom_production_min()),reactDom.exports}var reactDomExports=requireReactDom();function defaultNoopBatch(e){e()}function observerBatching(e){e||(e=defaultNoopBatch),configure({reactionScheduler:e})}function printDebugValue(e){return getDependencyTree(e)}var REGISTRY_FINALIZE_AFTER=1e4,REGISTRY_SWEEP_INTERVAL=1e4,TimerBasedFinalizationRegistry=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=REGISTRY_FINALIZE_AFTER),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,REGISTRY_SWEEP_INTERVAL))}}),e}(),UniversalFinalizationRegistry="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:TimerBasedFinalizationRegistry,observerFinalizationRegistry=new UniversalFinalizationRegistry(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),shim={exports:{}},useSyncExternalStoreShim_production={},hasRequiredUseSyncExternalStoreShim_production,hasRequiredShim;function requireUseSyncExternalStoreShim_production(){if(hasRequiredUseSyncExternalStoreShim_production)return useSyncExternalStoreShim_production;hasRequiredUseSyncExternalStoreShim_production=1;var e=requireReact(),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 s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var s=t(),l=n({inst:{value:s,getSnapshot:t}}),c=l[0].inst,u=l[1];return i(function(){c.value=s,c.getSnapshot=t,a(c)&&u({inst:c})},[e,s,t]),r(function(){return a(c)&&u({inst:c}),e(function(){a(c)&&u({inst:c})})},[e]),o(s),s};return useSyncExternalStoreShim_production.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,useSyncExternalStoreShim_production}function requireShim(){return hasRequiredShim||(hasRequiredShim=1,shim.exports=requireUseSyncExternalStoreShim_production()),shim.exports}var shimExports=requireShim(),_a$2,_b;function createReaction(e){e.reaction=new Reaction("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}function useObserver(e,t){void 0===t&&(t="observed");var n=React.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return observerFinalizationRegistry.unregister(r),r.onStoreChange=e,r.reaction||(createReaction(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||(createReaction(a),observerFinalizationRegistry.register(n,a,a)),React.useDebugValue(a.reaction,printDebugValue),shimExports.useSyncExternalStore(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track(function(){try{i=e()}catch(e){o=e}}),o)throw o;return i}var hasSymbol="function"==typeof Symbol&&Symbol.for,isFunctionNameConfigurable=null!==(_b=null===(_a$2=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===_a$2?void 0:_a$2.configurable)&&void 0!==_b&&_b,ReactForwardRefSymbol=hasSymbol?Symbol.for("react.forward_ref"):"function"==typeof reactExports.forwardRef&&reactExports.forwardRef(function(e){return null}).$$typeof,ReactMemoSymbol=hasSymbol?Symbol.for("react.memo"):"function"==typeof reactExports.memo&&reactExports.memo(function(e){return null}).$$typeof;function observer(e,t){if(ReactMemoSymbol&&e.$$typeof===ReactMemoSymbol)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(ReactForwardRefSymbol&&e.$$typeof===ReactForwardRefSymbol&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var o=function(e,t){return useObserver(function(){return r(e,t)},i)};return o.displayName=e.displayName,isFunctionNameConfigurable&&Object.defineProperty(o,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(o.contextTypes=e.contextTypes),n&&(o=reactExports.forwardRef(o)),copyStaticProperties(e,o=reactExports.memo(o)),o}var hoistBlackList={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0},_a$1;function copyStaticProperties(e,t){Object.keys(e).forEach(function(n){hoistBlackList[n]||Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}observerBatching(reactDomExports.unstable_batchedUpdates),_a$1=observerFinalizationRegistry.finalizeAllImmediately;const staticCounter=createCounter(e=>e.toString(16)),generateVmId=e=>{if(!e.generateId){const t=staticCounter(),n=createCounter(e=>e.toString().padStart(5,"0"));e.generateId=()=>`${t}_${n().toString().padStart(5,"0")}`}return e.generateId()},mergeVMConfigs=(...e)=>{const t={...viewModelsConfig,startViewTransitions:structuredClone(viewModelsConfig.startViewTransitions),observable:{viewModels:{...viewModelsConfig.observable.viewModels},viewModelStores:{...viewModelsConfig.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},viewModelsConfig=createGlobalConfig({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:generateVmId,factory:e=>new(0,e.VM)({...e,vmConfig:mergeVMConfigs(e.vmConfig)}),hooks:{storeCreate:createPubSub()}},Symbol.for("VIEW_MODELS_CONFIG")),applyObservable=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||applyObservable$1(e,t,n.useDecorators)},isViewModelClass=e=>e.prototype.payloadChanged,baseAnnotations=[["_isMounted",observable.ref],["_isUnmounting",observable.ref],["isMounted",computed],["isUnmounting",computed],["parentViewModel",computed],["mount",action.bound],["didMount",action],["unmount",action.bound],["didUnmount",action],["willUnmount",action],["setPayload",action]];class ViewModelBase{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=mergeVMConfigs(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=comparer.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=isShallowEqual:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...baseAnnotations];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",observable[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",computed.struct]):t.push(["payload",computed({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),applyObservable(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),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),runInAction(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||startViewTransitionSafety(()=>{runInAction(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class ViewModelStoreBase{constructor(e){this.config=e,this.viewModels=observable.map([],{deep:!1}),this.linkedComponentVMClasses=observable.map([],{deep:!1}),this.viewModelIdsByClasses=observable.map([],{deep:!0}),this.instanceAttachedCount=observable.map([],{deep:!1}),this.mountingViews=observable.set([],{deep:!1}),this.unmountingViews=observable.set([],{deep:!1}),this.vmConfig=mergeVMConfigs(e?.vmConfig),this.viewModelsTempHeap=new Map,applyObservable(this,[["mountedViewsCount",computed],["mount",action],["unmount",action],["attachVMConstructor",action],["attach",action],["detach",action],["linkComponents",action],["unlinkComponents",action]],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=mergeVMConfigs(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?.()),runInAction(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),runInAction(()=>{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 ActiveViewModelContext=reactExports.createContext(null),ViewModelsContext=reactExports.createContext(null),ActiveViewModelProvider=ActiveViewModelContext.Provider,useIsomorphicLayoutEffect="undefined"==typeof window?reactExports.useEffect:reactExports.useLayoutEffect;let useValueImpl=null;useValueImpl=e=>{const t=reactExports.useRef(null);return t.current||(t.current=e()),t.current};const useValue=useValueImpl;function useCreateViewModel(e,t,n){return isViewModelClass(e)?useCreateViewModelBase(e,t,n):useCreateViewModelSimple(e,t)}const useCreateViewModelBase=(e,t,n)=>{const r=reactExports.useContext(ViewModelsContext),i=reactExports.useContext(ActiveViewModelContext),o=n?.ctx??{},a=useValue(()=>{const a=r?.generateViewModelId({...n,ctx:o,VM:e,parentViewModelId:i?.id??null})??n?.id??viewModelsConfig.generateId(o),s=r?r.get(a):null;if(s)return s;{const s={...n,vmConfig:n?.vmConfig,id:a,parentViewModelId:i?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:i,ctx:o};r?.processCreateConfig(s);const l=n?.factory?.(s)??r?.createViewModel(s)??viewModelsConfig.factory(s);return l.willMount(),r?.markToBeAttached(l),l}});return useIsomorphicLayoutEffect(()=>r?(r.attach(a),()=>{r.detach(a.id)}):(a.mount(),()=>{a.willUnmount(),a.unmount()}),[a]),a.setPayload(t??{}),a},useCreateViewModelSimple=(e,t)=>{const n=reactExports.useContext(ViewModelsContext),r=reactExports.useContext(ActiveViewModelContext),i=useValue(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in i&&reactExports.useLayoutEffect(()=>{i.setPayload(t)},[t]),useIsomorphicLayoutEffect(()=>n?(n.attach(i),()=>{n.detach(i.id)}):(i.mount?.(),()=>{i.unmount?.()}),[i]),i};observer(({model:e,config:t,payload:n,children:r})=>{const i=useCreateViewModel(e,n,t);return i.isMounted?"function"==typeof r?r(i):jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:r}):null});const ViewModelsProvider=ViewModelsContext.Provider;function withViewModel(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return withViewModelWrapper(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=>withViewModelWrapper(e,r,t)}}const REACT_MEMO_SYMBOL=Symbol.for("react.memo"),withViewModelWrapper=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??viewModelsConfig.processViewComponent,i=t.vmConfig?.wrapViewsInObserver??viewModelsConfig.wrapViewsInObserver;let o=r?.(n,e,t)??n;i&&o&&o.$$typeof!==REACT_MEMO_SYMBOL&&(o=observer(o));const a=t.reactHook,s=t.getPayload,l=t.fallback??viewModelsConfig.fallbackComponent;let c=(n,r)=>{const i=reactExports.useContext(ViewModelsContext);a?.(n,t.ctx,i,r);const{payload:c,...u}=n,d=s?.(n)??c;t.forwardRef&&!("forwardedRef"in u)&&(u.forwardedRef=r);const p=useCreateViewModel(e,d,{...t,props:u});return i&&!i.isAbleToRenderView(p.id)||!1===p.isMounted?l&&jsxRuntimeExports.jsx(l,{...n,payload:d}):jsxRuntimeExports.jsx(ActiveViewModelProvider,{value:p,children:o&&jsxRuntimeExports.jsx(o,{...u,model:p})})};return t.forwardRef&&(c=reactExports.forwardRef(c)),c=observer(c),t.component=c,c};class ViewModelImpl extends ViewModelBase{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}class LinkedAbortController extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const callFunction=(e,...t)=>"function"==typeof e?e(...t):e;var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root$1=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root$1.Symbol,objectProto$1=Object.prototype,hasOwnProperty=objectProto$1.hasOwnProperty,nativeObjectToString$1=objectProto$1.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty.call(e,symToStringTag$1),n=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var r=!0}catch(e){}var i=nativeObjectToString$1.call(e);return r&&(t?e[symToStringTag$1]=n:delete e[symToStringTag$1]),i}var objectProto=Object.prototype,nativeObjectToString=objectProto.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(e){return null==e?void 0===e?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObjectLike(e){return null!=e&&"object"==typeof e}var symbolTag="[object Symbol]";function isSymbol(e){return"symbol"==typeof e||isObjectLike(e)&&baseGetTag(e)==symbolTag}var reWhitespace=/\s/;function trimmedEndIndex(e){for(var t=e.length;t--&&reWhitespace.test(e.charAt(t)););return t}var reTrimStart=/^\s+/;function baseTrim(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(reTrimStart,""):e}function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=baseTrim(e);var n=reIsBinary.test(e);return n||reIsOctal.test(e)?freeParseInt(e.slice(2),n?2:8):reIsBadHex.test(e)?NAN:+e}function baseClamp(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function clamp(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=toNumber(n))==n?n:0),void 0!==t&&(t=(t=toNumber(t))==t?t:0),baseClamp(toNumber(e),t,n)}var now=function(){return root$1.Date.now()},FUNC_ERROR_TEXT$1="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(e,t,n){var r,i,o,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT$1);function f(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function m(){var e=now();if(h(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?nativeMin(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?f(e):(r=i=void 0,a)}function b(){var e=now(),n=h(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?f(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(m,t),f(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=toNumber(t)||0,isObject(n)&&(u=!!n.leading,o=(d="maxWait"in n)?nativeMax(toNumber(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},b.flush=function(){return void 0===s?a:g(now())},b}var FUNC_ERROR_TEXT="Expected a function";function throttle(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);return isObject(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),debounce(e,t,{leading:r,maxWait:t,trailing:i})}let KeyboardHandler$1=class{constructor(e){if(this.config=e,this.abortController=new LinkedAbortController(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),observable.ref(this,"isActivated"),observable.ref(this,"localActions"),computed.struct(this,"actions"),action.bound(this,"handleKeyboardClick"),action.bound(this,"setActions"),makeObservable(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new LinkedAbortController;reaction(()=>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 LinkedAbortController(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 callFunction(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(!callFunction(n.disabled))for(let t=0;t<n.shortcuts.length;t++)if(n.shortcuts[t].split("+").every(t=>this.checkKey(e,t)))return void runInAction(()=>{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 Storage{constructor(e){this.config=e,this.abortController=new LinkedAbortController(e?.abortSignal),this.abortSignal=this.abortController.signal,makeObservable(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];runInAction(()=>{e[t]=this.get({...n,key:r,fallback:i})??e[t]});const o=autorun(()=>{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 client={},hasRequiredClient;function requireClient(){if(hasRequiredClient)return client;hasRequiredClient=1;var e=requireReactDom();return client.createRoot=e.createRoot,client.hydrateRoot=e.hydrateRoot,client}var clientExports=requireClient();function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function clsx(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}const CLASS_PART_SEPARATOR="-",createClassGroupUtils=e=>{const t=createClassMap(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split(CLASS_PART_SEPARATOR);return""===n[0]&&1!==n.length&&n.shift(),getGroupRecursive(n,t)||getGroupIdForArbitraryProperty(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},getGroupRecursive=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?getGroupRecursive(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join(CLASS_PART_SEPARATOR);return t.validators.find(({validator:e})=>e(o))?.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=e=>{if(arbitraryPropertyRegex.test(e)){const t=arbitraryPropertyRegex.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},createClassMap=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)processClassesRecursively(n[e],r,e,t);return r},processClassesRecursively=(e,t,n,r)=>{e.forEach(e=>{if("string"!=typeof e)return"function"==typeof e?isThemeGetter(e)?void processClassesRecursively(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n}):void Object.entries(e).forEach(([e,i])=>{processClassesRecursively(i,getPart(t,e),n,r)});(""===e?t:getPart(t,e)).classGroupId=n})},getPart=(e,t)=>{let n=e;return t.split(CLASS_PART_SEPARATOR).forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},isThemeGetter=e=>e.isThemeGetter,createLruCache=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)}}},IMPORTANT_MODIFIER="!",MODIFIER_SEPARATOR=":",MODIFIER_SEPARATOR_LENGTH=MODIFIER_SEPARATOR.length,createParseClassName=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 s=e[a];if(0===r&&0===i){if(s===MODIFIER_SEPARATOR){t.push(e.slice(o,a)),o=a+MODIFIER_SEPARATOR_LENGTH;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=stripImportantModifier(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+MODIFIER_SEPARATOR,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},stripImportantModifier=e=>e.endsWith(IMPORTANT_MODIFIER)?e.substring(0,e.length-1):e.startsWith(IMPORTANT_MODIFIER)?e.substring(1):e,createSortModifiers=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}},createConfigUtils=e=>({cache:createLruCache(e.cacheSize),parseClassName:createParseClassName(e),sortModifiers:createSortModifiers(e),...createClassGroupUtils(e)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(SPLIT_CLASSES_REGEX);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!f,m=r(h?p.substring(0,f):p);if(!m){if(!h){l=t+(l.length>0?" "+l:l);continue}if(m=r(p),!m){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=o(u).join(":"),b=d?g+IMPORTANT_MODIFIER:g,v=b+m;if(a.includes(v))continue;a.push(v);const y=i(m,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l};function twJoin(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=toValue(e))&&(r&&(r+=" "),r+=t);return r}const toValue=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=toValue(e[r]))&&(n&&(n+=" "),n+=t);return n};function createTailwindMerge(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=createConfigUtils(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=mergeClassList(e,n);return i(e,o),o}return function(){return o(twJoin.apply(null,arguments))}}const fromTheme=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},arbitraryValueRegex=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,arbitraryVariableRegex=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fractionRegex=/^\d+\/\d+$/,tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\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$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isFraction=e=>fractionRegex.test(e),isNumber=e=>!!e&&!Number.isNaN(Number(e)),isInteger=e=>!!e&&Number.isInteger(Number(e)),isPercent=e=>e.endsWith("%")&&isNumber(e.slice(0,-1)),isTshirtSize=e=>tshirtUnitRegex.test(e),isAny=()=>!0,isLengthOnly=e=>lengthUnitRegex.test(e)&&!colorFunctionRegex.test(e),isNever=()=>!1,isShadow=e=>shadowRegex.test(e),isImage=e=>imageRegex.test(e),isAnyNonArbitrary=e=>!isArbitraryValue(e)&&!isArbitraryVariable(e),isArbitrarySize=e=>getIsArbitraryValue(e,isLabelSize,isNever),isArbitraryValue=e=>arbitraryValueRegex.test(e),isArbitraryLength=e=>getIsArbitraryValue(e,isLabelLength,isLengthOnly),isArbitraryNumber=e=>getIsArbitraryValue(e,isLabelNumber,isNumber),isArbitraryPosition=e=>getIsArbitraryValue(e,isLabelPosition,isNever),isArbitraryImage=e=>getIsArbitraryValue(e,isLabelImage,isImage),isArbitraryShadow=e=>getIsArbitraryValue(e,isLabelShadow,isShadow),isArbitraryVariable=e=>arbitraryVariableRegex.test(e),isArbitraryVariableLength=e=>getIsArbitraryVariable(e,isLabelLength),isArbitraryVariableFamilyName=e=>getIsArbitraryVariable(e,isLabelFamilyName),isArbitraryVariablePosition=e=>getIsArbitraryVariable(e,isLabelPosition),isArbitraryVariableSize=e=>getIsArbitraryVariable(e,isLabelSize),isArbitraryVariableImage=e=>getIsArbitraryVariable(e,isLabelImage),isArbitraryVariableShadow=e=>getIsArbitraryVariable(e,isLabelShadow,!0),getIsArbitraryValue=(e,t,n)=>{const r=arbitraryValueRegex.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},getIsArbitraryVariable=(e,t,n=!1)=>{const r=arbitraryVariableRegex.exec(e);return!!r&&(r[1]?t(r[1]):n)},isLabelPosition=e=>"position"===e||"percentage"===e,isLabelImage=e=>"image"===e||"url"===e,isLabelSize=e=>"length"===e||"size"===e||"bg-size"===e,isLabelLength=e=>"length"===e,isLabelNumber=e=>"number"===e,isLabelFamilyName=e=>"family-name"===e,isLabelShadow=e=>"shadow"===e,getDefaultConfig=()=>{const e=fromTheme("color"),t=fromTheme("font"),n=fromTheme("text"),r=fromTheme("font-weight"),i=fromTheme("tracking"),o=fromTheme("leading"),a=fromTheme("breakpoint"),s=fromTheme("container"),l=fromTheme("spacing"),c=fromTheme("radius"),u=fromTheme("shadow"),d=fromTheme("inset-shadow"),p=fromTheme("text-shadow"),f=fromTheme("drop-shadow"),h=fromTheme("blur"),m=fromTheme("perspective"),g=fromTheme("aspect"),b=fromTheme("ease"),v=fromTheme("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",isArbitraryVariable,isArbitraryValue],_=()=>[isArbitraryVariable,isArbitraryValue,l],x=()=>[isFraction,"full","auto",..._()],w=()=>[isInteger,"none","subgrid",isArbitraryVariable,isArbitraryValue],S=()=>["auto",{span:["full",isInteger,isArbitraryVariable,isArbitraryValue]},isInteger,isArbitraryVariable,isArbitraryValue],E=()=>[isInteger,"auto",isArbitraryVariable,isArbitraryValue],A=()=>["auto","min","max","fr",isArbitraryVariable,isArbitraryValue],k=()=>["auto",..._()],C=()=>[isFraction,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],O=()=>[e,isArbitraryVariable,isArbitraryValue],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",isArbitraryVariablePosition,isArbitraryPosition,{position:[isArbitraryVariable,isArbitraryValue]}],R=()=>["auto","cover","contain",isArbitraryVariableSize,isArbitrarySize,{size:[isArbitraryVariable,isArbitraryValue]}],M=()=>[isPercent,isArbitraryVariableLength,isArbitraryLength],P=()=>["","none","full",c,isArbitraryVariable,isArbitraryValue],I=()=>["",isNumber,isArbitraryVariableLength,isArbitraryLength],N=()=>[isNumber,isPercent,isArbitraryVariablePosition,isArbitraryPosition],L=()=>["","none",h,isArbitraryVariable,isArbitraryValue],D=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],V=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],j=()=>[isNumber,isArbitraryVariable,isArbitraryValue],z=()=>[isFraction,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[isTshirtSize],breakpoint:[isTshirtSize],color:[isAny],container:[isTshirtSize],"drop-shadow":[isTshirtSize],ease:["in","out","in-out"],font:[isAnyNonArbitrary],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[isTshirtSize],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[isTshirtSize],shadow:[isTshirtSize],spacing:["px",isNumber],text:[isTshirtSize],"text-shadow":[isTshirtSize],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",isFraction,isArbitraryValue,isArbitraryVariable,g]}],container:["container"],columns:[{columns:[isNumber,isArbitraryValue,isArbitraryVariable,s]}],"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:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{start:x()}],end:[{end:x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[isInteger,"auto",isArbitraryVariable,isArbitraryValue]}],basis:[{basis:[isFraction,"full","auto",s,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[isNumber,isFraction,"auto","initial","none",isArbitraryValue]}],grow:[{grow:["",isNumber,isArbitraryVariable,isArbitraryValue]}],shrink:[{shrink:["",isNumber,isArbitraryVariable,isArbitraryValue]}],order:[{order:[isInteger,"first","last","none",isArbitraryVariable,isArbitraryValue]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"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:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:C()}],w:[{w:[s,"screen",...C()]}],"min-w":[{"min-w":[s,"screen","none",...C()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...C()]}],h:[{h:["screen","lh",...C()]}],"min-h":[{"min-h":["screen","lh","none",...C()]}],"max-h":[{"max-h":["screen","lh",...C()]}],"font-size":[{text:["base",n,isArbitraryVariableLength,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,isArbitraryVariable,isArbitraryNumber]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",isPercent,isArbitraryValue]}],"font-family":[{font:[isArbitraryVariableFamilyName,isArbitraryValue,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,isArbitraryVariable,isArbitraryValue]}],"line-clamp":[{"line-clamp":[isNumber,"none",isArbitraryVariable,isArbitraryNumber]}],leading:[{leading:[o,..._()]}],"list-image":[{"list-image":["none",isArbitraryVariable,isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",isArbitraryVariable,isArbitraryValue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[isNumber,"from-font","auto",isArbitraryVariable,isArbitraryLength]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[isNumber,"auto",isArbitraryVariable,isArbitraryValue]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryVariable,isArbitraryValue]}],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",isArbitraryVariable,isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},isInteger,isArbitraryVariable,isArbitraryValue],radial:["",isArbitraryVariable,isArbitraryValue],conic:[isInteger,isArbitraryVariable,isArbitraryValue]},isArbitraryVariableImage,isArbitraryImage]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:M()}],"gradient-via-pos":[{via:M()}],"gradient-to-pos":[{to:M()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],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:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":I()}],"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:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[isNumber,isArbitraryVariable,isArbitraryValue]}],"outline-w":[{outline:["",isNumber,isArbitraryVariableLength,isArbitraryLength]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",u,isArbitraryVariableShadow,isArbitraryShadow]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,isArbitraryVariableShadow,isArbitraryShadow]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[isNumber,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",p,isArbitraryVariableShadow,isArbitraryShadow]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[isNumber,isArbitraryVariable,isArbitraryValue]}],"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":[isNumber]}],"mask-image-linear-from-pos":[{"mask-linear-from":N()}],"mask-image-linear-to-pos":[{"mask-linear-to":N()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":N()}],"mask-image-t-to-pos":[{"mask-t-to":N()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":N()}],"mask-image-r-to-pos":[{"mask-r-to":N()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":N()}],"mask-image-b-to-pos":[{"mask-b-to":N()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":N()}],"mask-image-l-to-pos":[{"mask-l-to":N()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":N()}],"mask-image-x-to-pos":[{"mask-x-to":N()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":N()}],"mask-image-y-to-pos":[{"mask-y-to":N()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[isArbitraryVariable,isArbitraryValue]}],"mask-image-radial-from-pos":[{"mask-radial-from":N()}],"mask-image-radial-to-pos":[{"mask-radial-to":N()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"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":[isNumber]}],"mask-image-conic-from-pos":[{"mask-conic-from":N()}],"mask-image-conic-to-pos":[{"mask-conic-to":N()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",isArbitraryVariable,isArbitraryValue]}],filter:[{filter:["","none",isArbitraryVariable,isArbitraryValue]}],blur:[{blur:L()}],brightness:[{brightness:[isNumber,isArbitraryVariable,isArbitraryValue]}],contrast:[{contrast:[isNumber,isArbitraryVariable,isArbitraryValue]}],"drop-shadow":[{"drop-shadow":["","none",f,isArbitraryVariableShadow,isArbitraryShadow]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"hue-rotate":[{"hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],invert:[{invert:["",isNumber,isArbitraryVariable,isArbitraryValue]}],saturate:[{saturate:[isNumber,isArbitraryVariable,isArbitraryValue]}],sepia:[{sepia:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-filter":[{"backdrop-filter":["","none",isArbitraryVariable,isArbitraryValue]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-contrast":[{"backdrop-contrast":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-invert":[{"backdrop-invert":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-opacity":[{"backdrop-opacity":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-saturate":[{"backdrop-saturate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-sepia":[{"backdrop-sepia":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",isArbitraryVariable,isArbitraryValue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[isNumber,"initial",isArbitraryVariable,isArbitraryValue]}],ease:[{ease:["linear","initial",b,isArbitraryVariable,isArbitraryValue]}],delay:[{delay:[isNumber,isArbitraryVariable,isArbitraryValue]}],animate:[{animate:["none",v,isArbitraryVariable,isArbitraryValue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,isArbitraryVariable,isArbitraryValue]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:j()}],"skew-x":[{"skew-x":j()}],"skew-y":[{"skew-y":j()}],transform:[{transform:[isArbitraryVariable,isArbitraryValue,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:z()}],"translate-x":[{"translate-x":z()}],"translate-y":[{"translate-y":z()}],"translate-z":[{"translate-z":z()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"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",isArbitraryVariable,isArbitraryValue]}],"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":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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",isArbitraryVariable,isArbitraryValue]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[isNumber,isArbitraryVariableLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:["none",...O()]}],"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"]}},twMerge=createTailwindMerge(getDefaultConfig),cx=(...e)=>twMerge(clsx(...e)),createEnhancedAtom=(e,t,n,r)=>{const i=createAtom(e,t&&(()=>t(i)),n&&(()=>n(i)));return i.meta=r??{},i.reportChanged=i.reportChanged.bind(i),i.reportObserved=i.reportObserved.bind(i),i},requestPermission=async(e,t)=>{if(globalThis.navigator&&"permissions"in globalThis.navigator)try{const n=await navigator.permissions.query({name:e});t.meta.permissionStatus=n,"prompt"!==t.meta.permissionStatus.state&&t.reportChanged(),t.meta.permissionStatus.addEventListener("change",t.reportChanged)}catch(e){runInAction(()=>{t.meta.error=e})}},getOrCreatePermissionAtom=(e,t)=>(e._atom||(e._atom=createEnhancedAtom("",e=>{e.meta.permissionStatus||requestPermission(t,e)},e=>e.meta.permissionStatus?.removeEventListener("change",e.reportChanged),makeObservable({retry:()=>requestPermission(t,e._atom)},{error:observable.ref}))),e._atom),createPermissionInfo=e=>({retry(){return getOrCreatePermissionAtom(this,e).meta.retry()},get state(){const t=getOrCreatePermissionAtom(this,e);return t.reportObserved(),t.meta.permissionStatus?.state??"prompt"},get isGranted(){return"granted"===this.state},get isDenied(){return"denied"===this.state},get isPrompt(){return"prompt"===this.state},get error(){const t=getOrCreatePermissionAtom(this,e);return t.reportObserved(),t.meta.error}}),permissions=new Proxy({},{get:(e,t)=>(e[t]||(e[t]=createPermissionInfo(t)),e[t])});class BaseGeolocationProvider{constructor(e){this.positionOptions=e,makeObservable(this,{position:observable.deep,error:computed.struct}),onBecomeObserved(this,"position",()=>{this.activate()}),onBecomeUnobserved(this,"position",()=>{this.deactivate()})}watchId;position={coords:{accuracy:0,altitude:null,altitudeAccuracy:null,heading:null,latitude:0,longitude:0,speed:null},timestamp:0};get error(){return permissions.geolocation.error}activate(){return!(!globalThis.navigator||!("geolocation"in globalThis.navigator)||(globalThis.navigator.geolocation.getCurrentPosition(action(e=>{this.position=e}),void 0,this.positionOptions),this.watchId=globalThis.navigator.geolocation.watchPosition(action(e=>{this.position=e}),void 0,this.positionOptions),0))}deactivate(){null!=this.watchId&&globalThis.navigator.geolocation.clearWatch(this.watchId)}}makeObservable({get permission(){return permissions.geolocation},get position(){return this.provider||(this.provider=new BaseGeolocationProvider),this.provider.position}},{position:computed.struct});const matchMediaTrackerFactory={_trackers:new Map,create(e){if(this._trackers.has(e))return this._trackers.get(e);const t=globalThis.matchMedia(e),n={_atom:createEnhancedAtom("",e=>{t.addEventListener("change",e.reportChanged)},e=>{t.removeEventListener("change",e.reportChanged)}),get matches(){return this._atom.reportObserved(),t.matches}};return this._trackers.set(e,n),n}};makeObservable({get sizes(){return this._atom||(this._atom=createEnhancedAtom("",e=>{globalThis.addEventListener?.("resize",e.reportChanged)},e=>{globalThis.removeEventListener?.("resize",e.reportChanged)})),this._atom.reportObserved(),{inner:{width:globalThis.innerWidth??0,height:globalThis.innerHeight??0},outer:{width:globalThis.outerWidth??0,height:globalThis.outerHeight??0},client:{width:globalThis.document?.documentElement?.clientWidth??0,height:globalThis.document?.documentElement?.clientHeight??0},offset:{width:globalThis.document?.documentElement?.offsetWidth??0,height:globalThis.document?.documentElement?.offsetHeight??0}}},track:e=>matchMediaTrackerFactory.create(e),match:e=>matchMediaTrackerFactory.create(e).matches},{sizes:computed.struct});const pageVisibility={get isVisible(){return!globalThis.document||(this._atom||(this._atom=createEnhancedAtom("",e=>globalThis.document.addEventListener("visibilitychange",e.reportChanged),e=>{globalThis.document.removeEventListener("visibilitychange",e.reportChanged)})),this._atom.reportObserved(),"visible"===globalThis.document.visibilityState)},get isHidden(){return!this.isVisible}},keysMapping=[["current","language"],["all","languages"]];makeObservable(keysMapping.reduce((e,[t,n])=>(Object.defineProperty(e,t,{get:()=>(e._atom||(e._atom=createEnhancedAtom("",e=>{globalThis.addEventListener("languagechange",e.reportChanged)},e=>{globalThis.removeEventListener("languagechange",e.reportChanged)},{headerLanguage:computed(()=>{if(!e.acceptLanguageHeader)return null;const t=e.acceptLanguageHeader.split(",").map(e=>e.split(";")[0]?.trim()).filter(e=>e&&"*"!==e);return t.length?{language:t[0],languages:t}:null})})),e._atom.reportObserved(),(e._atom.meta.headerLanguage.get()??globalThis.navigator)[n])}),e),{acceptLanguageHeader:void 0}),{acceptLanguageHeader:observable.ref});const screenOrientationKeys=["angle","type"],screenOrientationInfo=screenOrientationKeys.reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>(e._atom||(e._atom=createEnhancedAtom("",e=>{globalThis.screen.orientation.addEventListener("change",e.reportChanged)},e=>{globalThis.screen.orientation.removeEventListener("change",e.reportChanged)})),e._atom.reportObserved(),globalThis.screen.orientation[t])}),e),{}),screenKeys=["availWidth","availHeight","colorDepth","height","pixelDepth","width","orientation"];screenKeys.reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>(e._atom||(e._atom=createEnhancedAtom("",e=>{globalThis.screen.addEventListener?.("change",e.reportChanged)},e=>{globalThis.screen.removeEventListener?.("change",e.reportChanged)})),e._atom.reportObserved(),"orientation"===t?screenOrientationInfo:globalThis.screen[t])}),e),{});const vmPopup="vmPopup_0hkGL",dragging$1="dragging_bOvPC",closePopupButton="closePopupButton_igv9j",css$6={vmPopup:vmPopup,dragging:dragging$1,closePopupButton:closePopupButton};class VmDevtoolsPopupVM extends ViewModelImpl{devtools=this.parentViewModel.devtools;static lastX=null;dragState={isDragging:!1,offsetX:0,hasMoved:!1,startX:0};rect=null;contentRef=createRef({onSet:e=>{null!==VmDevtoolsPopupVM.lastX&&(e.style.left=`${this.fixX(VmDevtoolsPopupVM.lastX)}px`),e.addEventListener("mousedown",t=>{if(!t.composedPath().some(e=>e.dataset?.contentHeader))return;this.dragState.isDragging=!0,this.dragState.hasMoved=!1;const n=e.getBoundingClientRect();this.dragState.offsetX=n.left-t.clientX,this.dragState.startX=n.left,e.classList.add(css$6.dragging)},{signal:this.unmountSignal});const t=()=>{this.dragState.isDragging=!1,e.classList.remove(css$6.dragging),this.dragState.hasMoved=!1};reaction(()=>pageVisibility.isHidden,e=>{e&&t()},{signal:this.unmountSignal}),document.addEventListener("mousemove",t=>{if(!this.dragState.isDragging)return;const n=this.fixX(t.clientX+this.dragState.offsetX);e.style.left=`${n}px`,VmDevtoolsPopupVM.lastX=n,n!==this.dragState.startX&&(this.dragState.hasMoved=!0)},{signal:this.unmountSignal}),document.addEventListener("mouseup",t,{signal:this.unmountSignal}),window.addEventListener("blur",t,{signal:this.unmountSignal})}});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.contentRef.current?.getBoundingClientRect(),{left:this.rect?.left??0,top:this.rect?.top??0}}get size(){return!this.rect&&this.contentRef.current&&(this.rect=this.contentRef.current.getBoundingClientRect()),{width:this.rect?.width??0,height:this.rect?.height??0}}fixX(e){const t=window.innerWidth-this.size.width-12;return clamp(("string"==typeof e?+e.replace("px",""):e)||0,12,t)}}const vmButton="vmButton_esipO",dragging="dragging_kUMCE",opened="opened_NYAFW",isConnected="isConnected_eObxX",css$5={vmButton:vmButton,dragging:dragging,opened:opened,isConnected:isConnected};class VmDevtoolsButtonVM extends ViewModelBase{devtools=this.parentViewModel.devtools;storage=new Storage({namespace:"mobx-view-model-devtools",prefix:"devtools-button",type:"local"});rect=null;ref=createRef({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:""}),{x:i,y:o}=this.fixPosition(n,r);e.style.left=`${i}px`,e.style.top=`${o}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(css$5.dragging)},{signal:this.unmountSignal});const a=()=>{t.isDragging=!1,e.classList.remove(css$5.dragging),this.storage.set({key:"left",value:e.style.left}),this.storage.set({key:"top",value:e.style.top}),this.position!==this.devtools.position&&runInAction(()=>{this.devtools.position=this.position})};e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()},{signal:this.unmountSignal}),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`,VmDevtoolsPopupVM.lastX=null,r===t.startX&&i===t.startY||(t.hasMoved=!0)},{signal:this.unmountSignal}),document.addEventListener("mouseup",a,{signal:this.unmountSignal}),window.addEventListener("blur",a,{signal:this.unmountSignal})}});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,i="string"==typeof e?+e.replace("px",""):e,o="string"==typeof t?+t.replace("px",""):t;return{x:clamp(i||0,12,n),y:clamp(o||0,12,r)}}}const VmDevtoolsButton=withViewModel(VmDevtoolsButtonVM,({model:e})=>jsxRuntimeExports.jsxs("button",{className:cx(css$5.vmButton,{[css$5.opened]:e.devtools.isPopupOpened,[css$5.isConnected]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[jsxRuntimeExports.jsx("img",{src:e.devtools.logoUrl}),jsxRuntimeExports.jsx("div",{}),jsxRuntimeExports.jsx("span",{children:e.devtools.allVms.length})]})),ArrowsRotateRight=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 1.5a6.5 6.5 0 0 0-6.445 5.649.75.75 0 1 0 1.488.194A5.001 5.001 0 0 1 11.57 4.5h-1.32a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 .75-.75v-3a.75.75 0 0 0-1.5 0v1.06A6.48 6.48 0 0 0 8 1.5m-5.25 13a.75.75 0 0 1-.75-.75v-3a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 0 1.5H4.43a5.001 5.001 0 0 0 8.528-2.843.75.75 0 1 1 1.487.194A6.501 6.501 0 0 1 3.5 12.691v1.059a.75.75 0 0 1-.75.75",clipRule:"evenodd"})),BarsAscendingAlignLeftArrowDown=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),BarsDescendingAlignCenter=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),BarsDescendingAlignLeftArrowUp=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Check=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.488 3.43a.75.75 0 0 1 .081 1.058l-6 7a.75.75 0 0 1-1.1.042l-3.5-3.5A.75.75 0 0 1 4.03 6.97l2.928 2.927 5.473-6.385a.75.75 0 0 1 1.057-.081",clipRule:"evenodd"})),ChevronRight=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Copy=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),FileArrowRightOut=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7.14a3 3 0 0 0-.758-1.992L8.395 2.507A3 3 0 0 0 6.153 1.5H4a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h6.25a.75.75 0 0 0 0-1.5H4a1.5 1.5 0 0 1-1.5-1.5v-7A1.5 1.5 0 0 1 4 3h1.5v2a3 3 0 0 0 3 3h2.25a.75.75 0 0 0 .75-.75zM9.856 6.5H8.5A1.5 1.5 0 0 1 7 5V3.262q.15.103.274.241L9.62 6.144a1.5 1.5 0 0 1 .235.356M13.44 11l-.72.72a.75.75 0 1 0 1.061 1.06l2-2a.75.75 0 0 0 0-1.06l-2-2a.75.75 0 1 0-1.06 1.06l.72.72H6.75a.75.75 0 0 0 0 1.5z",clipRule:"evenodd"})),FolderTree=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),ListUl=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Magnifier=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Pencil=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.423 1A3.577 3.577 0 0 1 15 4.577c0 .27-.108.53-.3.722l-.528.529-1.971 1.971-5.059 5.059a3 3 0 0 1-1.533.82l-2.638.528a1 1 0 0 1-1.177-1.177l.528-2.638a3 3 0 0 1 .82-1.533l5.059-5.059 2.5-2.5c.191-.191.451-.299.722-.299m-2.31 4.009-4.91 4.91a1.5 1.5 0 0 0-.41.766l-.38 1.903 1.902-.38a1.5 1.5 0 0 0 .767-.41l4.91-4.91a2.08 2.08 0 0 0-1.88-1.88m3.098.658a3.6 3.6 0 0 0-1.878-1.879l1.28-1.28c.995.09 1.788.884 1.878 1.88z",clipRule:"evenodd"})),Play=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",d:"M14.642 6.285c1.294.777 1.294 2.653 0 3.43L5.53 15.183c-1.292.775-2.924-.102-3.025-1.571l-.005-.144V2.532l.005-.143C2.605.919 4.238.043 5.53.818zm-.771 2.144a.5.5 0 0 0 0-.857L4.756 2.104A.5.5 0 0 0 4 2.532v10.936a.5.5 0 0 0 .757.429z"})),Xmark=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),iconToggleButton="iconToggleButton_R48wm",activePosition="activePosition_IXsRn",option="option_a5IcR",active="active_6QS-2",css$4={iconToggleButton:iconToggleButton,activePosition:activePosition,option:option,active:active},IconToggleButton=({value:e,options:t,className:n,onUpdate:r})=>{const i=[];let o;return t.forEach((n,a)=>{const{icon:s,value:l}=n,c=e===l;c&&(o=a),i.push(jsxRuntimeExports.jsx("div",{className:cx(css$4.option,{[css$4.active]:c}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].value)},children:jsxRuntimeExports.jsx(s,{})},a))}),jsxRuntimeExports.jsxs("button",{className:cx(css$4.iconToggleButton,n),children:[jsxRuntimeExports.jsx("div",{className:css$4.activePosition,style:{"--index":o}}),i]})};var __assign=function(){return __assign=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},__assign.apply(this,arguments)};function getElementWindow$1(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function getElementDocument$1(e){return e&&e.ownerDocument?e.ownerDocument:document}var getOptions$1=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 addClasses$1(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function removeClasses$1(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function classNamesToQuery$1(e){return".".concat(e.split(" ").join("."))}var canUseDOM$1=!("undefined"==typeof window||!window.document||!window.document.createElement),helpers=Object.freeze({__proto__:null,addClasses:addClasses$1,canUseDOM:canUseDOM$1,classNamesToQuery:classNamesToQuery$1,getElementDocument:getElementDocument$1,getElementWindow:getElementWindow$1,getOptions:getOptions$1,removeClasses:removeClasses$1}),cachedScrollbarWidth=null,cachedDevicePixelRatio=null;function scrollbarWidth(){if(null===cachedScrollbarWidth){if("undefined"==typeof document)return cachedScrollbarWidth=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),cachedScrollbarWidth=n}return cachedScrollbarWidth}canUseDOM$1&&window.addEventListener("resize",function(){cachedDevicePixelRatio!==window.devicePixelRatio&&(cachedDevicePixelRatio=window.devicePixelRatio,cachedScrollbarWidth=null)});var getElementWindow=getElementWindow$1,getElementDocument=getElementDocument$1,getOptions$2=getOptions$1,addClasses$2=addClasses$1,removeClasses=removeClasses$1,classNamesToQuery=classNamesToQuery$1,SimpleBarCore=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=getElementWindow(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,addClasses$2(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(){removeClasses(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(addClasses$2(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){removeClasses(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,s,l,c,u,d,p,f;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,g=r.axis[r.draggedAxis].scrollbar,b=null!==(a=null===(o=r.contentWrapperEl)||void 0===o?void 0:o[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==a?a:0,v=parseInt(null!==(l=null===(s=r.elStyles)||void 0===s?void 0:s[r.axis[r.draggedAxis].sizeAttr])&&void 0!==l?l:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===r.draggedAxis?t.pageY:t.pageX)-(null!==(u=null===(c=h.rect)||void 0===c?void 0:c[r.axis[r.draggedAxis].offsetAttr])&&void 0!==u?u:0)-r.axis[r.draggedAxis].dragOffset,_=(y="x"===r.draggedAxis&&r.isRtl?(null!==(p=null===(d=h.rect)||void 0===d?void 0:d[r.axis[r.draggedAxis].sizeAttr])&&void 0!==p?p:0)-g.size-y:y)/(m-g.size)*(b-v);"x"===r.draggedAxis&&r.isRtl&&(_=(null===(f=e.getRtlHelpers())||void 0===f?void 0:f.isScrollingToNegative)?-_:_),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=_}},this.onEndDrag=function(e){r.isDragging=!1;var t=getElementDocument(r.el),n=getElementWindow(r.el);e.preventDefault(),e.stopPropagation(),removeClasses(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=__assign(__assign({},e.defaultOptions),n),this.classNames=__assign(__assign({},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=throttle(this._onMouseMove,64),this.onWindowResize=debounce(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=debounce(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=debounce(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:scrollbarWidth()}catch(e){return scrollbarWidth()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=getElementDocument(e),r=getElementWindow(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){canUseDOM$1&&(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(classNamesToQuery(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(classNamesToQuery(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(classNamesToQuery(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(classNamesToQuery(this.classNames.offset)),this.maskEl=this.el.querySelector(classNamesToQuery(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,classNamesToQuery(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(classNamesToQuery(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(classNamesToQuery(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(classNamesToQuery(this.classNames.track)).concat(classNamesToQuery(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(classNamesToQuery(this.classNames.track)).concat(classNamesToQuery(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(classNamesToQuery(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(classNamesToQuery(this.classNames.scrollbar)))||null,this.options.autoHide||(addClasses$2(this.axis.x.scrollbar.el,this.classNames.visible),addClasses$2(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=getElementWindow(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=getElementWindow(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 s=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||l,"px"):"auto",this.placeholderEl.style.height="".concat(s,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&l>t,this.axis.y.isOverflowing=s>c,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 u=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>i-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>c-u,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],s=(null===(n=this.axis[t].track.el)||void 0===n?void 0:n[this.axis[t].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c="x"===t&&this.isRtl&&(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollOriginAtZero)?-c:c,"x"===t&&this.isRtl&&(c=(null===(i=e.getRtlHelpers())||void 0===i?void 0:i.isScrollingToNegative)?c:-c);var u=c/(a-l),d=~~((s-o.size)*u);d="x"===t&&this.isRtl?-d+(s-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&&(addClasses$2(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&&(removeClasses(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),addClasses$2(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?addClasses$2(t.scrollbar.el,this.classNames.hover):removeClasses(t.scrollbar.el,this.classNames.hover)):(removeClasses(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),removeClasses(this.axis[e].track.el,this.classNames.hover),removeClasses(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=getElementDocument(this.el),i=getElementWindow(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,addClasses$2(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 s=this.axis[t];if(this.options.clickOnTrack&&s.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var l=getElementWindow(this.el);this.axis[t].scrollbar.rect=s.scrollbar.el.getBoundingClientRect();var c=null!==(r=null===(n=this.axis[t].scrollbar.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])&&void 0!==r?r:0,u=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],p=("y"===t?this.mouseY-c:this.mouseX-c)<0?-1:1,f=-1===p?d-u:d+u,h=function(){a.contentWrapperEl&&(-1===p?d>f&&(d-=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(h)):d<f&&(d+=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(h)))};h()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=getElementWindow(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=getOptions$2,e.helpers=helpers,e}(),extendStatics=function(e,t){return(extendStatics=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)};function __extends(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}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var _a=SimpleBarCore.helpers,getOptions=_a.getOptions,addClasses=_a.addClasses,canUseDOM=_a.canUseDOM,SimpleBar=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 __extends(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,getOptions(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"),addClasses(this.wrapperEl,this.classNames.wrapper),addClasses(this.contentWrapperEl,this.classNames.contentWrapper),addClasses(this.offsetEl,this.classNames.offset),addClasses(this.maskEl,this.classNames.mask),addClasses(this.contentEl,this.classNames.contentEl),addClasses(this.placeholderEl,this.classNames.placeholder),addClasses(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),addClasses(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");addClasses(i,this.classNames.track),addClasses(o,this.classNames.scrollbar),i.appendChild(o),this.axis.x.track.el=i.cloneNode(!0),addClasses(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=i.cloneNode(!0),addClasses(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}SimpleBarCore.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){SimpleBarCore.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,getOptions(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,getOptions(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}(SimpleBarCore);canUseDOM&&SimpleBar.initHtmlApi();class ListItem{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`,computed(this,"isExpanded"),computed(this,"isFitted"),computed(this,"totalChildCount"),computed(this,"depthLine"),computed(this,"depth"),computed(this,"stringifiedData"),computed.struct(this,"operations"),computed.struct(this,"children"),computed.struct(this,"expandedChildren"),computed.struct(this,"expandedChildrenWithSelf"),computed(this,"data"),computed(this,"isExpandable"),action(this,"expand"),action(this,"collapse"),makeObservable(this)}position=0;metaData={};cache;tempVarName="";dataWatchAtom=createAtom("");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[{title:"Save into $temp(N) global variable. $temp1, $temp2, $temp3",icon:FileArrowRightOut,action:()=>{if(!this.tempVarName){let e=1;for(;`$temp${e}`in globalThis;)e++;this.tempVarName=`$temp${e}`}Object.assign(globalThis,{[this.tempVarName]:this.data}),this.devtools.notifications.push({title:this.getSavedTempVarNotification(this.tempVarName)})}},{title:"Refresh value",icon:ArrowsRotateRight,action:()=>this.dataWatchAtom.reportChanged()}]}getSavedTempVarNotification(e){return`Saved into ${e}`}expandKey}const ignoredKeys=new Set(["constructor"]),ignoredPrototypes=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 getAllKeys(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)ignoredKeys.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(ignoredPrototypes.has(r))break;n=r}return Array.from(t)}class MetaListItem extends ListItem{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}class VMListItem extends ListItem{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()},computed.struct(this,"childVMListItems"),computed.struct(this,"propertyListItems"),makeObservable(this),untracked(()=>{this.expand()})}get childVMListItems(){return this.dataWatchAtom.reportObserved(),this.allVms.filter(e=>{const t=this.getVmParams(e);return t?.parentViewModel&&t.parentViewModel===this.data}).map(e=>new VMListItem(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(){this.dataWatchAtom.reportObserved();let e=getAllKeys(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)=>PropertyListItem.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems,...this.childVMListItems]}getVmParams(e){return"vmParams"in e?e.vmParams:null}getSavedTempVarNotification(e){return`VM instance ${this.displayName} (${this.data.id}) saved into ${e}`}get operations(){return super.operations}get depth(){return this.parent&&"tree"===this.devtools.presentationMode?this.parent.depth+1:0}searchData;displayName}console.log("dd",ObservableMap,ObservableSet);class PropertyListItem extends ListItem{constructor(e,t,n,r,i){super(e,PropertyListItem.createKey(i,t),void 0),this.property=t,this.path=n,this.order=r,this.parent=i,computed(this,"type"),computed(this,"searchData"),computed(this,"propertyClosingTag"),computed(this,"dataType"),computed(this,"stringifiedDataType"),computed(this,"extraContent"),observable.ref(this,"failedStringify"),observable.ref(this,"editContent"),observable(this,"isEditMode"),action(this,"handleChangeEditContent"),makeObservable(this)}editContent="";isEditMode=!1;get data(){return this.dataWatchAtom.reportObserved(),this.property&&this.parent.data[this.property]}get descriptor(){return this.property?Object.getOwnPropertyDescriptor(this.parent.data,this.property):null}get dataType(){return typeof this.data}get stringifiedDataType(){return Object.prototype.toString.call(this.data)}get type(){return Array.isArray(this.data)?"array":_exports.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":_exports.isFunction(this.data)?"function":_exports.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)=>PropertyListItem.create(this.devtools,e,`${this.path}.${e}`,t,this)),e.push(PropertyListItem.create(this.devtools,"length",`${this.path}.length`,e.length,this));else if("function"===this.type)e=Object.keys(this.data).map((e,t)=>PropertyListItem.create(this.devtools,e,`${this.path}.${e}`,t,this));else if("instance"===this.type||"object"===this.type)return getAllKeys(this.data).map((e,t)=>PropertyListItem.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 VMListItem)return",";if(this.parent instanceof PropertyListItem)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new MetaListItem(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new MetaListItem(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 runInAction(()=>{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(){const operations=[];return this.isEditMode?(operations.push("function"===this.dataType?{title:"Call function",icon:Play,action:()=>{const args=eval(`[${this.editContent.trim()}]`);this.data.apply(this.parent.data,args),this.editContent="",this.isEditMode=!1}}:{title:"Apply",icon:Check,action:()=>{this.isEditMode=!1}},{title:"Cancel",icon:Xmark,action:()=>{this.isEditMode=!1}}),operations):("function"===this.dataType?operations.push({title:"Call",icon:Play,action:()=>{this.isEditMode=!0}}):operations.push({title:"Edit",icon:Pencil,action:()=>{this.isEditMode=!0}}),"instance"===this.type||this.failedStringify||operations.push({title:"Copy",icon:Copy,action:()=>navigator.clipboard.writeText(this.stringifiedData)}),[...operations,...super.operations])}handleChangeEditContent=e=>{this.editContent=e.target.value};getSavedTempVarNotification(e){return`Property value "${this.property}" saved into ${e}`}static createKey(e,t){return`${e.key}-${t}`}static create(e,t,n,r,i){const o=i.cache??e.anyCache,a=`${PropertyListItem.createKey(i,t)}/list-item`;let s=o.get(a);return s||(s=new PropertyListItem(e,t,n,r,i),o.set(a,s)),s}}class ExtraListItem extends ListItem{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(){this.dataWatchAtom.reportObserved();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)=>PropertyListItem.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems]}get operations(){return super.operations}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()},computed.struct(this,"propertyListItems"),makeObservable(this),untracked(()=>{this.expand()})}}const root="root_Xsw1F",treeItemHeader="treeItemHeader_9gR6Q",treeItemLabel="treeItemLabel_eiMgP",treeItemMetaText="treeItemMetaText_cmfX0",treeItem="treeItem_sRXPA",vmTreeItem="vmTreeItem_t-7jc",extraTreeItem="extraTreeItem_z3KA1",css$3={root:root,treeItemHeader:treeItemHeader,treeItemLabel:treeItemLabel,treeItemMetaText:treeItemMetaText,treeItem:treeItem,vmTreeItem:vmTreeItem,extraTreeItem:extraTreeItem},expandButton="expandButton_B24E3",expanded="expanded_8-pD6",disabled="disabled_MBq1Q",vmContentVirtualizedContent="vmContentVirtualizedContent_LtS91",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",vmContentVirtualScroll="vmContentVirtualScroll_TVyLu",gradientBlur="gradientBlur_-y-re",css$2={expandButton:expandButton,expanded:expanded,disabled:disabled,vmContentVirtualizedContent:vmContentVirtualizedContent,vmContent:vmContent,vmContentHeader:vmContentHeader,vmContentHeaderLogo:vmContentHeaderLogo,vmContentHeaderTitle:vmContentHeaderTitle,vmContentHeaderTitleText:vmContentHeaderTitleText,vmContentControlPanel:vmContentControlPanel,vmContentInput:vmContentInput,vmContentControlPanelActions:vmContentControlPanelActions,filled:filled,vmContentVirtualScroll:vmContentVirtualScroll,gradientBlur:gradientBlur},ExpandButton=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:i})=>jsxRuntimeExports.jsx("span",{onClick:n,className:cx(css$2.expandButton,{[css$2.expandable]:e,[css$2.expanded]:t,[css$2.disabled]:r}),children:(e||i)&&jsxRuntimeExports.jsx(ChevronRight,{})}),ExtraListItemRender=observer(({item:e})=>jsxRuntimeExports.jsx("div",{className:cx(css$3.treeItem,css$3.extraTreeItem),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:jsxRuntimeExports.jsxs("header",{className:css$3.treeItemHeader,children:[jsxRuntimeExports.jsx(ExpandButton,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.isExpandable,expanded:e.isExpanded}),jsxRuntimeExports.jsx("label",{className:css$3.treeItemLabel,title:e.displayName,children:e.displayName})]})})),property="property_sD8FG",isEditMode="isEditMode_S3NAq",expandable="expandable_np03F",instance="instance_jv3IW",primitive="primitive_v6LAV",boolean="boolean_Z6znK",number="number_U9H45",object="object_bHf4I",bigint="bigint_HkgX8",symbol="symbol_oKSwT",string="string_87vm1",propertyName="propertyName_KicXG",propertyMeta="propertyMeta_Ia9ce",propertyValue="propertyValue_fYO2g",editContent="editContent_WSktI",css$1={property:property,isEditMode:isEditMode,expandable:expandable,instance:instance,primitive:primitive,boolean:boolean,number:number,object:object,bigint:bigint,symbol:symbol,undefined:"undefined_6CapW",null:"null_lugoL",string:string,propertyName:propertyName,propertyMeta:propertyMeta,propertyValue:propertyValue,editContent:editContent},MetaListItemRender=observer(({item:e})=>jsxRuntimeExports.jsx("div",{className:cx(css$1.property,css$1.primitive),style:{"--level":e.depth},"data-fitted":e.isFitted,title:e.stringifiedData,"data-depth":e.depthLine,children:e.content})),ListItemOperations=observer(({item:e})=>e.operations.length?jsxRuntimeExports.jsx("div",{"data-list-item-operations":!0,children:e.operations.map((t,n)=>{if("title"in t)return jsxRuntimeExports.jsx("button",{title:t.title,"data-list-item-operation":!0,onClick:e=>{e.stopPropagation(),runInAction(()=>{t.action()})},children:jsxRuntimeExports.jsx(t.icon,{})},t.title);const r=t;return jsxRuntimeExports.jsx(r,{item:e},`${n}_component`)})}):null),ArrayPropertyContent=observer(({item:e})=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("span",{className:css$1.propertyName,children:e.property}),": "]}),jsxRuntimeExports.jsx("span",{className:css$1.propertyValue,children:e.isExpanded?"[":e.isExpandable?"[...]":"[]"})]})),FunctionPropertyContent=observer(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("span",{className:css$1.propertyName,children:e.property}),e.isEditMode?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["(",jsxRuntimeExports.jsx("input",{value:e.editContent,className:css$1.editContent,onChange:e.handleChangeEditContent,onClick:skipEvent,"data-ignore-global-keys":!0}),")"]}):`(${t.join(", ")})`]})}),InstancePropertyContent=observer(({item:e})=>{const t=e.data.constructor.name;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("span",{className:css$1.propertyName,children:e.property}),": "]}),jsxRuntimeExports.jsx("span",{className:css$1.propertyValue,children:`${t}`}),e.isExpanded&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[" ","{"]})]})}),ObjectPropertyContent=observer(({item:e})=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("span",{className:css$1.propertyName,children:e.property}),": "]}),jsxRuntimeExports.jsx("span",{className:css$1.propertyValue,children:e.isExpanded?"{":e.isExpandable?"{...}":"{}"})]})),PrimitivePropertyContent=observer(({item:e})=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("span",{className:css$1.propertyName,children:e.property}),": "]}),jsxRuntimeExports.jsx("span",{className:css$1.propertyValue,children:e.stringifiedData})]})),PropertyListItemRender=observer(e=>{const{item:t}=e;let n=null;switch(e.item.type){case"array":n=jsxRuntimeExports.jsx(ArrayPropertyContent,{...e});break;case"function":n=jsxRuntimeExports.jsx(FunctionPropertyContent,{...e});break;case"instance":n=jsxRuntimeExports.jsx(InstancePropertyContent,{...e});break;case"object":n=jsxRuntimeExports.jsx(ObjectPropertyContent,{...e});break;case"primitive":n=jsxRuntimeExports.jsx(PrimitivePropertyContent,{...e})}return jsxRuntimeExports.jsxs("div",{className:cx(css$1.property,css$1[t.type],css$1[t.dataType],{[css$1.null]:null===t.data,[css$1.expandable]:t.isExpandable,[css$1.expanded]:t.isExpanded,[css$1.isEditMode]:t.isEditMode}),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:[jsxRuntimeExports.jsxs("span",{children:[n,t.extraContent]}),jsxRuntimeExports.jsx(ListItemOperations,{item:t})]})}),VmListItemRender=observer(({item:e})=>jsxRuntimeExports.jsxs("div",{className:cx(css$3.treeItem,css$3.vmTreeItem),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:[jsxRuntimeExports.jsxs("header",{className:css$3.treeItemHeader,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[jsxRuntimeExports.jsx(ExpandButton,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.devtools.isExpandable(e),expanded:e.isExpanded}),jsxRuntimeExports.jsx("label",{className:css$3.treeItemLabel,title:e.displayName,children:e.displayName}),jsxRuntimeExports.jsx("span",{className:css$3.treeItemMetaText,title:e.data.id,children:e.data.id})]}),jsxRuntimeExports.jsx(ListItemOperations,{item:e})]})),listItemRenderersMap=new Map([[VMListItem,VmListItemRender],[ExtraListItem,ExtraListItemRender],[PropertyListItem,PropertyListItemRender],[MetaListItem,MetaListItemRender]]);class DevtoolsContentVM extends(_a2=ViewModelImpl,_virtualHeight_dec=[computed],_a2){constructor(){super(...arguments),__runInitializers(_init,5,this),__publicField(this,"offsetIndex",-4),__publicField(this,"itemsCount",0),__publicField(this,"contentRef",createRef({meta:{scrollbar:null},onChange:this.payload.ref,onSet:e=>{const t=new SimpleBar(e);this.contentRef.meta={scrollbar:t};const n=t.getScrollElement();console.log("on set"),n&&(runInAction(()=>{this.itemsCount=Math.round(n.clientHeight/22)+40+4}),reaction(()=>this.payload.devtools.listItems.length,()=>this.handleRefreshItems(),{fireImmediately:!0}),this.virtualizedContentRef.current.style.height=e.clientHeight-60+"px",n.addEventListener("scroll",debounce(this.handleRefreshItems,50)))}})),__publicField(this,"virtualizedContentRef",createRef()),__publicField(this,"handleRefreshItems",()=>{const e=this.contentRef.meta.scrollbar?.getScrollElement();e&&(this.virtualizedContentRef.current.style.transform=`translateY(${e.scrollTop}px)`,runInAction(()=>{this.offsetIndex=Math.ceil(e.scrollTop/22)}))})}get virtualHeight(){return 22*this.payload.devtools.listItems.length}get itemNodes(){const e=[];for(let t=0;t<this.itemsCount;t++){const n=this.offsetIndex+t,r=this.payload.devtools.listItems[n],i=listItemRenderersMap.get(r?.constructor);i&&e.push(reactExports.createElement(i,{item:r}))}return e}willMount(){makeObservable(this,{offsetIndex:observable.ref,itemsCount:observable.ref})}}_init=__decoratorStart(_a2),__decorateElement(_init,2,"virtualHeight",_virtualHeight_dec,DevtoolsContentVM),__decoratorMetadata(_init,DevtoolsContentVM);class NotificationsVM extends ViewModelBase{items=observable.map();push(e){const t=e.id??crypto.randomUUID();this.items.set(t,{...e,id:t}),setTimeout(action(()=>this.items.delete(t)),5e3)}willMount(){makeObservable(this,{push:action.bound})}}const notifications="notifications_50ZEK",notification="notification_Yxzo-",notificationFadeOut="notification-fade-out_1FHX2",css={notifications:notifications,notification:notification,"notification-fade-out":"notification-fade-out_1FHX2",notificationFadeOut:notificationFadeOut};console.log("css",css);const Notifications=withViewModel(NotificationsVM,({model:e})=>e.items.size?jsxRuntimeExports.jsx("div",{className:css.notifications,children:Array.from(e.items.values()).map(e=>jsxRuntimeExports.jsx("div",{className:css.notification,children:e.title},e.id))}):null),VmDevtoolsContent=withViewModel(DevtoolsContentVM,({model:e,className:t,headerContent:n,...r})=>{const{devtools:i}=e.payload;return jsxRuntimeExports.jsxs("div",{...r,className:cx(css$2.vmContent,t),ref:e.contentRef,children:[jsxRuntimeExports.jsxs("header",{className:css$2.vmContentHeader,children:[jsxRuntimeExports.jsx(Notifications,{}),jsxRuntimeExports.jsx("div",{className:css$2.gradientBlur}),jsxRuntimeExports.jsxs("div",{className:css$2.vmContentHeaderTitle,"data-content-header":!0,children:[jsxRuntimeExports.jsx("img",{className:css$2.vmContentHeaderLogo,src:i.logoUrl}),jsxRuntimeExports.jsx("span",{className:css$2.vmContentHeaderTitleText,children:"mobx-view-model devtools"}),n]}),jsxRuntimeExports.jsxs("div",{className:css$2.vmContentControlPanel,children:[jsxRuntimeExports.jsxs("div",{className:css$2.vmContentControlPanelActions,children:[jsxRuntimeExports.jsx(IconToggleButton,{onUpdate:i.handleChangePresentationMode,options:[{value:"tree",icon:FolderTree},{value:"list",icon:ListUl}],value:i.presentationMode}),jsxRuntimeExports.jsx(IconToggleButton,{onUpdate:i.handleSortPropertiesChange,options:[{value:"none",icon:BarsDescendingAlignCenter},{value:"asc",icon:BarsAscendingAlignLeftArrowDown},{value:"desc",icon:BarsDescendingAlignLeftArrowUp}],value:i.sortPropertiesBy})]}),jsxRuntimeExports.jsxs("div",{className:`${css$2.vmContentInput} ${i.searchEngine.isActive&&css$2.filled}`,children:[jsxRuntimeExports.jsx(Magnifier,{}),jsxRuntimeExports.jsx("input",{ref:i.searchEngine.searchInputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name"}),jsxRuntimeExports.jsx("button",{onClick:i.searchEngine.resetSearch,children:jsxRuntimeExports.jsx(Xmark,{})})]})]})]}),jsxRuntimeExports.jsx("div",{className:css$2.vmContentVirtualScroll,style:{height:e.virtualHeight},children:jsxRuntimeExports.jsx("div",{className:css$2.vmContentVirtualizedContent,ref:e.virtualizedContentRef,children:e.itemNodes})})]})}),VmDevtoolsPopup=withViewModel(VmDevtoolsPopupVM,({model:e})=>jsxRuntimeExports.jsx(VmDevtoolsContent,{className:css$6.vmPopup,"data-position":e.devtools.position,payload:{devtools:e.devtools,ref:e.contentRef},headerContent:jsxRuntimeExports.jsx("button",{className:css$6.closePopupButton,onClick:e.devtools.hidePopup,children:jsxRuntimeExports.jsx(Xmark,{})})}));class DevtoolsClientVM extends ViewModelImpl{devtools=this.payload.devtools}const DevtoolsClient=withViewModel(DevtoolsClientVM,({model:e})=>jsxRuntimeExports.jsx(ViewModelsProvider,{value:e.devtools.vmStore,children:jsxRuntimeExports.jsxs(ActiveViewModelProvider,{value:e,children:[jsxRuntimeExports.jsx(VmDevtoolsButton,{}),e.devtools.isPopupOpened&&"popup"===e.devtools.displayType&&jsxRuntimeExports.jsx(VmDevtoolsPopup,{})]})}));class KeyboardHandler extends KeyboardHandler$1{constructor(e){super({actions:[{shortcuts:["Ctrl+F12"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||(e.isPopupOpened?e.hidePopup():e.showPopup())}},{shortcuts:["Escape"],action:t=>{console.log("ee",t),_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.hidePopup()}},{shortcuts:["Ctrl+ArrowLeft"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.collapseAllVms()}},{shortcuts:["Ctrl+ArrowRight"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.expandAllVMs()}},{shortcuts:["Tab"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.searchEngine.searchInputRef.meta.focused&&t.preventDefault()}},{shortcuts:["Ctrl+ArrowDown","PageDown"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||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=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset-400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}}]})}}class ViewModelStoreImpl extends ViewModelStoreBase{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}const createFocusableRef=e=>{const t=()=>{runInAction(()=>{n.meta.focused=document.activeElement===n.current})},n=createRef({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};class SearchEngine{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=createFocusableRef({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)})}}),makeObservable(this,{rawSearchText:observable.ref,formattedSearchText:observable.ref,isActive:computed,segments:observable,setSearchText:action.bound})}}class ViewModelDevtools{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 ViewModelStoreImpl,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=observable.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=createRef(),this.scrollListRef=createRef(),this.keyboardHandler=new KeyboardHandler(this),this.searchEngine=new SearchEngine,makeObservable(this,{position:observable.ref,isPopupOpened:observable.ref,projectVmStore:observable.ref,presentationMode:observable.ref,sortPropertiesBy:observable.ref,extras:observable.ref,setStore:action.bound,setExtras:action.bound,showPopup:action.bound,hidePopup:action.bound,handleChangePresentationMode:action.bound,handleSortPropertiesChange:action.bound,handleExpandVmPropertyClick:action.bound,expandAllVMs:action.bound,collapseAllVms:action.bound,isActive:computed,listItems:computed.struct,rootVmListItems:computed.struct,extraListItems:computed.struct}),this.render()}isPopupOpened;displayType;vmStore;projectVmStore;extras;expandedVmItemsPaths;logoUrl;scrollContentRef;keyboardHandler;searchEngine;presentationMode;sortPropertiesBy;position;scrollListRef;storage=new Storage({namespace:"mobx-view-model-devtools",type:"session"});anyCache=observable.map();autoscrollTimeout;get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!ViewModelImpl.isPrototypeOf(e.constructor))}get rootVmListItems(){return console.log("tick root vm list items?"),this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new VMListItem(this,e,this.allVms))}get extraListItems(){return console.log("tick extra list items?"),this.extras?[new ExtraListItem(this,this.extras)]:[]}get listItems(){const e=[];return this.rootVmListItems.forEach(t=>{e.push(...t.expandedChildrenWithSelf)}),this.extraListItems.forEach(t=>{e.push(...t.expandedChildrenWithSelf)}),e}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()}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()}get notifications(){return this.vmStore.get(Notifications)}hidePopup(){this.isPopupOpened=!1}init(){this.isInitialized||(this.isInitialized=!0,reaction(()=>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=css$3.root,e.id=this.containerId,document.body?(document.body.appendChild(e),clientExports.createRoot(e).render(reactExports.createElement(DevtoolsClient,{payload:{devtools:this}}))):document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e),clientExports.createRoot(e).render(reactExports.createElement(DevtoolsClient,{payload:{devtools:this}}))})),this.init()}static _instance=null;static define(e){return ViewModelDevtools._instance||(ViewModelDevtools._instance=new ViewModelDevtools(e??{})),ViewModelDevtools._instance}static connect(e,t){const n=ViewModelDevtools.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=ViewModelDevtools.define();return t.setStore(e),t}static connectExtras(e){const t=ViewModelDevtools.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:ViewModelDevtools});const lastCreatedStore=viewModelsConfig.hooks.storeCreate.lastPub?.[0];ViewModelDevtools.define({position:"top-right",defaultIsOpened:!1}),ViewModelDevtools.connectExtras({globalThis:globalThis});const connectStore=e=>{ViewModelStoreImpl!==e.constructor&&ViewModelDevtools.connectViewModels(e)};lastCreatedStore&&connectStore(lastCreatedStore),viewModelsConfig.hooks.storeCreate.sub(connectStore),console.log("auto.global script loaded")});
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.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.dragging_bOvPC{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.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}html:has(.dragging_bOvPC) *{-webkit-user-select:none!important;user-select:none!important}.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)}html:has(.dragging_kUMCE) *{-webkit-user-select:none!important;user-select:none!important}.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: 4px;--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-edit-content-color: #97503c;--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}.vmContentVirtualizedContent_LtS91{overflow:hidden}.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:2}.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)}.inputGhost_J-ksi{position:absolute;inset:0;display:flex;align-items:center;padding:3px 26px;font-size:14px;pointer-events:none;white-space:pre;overflow:hidden;z-index:0}.inputGhostTyped_UxVAJ{color:transparent;white-space:pre}.inputGhostSuggestion_Ys7F3{color:var(--vmd-control-active-text-input-placeholder-color);white-space:pre;opacity:.7}.vmContentInput_29GM1>input.inputWithSuggestion_C9PIe{background:transparent}.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}.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%)}[data-list-item-operations]{position:relative;right:12px;display:flex;align-items:center;margin-left:auto;gap:4px;width:0;transition:all .15s ease;overflow:hidden}*:has(>[data-list-item-operations]):hover>[data-list-item-operations]{width:auto}[data-list-item-operation]:active{transform:scale(.9)}.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,.property_sD8FG.isEditMode_S3NAq{background:var(--vmd-content-highlight-bg)}.property_sD8FG.expandable_np03F{cursor:pointer}.property_sD8FG>span{flex:1;overflow:hidden;text-overflow:ellipsis;padding-right:12px;display:flex;flex-direction:row}.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}.property_sD8FG.isEditMode_S3NAq>[data-list-item-operations]{width:auto}.editContent_WSktI{min-width:180px;flex:none;text-overflow:ellipsis;background:transparent;color:var(--vmd-edit-content-color);outline:0;border:1px solid var(--vmd-control-active-text-input-color);border-radius:4px;padding:0 4px}.notifications_50ZEK{position:absolute;z-index:1000;padding:4px;border-radius:4px;background:var(--vmd-control-border);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));right:8px;left:4px;top:4px;display:flex;flex-direction:column;gap:4px}@keyframes notification-fade-out_1FHX2{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.notification_Yxzo-{animation:notification-fade-out_1FHX2 .25s ease forwards}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
+ !function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__knownSymbol=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__name=(e,t)=>__defProp(e,"name",{value:t,configurable:!0}),__decoratorStart=e=>[,,,__create(e?.[__knownSymbol("metadata")]??null)],__decoratorStrings=["class","method","getter","setter","accessor","field","value","get","set"],__expectFn=e=>void 0!==e&&"function"!=typeof e?__typeError("Function expected"):e,__decoratorContext=(e,t,n,r,o)=>({kind:__decoratorStrings[e],name:t,metadata:r,addInitializer:e=>n._?__typeError("Already initialized"):o.push(__expectFn(e||null))}),__decoratorMetadata=(e,t)=>__defNormalProp(t,__knownSymbol("metadata"),e[3]),__runInitializers=(e,t,n,r)=>{for(var o=0,a=e[t>>1],i=a&&a.length;o<i;o++)1&t?a[o].call(n):r=a[o].call(n,r);return r},__decorateElement=(e,t,n,r,o,a)=>{var i,s,l,u,c,d=7&t,p=!!(8&t),f=!!(16&t),m=d>3?e.length+1:d?p?1:2:0,h=__decoratorStrings[d+5],v=d>3&&(e[m-1]=[]),g=e[m]||(e[m]=[]),b=d&&(!f&&!p&&(o=o.prototype),d<5&&(d>3||!f)&&__getOwnPropDesc(d<4?o:{get[n](){return __privateGet(this,a)},set[n](e){return __privateSet(this,a,e)}},n));d?f&&d<4&&__name(a,(d>2?"set ":d>1?"get ":"")+n):__name(o,n);for(var y=r.length-1;y>=0;y--)u=__decoratorContext(d,n,l={},e[3],g),d&&(u.static=p,u.private=f,c=u.access={has:f?e=>__privateIn(o,e):e=>n in e},3^d&&(c.get=f?e=>(1^d?__privateGet:__privateMethod)(e,o,4^d?a:b.get):e=>e[n]),d>2&&(c.set=f?(e,t)=>__privateSet(e,o,t,4^d?a:b.set):(e,t)=>e[n]=t)),s=(0,r[y])(d?d<4?f?a:b[h]:d>4?void 0:{get:b.get,set:b.set}:o,u),l._=1,4^d||void 0===s?__expectFn(s)&&(d>4?v.unshift(s):d?f?a=s:b[h]=s:o=s):"object"!=typeof s||null===s?__typeError("Object expected"):(__expectFn(i=s.get)&&(b.get=i),__expectFn(i=s.set)&&(b.set=i),__expectFn(i=s.init)&&v.unshift(i));return d||__decoratorMetadata(e,o),b&&__defProp(o,n,b),f?4^d?a:b:o},__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateIn=(e,t)=>Object(t)!==t?__typeError('Cannot use the "in" operator on this value'):e.has(t),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateSet=(e,t,n,r)=>(__accessCheck(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),__privateMethod=(e,t,n)=>(__accessCheck(e,t,"access private method"),n),_virtualHeight_dec,_a2,_init;const createCounter=(e,t=0)=>{const n=t=>(o.value=e?.(t)??t,o.value),r=()=>n(++o.counter),o=r;return o.increment=r,o.decrement=()=>n(--o.counter),o.reset=()=>{o.counter=t,o.value=e?.(t)??t},o.reset(),o},createGlobalPoint=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)}},createGlobalConfig=(e,t)=>{const n=createGlobalPoint(t);return n.get()||n.set(e)},createPubSub=()=>{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};var niceErrors={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},errors=niceErrors;function die(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o="string"==typeof e?e:errors[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}var mockGlobal={};function getGlobal$1(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:mockGlobal}var assign=Object.assign,getDescriptor=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,objectPrototype=Object.prototype,EMPTY_ARRAY=[];Object.freeze(EMPTY_ARRAY);var EMPTY_OBJECT={};Object.freeze(EMPTY_OBJECT);var hasProxy="undefined"!=typeof Proxy,plainObjectString=Object.toString();function assertProxies(){hasProxy||die("`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`")}function warnAboutProxyRequirement(e){globalState.verifyProxies&&die("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function getNextId(){return++globalState.mobxGuid}function once(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var noop=function(){};function isFunction$1(e){return"function"==typeof e}function isStringish(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function isObject$2(e){return null!==e&&"object"==typeof e}function isPlainObject(e){if(!isObject$2(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()===plainObjectString}function isGenerator(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function addHiddenProp(e,t,n){defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function addHiddenFinalProp(e,t,n){defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function createInstanceofPredicate(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return isObject$2(e)&&!0===e[n]}}function isES6Map(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function isPlainES6Map(e){var t=Object.getPrototypeOf(e),n=Object.getPrototypeOf(t);return null===Object.getPrototypeOf(n)}function isES6Set(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var hasGetOwnPropertySymbols=void 0!==Object.getOwnPropertySymbols;function getPlainObjectKeys(e){var t=Object.keys(e);if(!hasGetOwnPropertySymbols)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return objectPrototype.propertyIsEnumerable.call(e,t)})):t}var ownKeys="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:hasGetOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function stringifyKey(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function toPrimitive(e){return null===e?null:"object"==typeof e?""+e:e}function hasProp(e,t){return objectPrototype.hasOwnProperty.call(e,t)}var getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function(e){var t={};return ownKeys(e).forEach(function(n){t[n]=getDescriptor(e,n)}),t};function getFlag(e,t){return!!(e&t)}function setFlag(e,t,n){return n?e|=t:e&=~t,e}function _arrayLikeToArray(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 _defineProperties(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,_toPropertyKey(r.key),r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _createForOfIteratorHelperLoose(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=_unsupportedIterableToArray(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 _extends(){return _extends=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},_extends.apply(null,arguments)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(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)?_arrayLikeToArray(e,t):void 0}}var storedAnnotationsSymbol=Symbol("mobx-stored-annotations");function createDecoratorAnnotation(e){return Object.assign(function(t,n){if(is20223Decorator(n))return e.decorate_20223_(t,n);storeAnnotation(t,n,e)},e)}function storeAnnotation(e,t,n){(hasProp(e,storedAnnotationsSymbol)||addHiddenProp(e,storedAnnotationsSymbol,_extends({},e[storedAnnotationsSymbol])),isOverride(n)&&!hasProp(e[storedAnnotationsSymbol],t))&&die("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");assertNotDecorated(e,n,t),isOverride(n)||(e[storedAnnotationsSymbol][t]=n)}function assertNotDecorated(e,t,n){if(!isOverride(t)&&hasProp(e[storedAnnotationsSymbol],n)){var r=e.constructor.name+".prototype."+n.toString(),o=e[storedAnnotationsSymbol][n].annotationType_;die("Cannot apply '@"+t.annotationType_+"' to '"+r+"':\nThe field is already decorated with '@"+o+"'.\nRe-decorating fields is not allowed.\nUse '@override' decorator for methods overridden by subclass.")}}function collectStoredAnnotations(e){return hasProp(e,storedAnnotationsSymbol)||addHiddenProp(e,storedAnnotationsSymbol,_extends({},e[storedAnnotationsSymbol])),e[storedAnnotationsSymbol]}function is20223Decorator(e){return"object"==typeof e&&"string"==typeof e.kind}function assert20223DecoratorType(e,t){t.includes(e.kind)||die("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var $mobx=Symbol("mobx administration"),Atom=function(){function e(e){void 0===e&&(e="Atom@"+getNextId()),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=IDerivationState_.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 reportObserved(this)},t.reportChanged=function(){startBatch(),propagateChanged(this),endBatch()},t.toString=function(){return this.name_},_createClass(e,[{key:"isBeingObserved",get:function(){return getFlag(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return getFlag(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return getFlag(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=setFlag(this.flags_,e.diffValueMask_,1===t)}}])}();Atom.isBeingObservedMask_=1,Atom.isPendingUnobservationMask_=2,Atom.diffValueMask_=4;var isAtom=createInstanceofPredicate("Atom",Atom);function createAtom(e,t,n){void 0===t&&(t=noop),void 0===n&&(n=noop);var r=new Atom(e);return t!==noop&&onBecomeObserved(r,t),n!==noop&&onBecomeUnobserved(r,n),r}function structuralComparer(e,t){return deepEqual(e,t)}function defaultComparer(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}var comparer={structural:structuralComparer,default:defaultComparer};function deepEnhancer(e,t,n){return isObservable(e)?e:Array.isArray(e)?observable.array(e,{name:n}):isPlainObject(e)?observable.object(e,void 0,{name:n}):isES6Map(e)?observable.map(e,{name:n}):isES6Set(e)?observable.set(e,{name:n}):"function"!=typeof e||isAction(e)||isFlow(e)?e:isGenerator(e)?flow(e):autoAction(n,e)}function shallowEnhancer(e,t,n){return null==e||isObservableObject(e)||isObservableArray(e)||isObservableMap(e)||isObservableSet(e)?e:Array.isArray(e)?observable.array(e,{name:n,deep:!1}):isPlainObject(e)?observable.object(e,void 0,{name:n,deep:!1}):isES6Map(e)?observable.map(e,{name:n,deep:!1}):isES6Set(e)?observable.set(e,{name:n,deep:!1}):void die("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets")}function referenceEnhancer(e){return e}function refStructEnhancer(e,t){return isObservable(e)&&die("observable.struct should not be used with observable values"),deepEqual(e,t)?t:e}var OVERRIDE="override";function isOverride(e){return e.annotationType_===OVERRIDE}function createActionAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$1,extend_:extend_$1,decorate_20223_:decorate_20223_$1}}function make_$1(e,t,n,r){var o;if(null!=(o=this.options_)&&o.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(isAction(n.value))return 1;var a=createActionDescriptor(e,this,t,n,!1);return defineProperty(r,t,a),2}function extend_$1(e,t,n,r){var o=createActionDescriptor(e,this,t,n);return e.defineProperty_(t,o,r)}function decorate_20223_$1(e,t){assert20223DecoratorType(t,["method","field"]);var n,r=t.kind,o=t.name,a=t.addInitializer,i=this,s=function(e){var t,n,r,a;return createAction(null!=(t=null==(n=i.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(a=i.options_)?void 0:a.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return isAction(n)||(n=s(n)),null!=(t=i.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(isAction(e)||(e=s(e)),null!=(n=this.options_)&&n.bound&&a(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void die("Cannot apply '"+i.annotationType_+"' to '"+String(o)+"' (kind: "+r+"):\n'"+i.annotationType_+"' can only be used on properties with a function value.")}function assertActionDescriptor(e,t,n,r){var o=t.annotationType_;isFunction$1(r.value)||die("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a function value.")}function createActionDescriptor(e,t,n,r,o){var a,i,s,l,u,c,d;void 0===o&&(o=globalState.safeDescriptors),assertActionDescriptor(e,t,n,r);var p,f=r.value;null!=(a=t.options_)&&a.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_));return{value:createAction(null!=(i=null==(s=t.options_)?void 0:s.name)?i:n.toString(),f,null!=(l=null==(u=t.options_)?void 0:u.autoAction)&&l,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function createFlowAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$2,extend_:extend_$2,decorate_20223_:decorate_20223_$2}}function make_$2(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!hasProp(e.target_,t)||!isFlow(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(isFlow(n.value))return 1;var a=createFlowDescriptor(e,this,t,n,!1,!1);return defineProperty(r,t,a),2}function extend_$2(e,t,n,r){var o,a=createFlowDescriptor(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,a,r)}function decorate_20223_$2(e,t){var n;assert20223DecoratorType(t,["method"]);var r=t.name,o=t.addInitializer;return isFlow(e)||(e=flow(e)),null!=(n=this.options_)&&n.bound&&o(function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t}),e}function assertFlowDescriptor(e,t,n,r){var o=t.annotationType_;isFunction$1(r.value)||die("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a generator function value.")}function createFlowDescriptor(e,t,n,r,o,a){void 0===a&&(a=globalState.safeDescriptors),assertFlowDescriptor(e,t,n,r);var i,s=r.value;(isFlow(s)||(s=flow(s)),o)&&((s=s.bind(null!=(i=e.proxy_)?i:e.target_)).isMobXFlow=!0);return{value:s,configurable:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function createComputedAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$3,extend_:extend_$3,decorate_20223_:decorate_20223_$3}}function make_$3(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function extend_$3(e,t,n,r){return assertComputedDescriptor(e,this,t,n),e.defineComputedProperty_(t,_extends({},this.options_,{get:n.get,set:n.set}),r)}function decorate_20223_$3(e,t){assert20223DecoratorType(t,["getter"]);var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=asObservableObject(this)[$mobx],o=_extends({},n.options_,{get:e,context:this});o.name||(o.name=t.name_+"."+r.toString()),t.values_.set(r,new ComputedValue(o))}),function(){return this[$mobx].getObservablePropValue_(r)}}function assertComputedDescriptor(e,t,n,r){var o=t.annotationType_;r.get||die("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on getter(+setter) properties.")}function createObservableAnnotation(e,t){return{annotationType_:e,options_:t,make_:make_$4,extend_:extend_$4,decorate_20223_:decorate_20223_$4}}function make_$4(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function extend_$4(e,t,n,r){var o,a;return assertObservableDescriptor(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(a=this.options_)?void 0:a.enhancer)?o:deepEnhancer,r)}function decorate_20223_$4(e,t){if("field"===t.kind)throw die("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");assert20223DecoratorType(t,["accessor"]);var n=this,r=t.kind,o=t.name,a=new WeakSet;function i(e,t){var r,i,s=asObservableObject(e)[$mobx],l=new ObservableValue(t,null!=(r=null==(i=n.options_)?void 0:i.enhancer)?r:deepEnhancer,s.name_+"."+o.toString(),!1);s.values_.set(o,l),a.add(e)}if("accessor"==r)return{get:function(){return a.has(this)||i(this,e.get.call(this)),this[$mobx].getObservablePropValue_(o)},set:function(e){return a.has(this)||i(this,e),this[$mobx].setObservablePropValue_(o,e)},init:function(e){return a.has(this)||i(this,e),e}}}function assertObservableDescriptor(e,t,n,r){var o=t.annotationType_;"value"in r||die("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' cannot be used on getter/setter properties")}var AUTO="true",autoAnnotation=createAutoAnnotation();function createAutoAnnotation(e){return{annotationType_:AUTO,options_:e,make_:make_$5,extend_:extend_$5,decorate_20223_:decorate_20223_$5}}function make_$5(e,t,n,r){var o,a,i,s;if(n.get)return computed.make_(e,t,n,r);if(n.set){var l=isAction(n.set)?n.set:createAction(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!globalState.safeDescriptors||e.isPlainObject_,set:l})?0:2:(defineProperty(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return isGenerator(n.value)?(null!=(s=this.options_)&&s.autoBind?flow.bound:flow).make_(e,t,n,r):(null!=(i=this.options_)&&i.autoBind?autoAction.bound:autoAction).make_(e,t,n,r);var u,c=!1===(null==(o=this.options_)?void 0:o.deep)?observable.ref:observable;"function"==typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return c.make_(e,t,n,r)}function extend_$5(e,t,n,r){var o,a,i;if(n.get)return computed.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!globalState.safeDescriptors||e.isPlainObject_,set:createAction(t.toString(),n.set)},r);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(i=e.proxy_)?i:e.target_));return(!1===(null==(a=this.options_)?void 0:a.deep)?observable.ref:observable).extend_(e,t,n,r)}function decorate_20223_$5(e,t){die("'"+this.annotationType_+"' cannot be used as a decorator")}var OBSERVABLE="observable",OBSERVABLE_REF="observable.ref",OBSERVABLE_SHALLOW="observable.shallow",OBSERVABLE_STRUCT="observable.struct",defaultCreateObservableOptions={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function asCreateObservableOptions(e){return e||defaultCreateObservableOptions}Object.freeze(defaultCreateObservableOptions);var observableAnnotation=createObservableAnnotation(OBSERVABLE),observableRefAnnotation=createObservableAnnotation(OBSERVABLE_REF,{enhancer:referenceEnhancer}),observableShallowAnnotation=createObservableAnnotation(OBSERVABLE_SHALLOW,{enhancer:shallowEnhancer}),observableStructAnnotation=createObservableAnnotation(OBSERVABLE_STRUCT,{enhancer:refStructEnhancer}),observableDecoratorAnnotation=createDecoratorAnnotation(observableAnnotation);function getEnhancerFromOptions(e){return!0===e.deep?deepEnhancer:!1===e.deep?referenceEnhancer:getEnhancerFromAnnotation(e.defaultDecorator)}function getAnnotationFromOptions(e){var t;return e?null!=(t=e.defaultDecorator)?t:createAutoAnnotation(e):void 0}function getEnhancerFromAnnotation(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:deepEnhancer}function createObservable(e,t,n){return is20223Decorator(t)?observableAnnotation.decorate_20223_(e,t):isStringish(t)?void storeAnnotation(e,t,observableAnnotation):isObservable(e)?e:isPlainObject(e)?observable.object(e,t,n):Array.isArray(e)?observable.array(e,t):isES6Map(e)?observable.map(e,t):isES6Set(e)?observable.set(e,t):"object"==typeof e&&null!==e?e:observable.box(e,t)}assign(createObservable,observableDecoratorAnnotation);var observableFactories={box:function(e,t){var n=asCreateObservableOptions(t);return new ObservableValue(e,getEnhancerFromOptions(n),n.name,!0,n.equals)},array:function(e,t){var n=asCreateObservableOptions(t);return(!1===globalState.useProxies||!1===n.proxy?createLegacyArray:createObservableArray)(e,getEnhancerFromOptions(n),n.name)},map:function(e,t){var n=asCreateObservableOptions(t);return new ObservableMap(e,getEnhancerFromOptions(n),n.name)},set:function(e,t){var n=asCreateObservableOptions(t);return new ObservableSet(e,getEnhancerFromOptions(n),n.name)},object:function(e,t,n){return initObservable(function(){return extendObservable(!1===globalState.useProxies||!1===(null==n?void 0:n.proxy)?asObservableObject({},n):asDynamicObservableObject({},n),e,t)})},ref:createDecoratorAnnotation(observableRefAnnotation),shallow:createDecoratorAnnotation(observableShallowAnnotation),deep:observableDecoratorAnnotation,struct:createDecoratorAnnotation(observableStructAnnotation)},observable=assign(createObservable,observableFactories),COMPUTED="computed",COMPUTED_STRUCT="computed.struct",computedAnnotation=createComputedAnnotation(COMPUTED),computedStructAnnotation=createComputedAnnotation(COMPUTED_STRUCT,{equals:comparer.structural}),computed=function(e,t){if(is20223Decorator(t))return computedAnnotation.decorate_20223_(e,t);if(isStringish(t))return storeAnnotation(e,t,computedAnnotation);if(isPlainObject(e))return createDecoratorAnnotation(createComputedAnnotation(COMPUTED,e));isFunction$1(e)||die("First argument to `computed` should be an expression."),isFunction$1(t)&&die("A setter as second argument is no longer supported, use `{ set: fn }` option instead");var n=isPlainObject(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new ComputedValue(n)},_getDescriptor$config,_getDescriptor;Object.assign(computed,computedAnnotation),computed.struct=createDecoratorAnnotation(computedStructAnnotation);var currentActionId=0,nextActionId=1,isFunctionNameConfigurable$1=null!=(_getDescriptor$config=null==(_getDescriptor=getDescriptor(function(){},"name"))?void 0:_getDescriptor.configurable)&&_getDescriptor$config,tmpNameDescriptor={value:"action",configurable:!0,writable:!1,enumerable:!1};function createAction(e,t,n,r){function o(){return executeAction(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),isFunction$1(t)||die("`action` can only be invoked on functions"),"string"==typeof e&&e||die("actions should have valid names, got: '"+e+"'"),o.isMobxAction=!0,o.toString=function(){return t.toString()},isFunctionNameConfigurable$1&&(tmpNameDescriptor.value=e,defineProperty(o,"name",tmpNameDescriptor)),o}function executeAction(e,t,n,r,o){var a=_startAction(e,t,r,o);try{return n.apply(r,o)}catch(i){throw a.error_=i,i}finally{_endAction(a)}}function _startAction(e,t,n,r){var o=isSpyEnabled()&&!!e,a=0;if(o){a=Date.now();var i=r?Array.from(r):EMPTY_ARRAY;spyReportStart({type:ACTION,name:e,object:n,arguments:i})}var s=globalState.trackingDerivation,l=!t||!s;startBatch();var u=globalState.allowStateChanges;l&&(untrackedStart(),u=allowStateChangesStart(!0));var c={runAsAction_:l,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:allowStateReadsStart(!0),notifySpy_:o,startTime_:a,actionId_:nextActionId++,parentActionId_:currentActionId};return currentActionId=c.actionId_,c}function _endAction(e){currentActionId!==e.actionId_&&die(30),currentActionId=e.parentActionId_,void 0!==e.error_&&(globalState.suppressReactionErrors=!0),allowStateChangesEnd(e.prevAllowStateChanges_),allowStateReadsEnd(e.prevAllowStateReads_),endBatch(),e.runAsAction_&&untrackedEnd(e.prevDerivation_),e.notifySpy_&&spyReportEnd({time:Date.now()-e.startTime_}),globalState.suppressReactionErrors=!1}function allowStateChanges(e,t){var n=allowStateChangesStart(e);try{return t()}finally{allowStateChangesEnd(n)}}function allowStateChangesStart(e){var t=globalState.allowStateChanges;return globalState.allowStateChanges=e,t}function allowStateChangesEnd(e){globalState.allowStateChanges=e}var CREATE="create",ObservableValue=function(e){function t(t,n,r,o,a){var i,s;(void 0===r&&(r="ObservableValue@"+getNextId()),void 0===o&&(o=!0),void 0===a&&(a=comparer.default),(i=e.call(this,r)||this).enhancer=void 0,i.name_=void 0,i.equals=void 0,i.hasUnreportedChange_=!1,i.interceptors_=void 0,i.changeListeners_=void 0,i.value_=void 0,i.dehancer=void 0,i.enhancer=n,i.name_=r,i.equals=a,i.value_=n(t,void 0,r),o&&isSpyEnabled())&&spyReport({type:CREATE,object:i,observableKind:"value",debugObjectName:i.name_,newValue:""+(null==(s=i.value_)?void 0:s.toString())});return i}_inheritsLoose(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){var t=this.value_;if((e=this.prepareNewValue_(e))!==globalState.UNCHANGED){var n=isSpyEnabled();n&&spyReportStart({type:UPDATE,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),n&&spyReportEnd()}},n.prepareNewValue_=function(e){if(checkIfStateModificationsAreAllowed(this),hasInterceptors(this)){var t=interceptChange(this,{object:this,type:UPDATE,newValue:e});if(!t)return globalState.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?globalState.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),hasListeners(this)&&notifyListeners(this,{type:UPDATE,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return registerInterceptor(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:UPDATE,newValue:this.value_,oldValue:void 0}),registerListener(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 toPrimitive(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Atom),ComputedValue=function(){function e(e){this.dependenciesState_=IDerivationState_.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=IDerivationState_.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new CaughtException(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=TraceMode.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||die(31),this.derivation=e.get,this.name_=e.name||"ComputedValue@"+getNextId(),e.set&&(this.setter_=createAction(this.name_+"-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?comparer.structural:comparer.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){propagateMaybeChanged(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&&die(32,this.name_,this.derivation),0!==globalState.inBatch||0!==this.observers_.size||this.keepAlive_){if(reportObserved(this),shouldCompute(this)){var e=globalState.trackingContext;this.keepAlive_&&!e&&(globalState.trackingContext=this),this.trackAndCompute()&&propagateChangeConfirmed(this),globalState.trackingContext=e}}else shouldCompute(this)&&(this.warnAboutUntrackedRead_(),startBatch(),this.value_=this.computeValue_(!1),endBatch());var t=this.value_;if(isCaughtException(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&die(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else die(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===IDerivationState_.NOT_TRACKING_,n=this.computeValue_(!0),r=t||isCaughtException(e)||isCaughtException(n)||!this.equals_(e,n);return r&&(this.value_=n,isSpyEnabled()&&spyReport({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:e,newValue:n})),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=allowStateChangesStart(!1);if(e)t=trackDerivedFunction(this,this.derivation,this.scope_);else if(!0===globalState.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new CaughtException(r)}return allowStateChangesEnd(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(clearObserving(this),this.value_=void 0,this.isTracing_!==TraceMode.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return autorun(function(){var a=n.get();if(!r||t){var i=untrackedStart();e({observableKind:"computed",debugObjectName:n.name_,type:UPDATE,object:n,newValue:a,oldValue:o}),untrackedEnd(i)}r=!1,o=a})},t.warnAboutUntrackedRead_=function(){this.isTracing_!==TraceMode.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),("boolean"==typeof this.requiresReaction_?this.requiresReaction_:globalState.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute.")},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return toPrimitive(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},_createClass(e,[{key:"isComputing",get:function(){return getFlag(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return getFlag(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return getFlag(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return getFlag(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return getFlag(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=setFlag(this.flags_,e.diffValueMask_,1===t)}}])}();ComputedValue.isComputingMask_=1,ComputedValue.isRunningSetterMask_=2,ComputedValue.isBeingObservedMask_=4,ComputedValue.isPendingUnobservationMask_=8,ComputedValue.diffValueMask_=16;var isComputedValue=createInstanceofPredicate("ComputedValue",ComputedValue),IDerivationState_,IDerivationState_2,TraceMode,TraceMode2;IDerivationState_2=IDerivationState_||(IDerivationState_={}),IDerivationState_2[IDerivationState_2.NOT_TRACKING_=-1]="NOT_TRACKING_",IDerivationState_2[IDerivationState_2.UP_TO_DATE_=0]="UP_TO_DATE_",IDerivationState_2[IDerivationState_2.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",IDerivationState_2[IDerivationState_2.STALE_=2]="STALE_",TraceMode2=TraceMode||(TraceMode={}),TraceMode2[TraceMode2.NONE=0]="NONE",TraceMode2[TraceMode2.LOG=1]="LOG",TraceMode2[TraceMode2.BREAK=2]="BREAK";var CaughtException=function(e){this.cause=void 0,this.cause=e};function isCaughtException(e){return e instanceof CaughtException}function shouldCompute(e){switch(e.dependenciesState_){case IDerivationState_.UP_TO_DATE_:return!1;case IDerivationState_.NOT_TRACKING_:case IDerivationState_.STALE_:return!0;case IDerivationState_.POSSIBLY_STALE_:for(var t=allowStateReadsStart(!0),n=untrackedStart(),r=e.observing_,o=r.length,a=0;a<o;a++){var i=r[a];if(isComputedValue(i)){if(globalState.disableErrorBoundaries)i.get();else try{i.get()}catch(s){return untrackedEnd(n),allowStateReadsEnd(t),!0}if(e.dependenciesState_===IDerivationState_.STALE_)return untrackedEnd(n),allowStateReadsEnd(t),!0}}return changeDependenciesStateTo0(e),untrackedEnd(n),allowStateReadsEnd(t),!1}}function checkIfStateModificationsAreAllowed(e){var t=e.observers_.size>0;globalState.allowStateChanges||!t&&"always"!==globalState.enforceActions||console.warn("[MobX] "+(globalState.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}function checkIfStateReadsAreAllowed(e){!globalState.allowStateReads&&globalState.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}function trackDerivedFunction(e,t,n){var r=allowStateReadsStart(!0);changeDependenciesStateTo0(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++globalState.runId;var o,a=globalState.trackingDerivation;if(globalState.trackingDerivation=e,globalState.inBatch++,!0===globalState.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(i){o=new CaughtException(i)}return globalState.inBatch--,globalState.trackingDerivation=a,bindDependencies(e),warnAboutDerivationWithoutDependencies(e),allowStateReadsEnd(r),o}function warnAboutDerivationWithoutDependencies(e){0===e.observing_.length&&("boolean"==typeof e.requiresObservable_?e.requiresObservable_:globalState.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}function bindDependencies(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=IDerivationState_.UP_TO_DATE_,o=0,a=e.unboundDepsCount_,i=0;i<a;i++){var s=n[i];0===s.diffValue&&(s.diffValue=1,o!==i&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,a=t.length;a--;){var l=t[a];0===l.diffValue&&removeObserver(l,e),l.diffValue=0}for(;o--;){var u=n[o];1===u.diffValue&&(u.diffValue=0,addObserver(u,e))}r!==IDerivationState_.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function clearObserving(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)removeObserver(t[n],e);e.dependenciesState_=IDerivationState_.NOT_TRACKING_}function untracked(e){var t=untrackedStart();try{return e()}finally{untrackedEnd(t)}}function untrackedStart(){var e=globalState.trackingDerivation;return globalState.trackingDerivation=null,e}function untrackedEnd(e){globalState.trackingDerivation=e}function allowStateReadsStart(e){var t=globalState.allowStateReads;return globalState.allowStateReads=e,t}function allowStateReadsEnd(e){globalState.allowStateReads=e}function changeDependenciesStateTo0(e){if(e.dependenciesState_!==IDerivationState_.UP_TO_DATE_){e.dependenciesState_=IDerivationState_.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=IDerivationState_.UP_TO_DATE_}}var MobXGlobals=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},canMergeGlobalState=!0,isolateCalled=!1,globalState=function(){var e=getGlobal$1();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(canMergeGlobalState=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new MobXGlobals).version&&(canMergeGlobalState=!1),canMergeGlobalState?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new MobXGlobals):(setTimeout(function(){isolateCalled||die(35)},1),new MobXGlobals)}();function isolateGlobalState(){if((globalState.pendingReactions.length||globalState.inBatch||globalState.isRunningReactions)&&die(36),isolateCalled=!0,canMergeGlobalState){var e=getGlobal$1();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),globalState=new MobXGlobals}}function addObserver(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function removeObserver(e,t){e.observers_.delete(t),0===e.observers_.size&&queueForUnobservation(e)}function queueForUnobservation(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,globalState.pendingUnobservations.push(e))}function startBatch(){globalState.inBatch++}function endBatch(){if(0===--globalState.inBatch){runReactions();for(var e=globalState.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 ComputedValue&&n.suspend_())}globalState.pendingUnobservations=[]}}function reportObserved(e){checkIfStateReadsAreAllowed(e);var t=globalState.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&globalState.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&globalState.inBatch>0&&queueForUnobservation(e),!1)}function propagateChanged(e){e.lowestObserverState_!==IDerivationState_.STALE_&&(e.lowestObserverState_=IDerivationState_.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===IDerivationState_.UP_TO_DATE_&&(t.isTracing_!==TraceMode.NONE&&logTraceInfo(t,e),t.onBecomeStale_()),t.dependenciesState_=IDerivationState_.STALE_}))}function propagateChangeConfirmed(e){e.lowestObserverState_!==IDerivationState_.STALE_&&(e.lowestObserverState_=IDerivationState_.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===IDerivationState_.POSSIBLY_STALE_?(t.dependenciesState_=IDerivationState_.STALE_,t.isTracing_!==TraceMode.NONE&&logTraceInfo(t,e)):t.dependenciesState_===IDerivationState_.UP_TO_DATE_&&(e.lowestObserverState_=IDerivationState_.UP_TO_DATE_)}))}function propagateMaybeChanged(e){e.lowestObserverState_===IDerivationState_.UP_TO_DATE_&&(e.lowestObserverState_=IDerivationState_.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===IDerivationState_.UP_TO_DATE_&&(e.dependenciesState_=IDerivationState_.POSSIBLY_STALE_,e.onBecomeStale_())}))}function logTraceInfo(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===TraceMode.BREAK){var n=[];printDepTree(getDependencyTree(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name_+"'\n\nYou are entering this break point because derivation '"+e.name_+"' is being traced and '"+t.name_+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof ComputedValue?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function printDepTree(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+"\t".repeat(n-1)+e.name),e.dependencies&&e.dependencies.forEach(function(e){return printDepTree(e,t,n+1)}))}var Reaction=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+getNextId()),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=IDerivationState_.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=TraceMode.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,globalState.pendingReactions.push(this),runReactions())},t.runReaction_=function(){if(!this.isDisposed){startBatch(),this.isScheduled=!1;var e=globalState.trackingContext;if(globalState.trackingContext=this,shouldCompute(this)){this.isTrackPending=!0;try{this.onInvalidate_(),this.isTrackPending&&isSpyEnabled()&&spyReport({name:this.name_,type:"scheduled-reaction"})}catch(t){this.reportExceptionInDerivation_(t)}}globalState.trackingContext=e,endBatch()}},t.track=function(e){if(!this.isDisposed){startBatch();var t,n=isSpyEnabled();n&&(t=Date.now(),spyReportStart({name:this.name_,type:"reaction"})),this.isRunning=!0;var r=globalState.trackingContext;globalState.trackingContext=this;var o=trackDerivedFunction(this,e,void 0);globalState.trackingContext=r,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&clearObserving(this),isCaughtException(o)&&this.reportExceptionInDerivation_(o.cause),n&&spyReportEnd({time:Date.now()-t}),endBatch()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(globalState.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";globalState.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),isSpyEnabled()&&spyReport({type:"error",name:this.name_,message:n,error:""+e}),globalState.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(startBatch(),clearObserving(this),endBatch()))},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[$mobx]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),trace(this,e)},_createClass(e,[{key:"isDisposed",get:function(){return getFlag(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return getFlag(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return getFlag(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return getFlag(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=setFlag(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return getFlag(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=setFlag(this.flags_,e.diffValueMask_,1===t)}}])}();Reaction.isDisposedMask_=1,Reaction.isScheduledMask_=2,Reaction.isTrackPendingMask_=4,Reaction.isRunningMask_=8,Reaction.diffValueMask_=16;var MAX_REACTION_ITERATIONS=100,reactionScheduler=function(e){return e()};function runReactions(){globalState.inBatch>0||globalState.isRunningReactions||reactionScheduler(runReactionsHelper)}function runReactionsHelper(){globalState.isRunningReactions=!0;for(var e=globalState.pendingReactions,t=0;e.length>0;){++t===MAX_REACTION_ITERATIONS&&(console.error("Reaction doesn't converge to a stable state after "+MAX_REACTION_ITERATIONS+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}globalState.isRunningReactions=!1}var isReaction=createInstanceofPredicate("Reaction",Reaction);function setReactionScheduler(e){var t=reactionScheduler;reactionScheduler=function(n){return e(function(){return t(n)})}}function isSpyEnabled(){return!!globalState.spyListeners.length}function spyReport(e){if(globalState.spyListeners.length)for(var t=globalState.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function spyReportStart(e){spyReport(_extends({},e,{spyReportStart:!0}))}var END_EVENT={type:"report-end",spyReportEnd:!0};function spyReportEnd(e){spyReport(e?_extends({},e,{type:"report-end",spyReportEnd:!0}):END_EVENT)}function spy(e){return globalState.spyListeners.push(e),once(function(){globalState.spyListeners=globalState.spyListeners.filter(function(t){return t!==e})})}var ACTION="action",ACTION_BOUND="action.bound",AUTOACTION="autoAction",AUTOACTION_BOUND="autoAction.bound",DEFAULT_ACTION_NAME="<unnamed action>",actionAnnotation=createActionAnnotation(ACTION),actionBoundAnnotation=createActionAnnotation(ACTION_BOUND,{bound:!0}),autoActionAnnotation=createActionAnnotation(AUTOACTION,{autoAction:!0}),autoActionBoundAnnotation=createActionAnnotation(AUTOACTION_BOUND,{autoAction:!0,bound:!0});function createActionFactory(e){return function(t,n){return isFunction$1(t)?createAction(t.name||DEFAULT_ACTION_NAME,t,e):isFunction$1(n)?createAction(t,n,e):is20223Decorator(n)?(e?autoActionAnnotation:actionAnnotation).decorate_20223_(t,n):isStringish(n)?storeAnnotation(t,n,e?autoActionAnnotation:actionAnnotation):isStringish(t)?createDecoratorAnnotation(createActionAnnotation(e?AUTOACTION:ACTION,{name:t,autoAction:e})):void die("Invalid arguments for `action`")}}var action=createActionFactory(!1);Object.assign(action,actionAnnotation);var autoAction=createActionFactory(!0);function runInAction(e){return executeAction(e.name||DEFAULT_ACTION_NAME,!1,e,this,void 0)}function isAction(e){return isFunction$1(e)&&!0===e.isMobxAction}function autorun(e,t){var n,r,o,a;void 0===t&&(t=EMPTY_OBJECT),isFunction$1(e)||die("Autorun expects a function as first argument"),isAction(e)&&die("Autorun does not accept actions since actions are untrackable");var i,s=null!=(n=null==(r=t)?void 0:r.name)?n:e.name||"Autorun@"+getNextId();if(!t.scheduler&&!t.delay)i=new Reaction(s,function(){this.track(c)},t.onError,t.requiresObservable);else{var l=createSchedulerFromOptions(t),u=!1;i=new Reaction(s,function(){u||(u=!0,l(function(){u=!1,i.isDisposed||i.track(c)}))},t.onError,t.requiresObservable)}function c(){e(i)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||i.schedule_(),i.getDisposer_(null==(a=t)?void 0:a.signal)}Object.assign(autoAction,autoActionAnnotation),action.bound=createDecoratorAnnotation(actionBoundAnnotation),autoAction.bound=createDecoratorAnnotation(autoActionBoundAnnotation);var run=function(e){return e()};function createSchedulerFromOptions(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:run}function reaction(e,t,n){var r,o,a;void 0===n&&(n=EMPTY_OBJECT),isFunction$1(e)&&isFunction$1(t)||die("First and second argument to reaction should be functions"),isPlainObject(n)||die("Third argument of reactions should be an object");var i,s=null!=(r=n.name)?r:"Reaction@"+getNextId(),l=action(s,n.onError?wrapErrorHandler(n.onError,t):t),u=!n.scheduler&&!n.delay,c=createSchedulerFromOptions(n),d=!0,p=!1,f=n.compareStructural?comparer.structural:n.equals||comparer.default,m=new Reaction(s,function(){d||u?h():p||(p=!0,c(h))},n.onError,n.requiresObservable);function h(){if(p=!1,!m.isDisposed){var t=!1,r=i;m.track(function(){var n=allowStateChanges(!1,function(){return e(m)});t=d||!f(i,n),i=n}),(d&&n.fireImmediately||!d&&t)&&l(i,r,m),d=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||m.schedule_(),m.getDisposer_(null==(a=n)?void 0:a.signal)}function wrapErrorHandler(e,t){return function(){try{return t.apply(this,arguments)}catch(n){e.call(this,n)}}}var ON_BECOME_OBSERVED="onBO",ON_BECOME_UNOBSERVED="onBUO";function onBecomeObserved(e,t,n){return interceptHook(ON_BECOME_OBSERVED,e,t,n)}function onBecomeUnobserved(e,t,n){return interceptHook(ON_BECOME_UNOBSERVED,e,t,n)}function interceptHook(e,t,n,r){var o="function"==typeof r?getAtom(t,n):getAtom(t),a=isFunction$1(r)?r:n,i=e+"L";return o[i]?o[i].add(a):o[i]=new Set([a]),function(){var e=o[i];e&&(e.delete(a),0===e.size&&delete o[i])}}var NEVER="never",ALWAYS="always",OBSERVED="observed";function configure(e){!0===e.isolateGlobalState&&isolateGlobalState();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(globalState.useProxies=t===ALWAYS||t!==NEVER&&"undefined"!=typeof Proxy),"ifavailable"===t&&(globalState.verifyProxies=!0),void 0!==n){var r=n===ALWAYS?ALWAYS:n===OBSERVED;globalState.enforceActions=r,globalState.allowStateChanges=!0!==r&&r!==ALWAYS}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(globalState[t]=!!e[t])}),globalState.allowStateReads=!globalState.observableRequiresReaction,!0===globalState.disableErrorBoundaries&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),e.reactionScheduler&&setReactionScheduler(e.reactionScheduler)}function extendObservable(e,t,n,r){arguments.length>4&&die("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&die("'extendObservable' expects an object as first argument"),isObservableMap(e)&&die("'extendObservable' should not be used on maps, use map.merge instead"),isPlainObject(t)||die("'extendObservable' only accepts plain objects as second argument"),(isObservable(t)||isObservable(n))&&die("Extending an object with another observable (object) is not supported");var o=getOwnPropertyDescriptors(t);return initObservable(function(){var t=asObservableObject(e,r)[$mobx];ownKeys(o).forEach(function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))})}),e}function getDependencyTree(e,t){return nodeToDependencyTree(getAtom(e,t))}function nodeToDependencyTree(e){var t={name:e.name_};return e.observing_&&e.observing_.length>0&&(t.dependencies=unique(e.observing_).map(nodeToDependencyTree)),t}function unique(e){return Array.from(new Set(e))}var generatorId=0;function FlowCancellationError(){this.message="FLOW_CANCELLED"}FlowCancellationError.prototype=Object.create(Error.prototype);var flowAnnotation=createFlowAnnotation("flow"),flowBoundAnnotation=createFlowAnnotation("flow.bound",{bound:!0}),flow=Object.assign(function(e,t){if(is20223Decorator(t))return flowAnnotation.decorate_20223_(e,t);if(isStringish(t))return storeAnnotation(e,t,flowAnnotation);1!==arguments.length&&die("Flow expects single argument with generator function");var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++generatorId,a=action(r+" - runid: "+o+" - init",n).apply(this,t),i=void 0,s=new Promise(function(t,n){var s=0;function l(e){var t;i=void 0;try{t=action(r+" - runid: "+o+" - yield "+s++,a.next).call(a,e)}catch(l){return n(l)}c(t)}function u(e){var t;i=void 0;try{t=action(r+" - runid: "+o+" - yield "+s++,a.throw).call(a,e)}catch(l){return n(l)}c(t)}function c(e){if(!isFunction$1(null==e?void 0:e.then))return e.done?t(e.value):(i=Promise.resolve(e.value)).then(l,u);e.then(c,n)}e=n,l(void 0)});return s.cancel=action(r+" - runid: "+o+" - cancel",function(){try{i&&cancelPromise(i);var t=a.return(void 0),n=Promise.resolve(t.value);n.then(noop,noop),cancelPromise(n),e(new FlowCancellationError)}catch(r){e(r)}}),s};return o.isMobXFlow=!0,o},flowAnnotation);function cancelPromise(e){isFunction$1(e.cancel)&&e.cancel()}function isFlow(e){return!0===(null==e?void 0:e.isMobXFlow)}function _isObservable(e,t){return!!e&&(isObservableObject(e)||!!e[$mobx]||isAtom(e)||isReaction(e)||isComputedValue(e))}function isObservable(e){return 1!==arguments.length&&die("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),_isObservable(e)}function trace(){for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"boolean"==typeof n[n.length-1]&&(e=n.pop());var o=getAtomFromArgs(n);if(!o)return die("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===TraceMode.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled"),o.isTracing_=e?TraceMode.BREAK:TraceMode.LOG}function getAtomFromArgs(e){switch(e.length){case 0:return globalState.trackingDerivation;case 1:return getAtom(e[0]);case 2:return getAtom(e[0],e[1])}}function transaction(e,t){void 0===t&&(t=void 0),startBatch();try{return e.apply(t)}finally{endBatch()}}function getAdm(e){return e[$mobx]}flow.bound=createDecoratorAnnotation(flowBoundAnnotation);var objectProxyTraps={has:function(e,t){return globalState.trackingDerivation&&warnAboutProxyRequirement("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),getAdm(e).has_(t)},get:function(e,t){return getAdm(e).get_(t)},set:function(e,t,n){var r;return!!isStringish(t)&&(getAdm(e).values_.has(t)||warnAboutProxyRequirement("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(r=getAdm(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return warnAboutProxyRequirement("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!isStringish(t)&&(null==(n=getAdm(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return warnAboutProxyRequirement("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(r=getAdm(e).defineProperty_(t,n))||r},ownKeys:function(e){return globalState.trackingDerivation&&warnAboutProxyRequirement("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),getAdm(e).ownKeys_()},preventExtensions:function(e){die(13)}};function asDynamicObservableObject(e,t){var n,r;return assertProxies(),null!=(r=(n=(e=asObservableObject(e,t))[$mobx]).proxy_)?r:n.proxy_=new Proxy(e,objectProxyTraps)}function hasInterceptors(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function registerInterceptor(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),once(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function interceptChange(e,t){var n=untrackedStart();try{for(var r=[].concat(e.interceptors_||[]),o=0,a=r.length;o<a&&((t=r[o](t))&&!t.type&&die(14),t);o++);return t}finally{untrackedEnd(n)}}function hasListeners(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function registerListener(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),once(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function notifyListeners(e,t){var n=untrackedStart(),r=e.changeListeners_;if(r){for(var o=0,a=(r=r.slice()).length;o<a;o++)r[o](t);untrackedEnd(n)}}function makeObservable(e,t,n){return initObservable(function(){var r=asObservableObject(e,n)[$mobx];t&&e[storedAnnotationsSymbol]&&die("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),null!=t||(t=collectStoredAnnotations(e)),ownKeys(t).forEach(function(e){return r.make_(e,t[e])})}),e}var SPLICE="splice",UPDATE="update",MAX_SPLICE_SIZE=1e4,arrayTraps={get:function(e,t){var n=e[$mobx];return t===$mobx?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?hasProp(arrayExtensions,t)?arrayExtensions[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[$mobx];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){die(15)}},ObservableArrayAdministration=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray@"+getNextId()),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 Atom(e),this.enhancer_=function(n,r){return t(n,r,e+"[..]")}}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 registerInterceptor(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}),registerListener(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&die("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_&&die(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&reserveArrayBuffer(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;checkIfStateModificationsAreAllowed(this.atom_);var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=EMPTY_ARRAY),hasInterceptors(this)){var a=interceptChange(this,{object:this.proxy_,type:SPLICE,index:e,removedCount:t,added:n});if(!a)return EMPTY_ARRAY;t=a.removedCount,n=a.added}n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_;var i=n.length-t;this.updateArrayLength_(o,i);var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<MAX_SPLICE_SIZE)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),a=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var i=0;i<n.length;i++)this.values_[e+i]=n[i];for(var s=0;s<a.length;s++)this.values_[e+n.length+s]=a[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),o=hasListeners(this),a=o||r?{observableKind:"array",object:this.proxy_,type:UPDATE,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;r&&spyReportStart(a),this.atom_.reportChanged(),o&&notifyListeners(this,a),r&&spyReportEnd()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),o=hasListeners(this),a=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:SPLICE,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&spyReportStart(a),this.atom_.reportChanged(),o&&notifyListeners(this,a),r&&spyReportEnd()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX")},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&die(17,e,n.length),e<n.length){checkIfStateModificationsAreAllowed(this.atom_);var r=n[e];if(hasInterceptors(this)){var o=interceptChange(this,{type:UPDATE,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var a=new Array(e+1-n.length),i=0;i<a.length-1;i++)a[i]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function createObservableArray(e,t,n,r){return void 0===n&&(n="ObservableArray@"+getNextId()),void 0===r&&(r=!1),assertProxies(),initObservable(function(){var o=new ObservableArrayAdministration(n,t,r,!1);addHiddenFinalProp(o.values_,$mobx,o);var a=new Proxy(o.values_,arrayTraps);return o.proxy_=a,e&&e.length&&o.spliceWithArray_(0,0,e),a})}var arrayExtensions={clear:function(){return this.splice(0)},replace:function(e){var t=this[$mobx];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),o=2;o<n;o++)r[o-2]=arguments[o];var a=this[$mobx];switch(arguments.length){case 0:return[];case 1:return a.spliceWithArray_(e);case 2:return a.spliceWithArray_(e,t)}return a.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[$mobx].spliceWithArray_(e,t,n)},push:function(){for(var e=this[$mobx],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[$mobx].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[$mobx],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 globalState.trackingDerivation&&die(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){globalState.trackingDerivation&&die(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[$mobx],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function addArrayExtension(e,t){"function"==typeof Array.prototype[e]&&(arrayExtensions[e]=t(e))}function simpleFunc(e){return function(){var t=this[$mobx];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function mapLikeFunc(e){return function(t,n){var r=this,o=this[$mobx];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e](function(e,o){return t.call(n,e,o,r)})}}function reduceLikeFunc(e){return function(){var t=this,n=this[$mobx];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}addArrayExtension("at",simpleFunc),addArrayExtension("concat",simpleFunc),addArrayExtension("flat",simpleFunc),addArrayExtension("includes",simpleFunc),addArrayExtension("indexOf",simpleFunc),addArrayExtension("join",simpleFunc),addArrayExtension("lastIndexOf",simpleFunc),addArrayExtension("slice",simpleFunc),addArrayExtension("toString",simpleFunc),addArrayExtension("toLocaleString",simpleFunc),addArrayExtension("toSorted",simpleFunc),addArrayExtension("toSpliced",simpleFunc),addArrayExtension("with",simpleFunc),addArrayExtension("every",mapLikeFunc),addArrayExtension("filter",mapLikeFunc),addArrayExtension("find",mapLikeFunc),addArrayExtension("findIndex",mapLikeFunc),addArrayExtension("findLast",mapLikeFunc),addArrayExtension("findLastIndex",mapLikeFunc),addArrayExtension("flatMap",mapLikeFunc),addArrayExtension("forEach",mapLikeFunc),addArrayExtension("map",mapLikeFunc),addArrayExtension("some",mapLikeFunc),addArrayExtension("toReversed",mapLikeFunc),addArrayExtension("reduce",reduceLikeFunc),addArrayExtension("reduceRight",reduceLikeFunc);var isObservableArrayAdministration=createInstanceofPredicate("ObservableArrayAdministration",ObservableArrayAdministration);function isObservableArray(e){return isObject$2(e)&&isObservableArrayAdministration(e[$mobx])}var ObservableMapMarker={},ADD="add",DELETE="delete",ObservableMap=function(){function e(e,t,n){var r=this;void 0===t&&(t=deepEnhancer),void 0===n&&(n="ObservableMap@"+getNextId()),this.enhancer_=void 0,this.name_=void 0,this[$mobx]=ObservableMapMarker,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,isFunction$1(Map)||die(18),initObservable(function(){r.keysAtom_=createAtom(r.name_+".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(!globalState.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new ObservableValue(this.has_(e),referenceEnhancer,this.name_+"."+stringifyKey(e)+"?",!1);this.hasMap_.set(e,r),onBecomeUnobserved(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(hasInterceptors(this)){var r=interceptChange(this,{type:n?UPDATE:ADD,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((checkIfStateModificationsAreAllowed(this.keysAtom_),hasInterceptors(this))&&!interceptChange(this,{type:DELETE,object:this,name:e}))return!1;if(this.has_(e)){var n=isSpyEnabled(),r=hasListeners(this),o=r||n?{observableKind:"map",debugObjectName:this.name_,type:DELETE,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return n&&spyReportStart(o),transaction(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)}),r&&notifyListeners(this,o),n&&spyReportEnd(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==globalState.UNCHANGED){var r=isSpyEnabled(),o=hasListeners(this),a=o||r?{observableKind:"map",debugObjectName:this.name_,type:UPDATE,object:this,oldValue:n.value_,name:e,newValue:t}:null;r&&spyReportStart(a),n.setNewValue_(t),o&&notifyListeners(this,a),r&&spyReportEnd()}},t.addValue_=function(e,t){var n=this;checkIfStateModificationsAreAllowed(this.keysAtom_),transaction(function(){var r,o=new ObservableValue(t,n.enhancer_,n.name_+"."+stringifyKey(e),!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=isSpyEnabled(),o=hasListeners(this),a=o||r?{observableKind:"map",debugObjectName:this.name_,type:ADD,object:this,name:e,newValue:t}:null;r&&spyReportStart(a),o&&notifyListeners(this,a),r&&spyReportEnd()},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 makeIterableForMap({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return makeIterableForMap({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=_createForOfIteratorHelperLoose(this);!(n=r()).done;){var o=n.value,a=o[0],i=o[1];e.call(t,i,a,this)}},t.merge=function(e){var t=this;return isObservableMap(e)&&(e=new Map(e)),transaction(function(){isPlainObject(e)?getPlainObjectKeys(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)}):isES6Map(e)?(isPlainES6Map(e)||die(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&die(20,e)}),this},t.clear=function(){var e=this;transaction(function(){untracked(function(){for(var t,n=_createForOfIteratorHelperLoose(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return transaction(function(){for(var n,r=convertToMap(e),o=new Map,a=!1,i=_createForOfIteratorHelperLoose(t.data_.keys());!(n=i()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))a=!0;else{var l=t.data_.get(s);o.set(s,l)}}for(var u,c=_createForOfIteratorHelperLoose(r.entries());!(u=c()).done;){var d=u.value,p=d[0],f=d[1],m=t.data_.has(p);if(t.set(p,f),t.data_.has(p)){var h=t.data_.get(p);o.set(p,h),m||(a=!0)}}if(!a)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),g=o.keys(),b=v.next(),y=g.next();!b.done;){if(b.value!==y.value){t.keysAtom_.reportChanged();break}b=v.next(),y=g.next()}t.data_=o}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return!0===t&&die("`observe` doesn't support fireImmediately=true in combination with maps."),registerListener(this,e)},t.intercept_=function(e){return registerInterceptor(this,e)},_createClass(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),isObservableMap=createInstanceofPredicate("ObservableMap",ObservableMap);function makeIterableForMap(e){return e[Symbol.toStringTag]="MapIterator",makeIterable(e)}function convertToMap(e){if(isES6Map(e)||isObservableMap(e))return e;if(Array.isArray(e))return new Map(e);if(isPlainObject(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return die(21,e)}var ObservableSetMarker={},ObservableSet=function(){function e(e,t,n){var r=this;void 0===t&&(t=deepEnhancer),void 0===n&&(n="ObservableSet@"+getNextId()),this.name_=void 0,this[$mobx]=ObservableSetMarker,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,isFunction$1(Set)||die(22),this.enhancer_=function(e,r){return t(e,r,n)},initObservable(function(){r.atom_=createAtom(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;transaction(function(){untracked(function(){for(var t,n=_createForOfIteratorHelperLoose(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=_createForOfIteratorHelperLoose(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(checkIfStateModificationsAreAllowed(this.atom_),hasInterceptors(this)){var n=interceptChange(this,{type:ADD,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){transaction(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=isSpyEnabled(),o=hasListeners(this),a=o||r?{observableKind:"set",debugObjectName:this.name_,type:ADD,object:this,newValue:e}:null;r&&spyReportStart(a),o&&notifyListeners(this,a),r&&spyReportEnd()}return this},t.delete=function(e){var t=this;if(hasInterceptors(this)&&!interceptChange(this,{type:DELETE,object:this,oldValue:e}))return!1;if(this.has(e)){var n=isSpyEnabled(),r=hasListeners(this),o=r||n?{observableKind:"set",debugObjectName:this.name_,type:DELETE,object:this,oldValue:e}:null;return n&&spyReportStart(o),transaction(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&notifyListeners(this,o),n&&spyReportEnd(),!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 makeIterableForSet({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 makeIterableForSet({next:function(){var n=t.next(),r=n.value,o=n.done;return o?{value:void 0,done:o}:{value:e.dehanceValue_(r),done:o}}})},t.intersection=function(e){return isES6Set(e)&&!isObservableSet(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return isES6Set(e)&&!isObservableSet(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return isES6Set(e)&&!isObservableSet(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 isES6Set(e)&&!isObservableSet(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return isObservableSet(e)&&(e=new Set(e)),transaction(function(){Array.isArray(e)||isES6Set(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&die("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return!0===t&&die("`observe` doesn't support fireImmediately=true in combination with sets."),registerListener(this,e)},t.intercept_=function(e){return registerInterceptor(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},_createClass(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),isObservableSet=createInstanceofPredicate("ObservableSet",ObservableSet);function makeIterableForSet(e){return e[Symbol.toStringTag]="SetIterator",makeIterable(e)}var descriptorCache=Object.create(null),REMOVE="remove",ObservableObjectAdministration=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=autoAnnotation),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 Atom(this.name_+".keys"),this.isPlainObject_=isPlainObject(this.target_),isAnnotation(this.defaultAnnotation_)||die("defaultAnnotation must be valid annotation"),this.appliedAnnotations_={}}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 ComputedValue)return n.set(t),!0;if(hasInterceptors(this)){var r=interceptChange(this,{type:UPDATE,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==globalState.UNCHANGED){var o=hasListeners(this),a=isSpyEnabled(),i=o||a?{type:UPDATE,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;a&&spyReportStart(i),n.setNewValue_(t),o&&notifyListeners(this,i),a&&spyReportEnd()}return!0},t.get_=function(e){return globalState.trackingDerivation&&!hasProp(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),hasProp(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(!globalState.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new ObservableValue(e in this.target_,referenceEnhancer,this.name_+"."+stringifyKey(e)+"?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(assertAnnotable(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[storedAnnotationsSymbol])&&n[e])return;die(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==objectPrototype;){var o=getDescriptor(r,e);if(o){var a=t.make_(this,e,o,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}recordAnnotationApplied(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);assertAnnotable(this,n,e);var o=n.extend_(this,e,t,r);return o&&recordAnnotationApplied(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),checkIfStateModificationsAreAllowed(this.keysAtom_);try{startBatch();var r=this.delete_(e);if(!r)return r;if(hasInterceptors(this)){var o=interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:t.value});if(!o)return null;var a=o.newValue;t.value!==a&&(t=_extends({},t,{value:a}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else defineProperty(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{endBatch()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),checkIfStateModificationsAreAllowed(this.keysAtom_);try{startBatch();var o=this.delete_(e);if(!o)return o;if(hasInterceptors(this)){var a=interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:t});if(!a)return null;t=a.newValue}var i=getCachedObservablePropDescriptor(e),s={configurable:!globalState.safeDescriptors||this.isPlainObject_,enumerable:!0,get:i.get,set:i.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else defineProperty(this.target_,e,s);var l=new ObservableValue(t,n,this.name_+"."+e.toString(),!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{endBatch()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),checkIfStateModificationsAreAllowed(this.keysAtom_);try{startBatch();var r=this.delete_(e);if(!r)return r;if(hasInterceptors(this))if(!interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:void 0}))return null;t.name||(t.name=this.name_+"."+e.toString()),t.context=this.proxy_||this.target_;var o=getCachedObservablePropDescriptor(e),a={configurable:!globalState.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,a))return!1}else defineProperty(this.target_,e,a);this.values_.set(e,new ComputedValue(t)),this.notifyPropertyAddition_(e,void 0)}finally{endBatch()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),checkIfStateModificationsAreAllowed(this.keysAtom_),!hasProp(this.target_,e))return!0;if(hasInterceptors(this)&&!interceptChange(this,{object:this.proxy_||this.target_,name:e,type:REMOVE}))return null;try{var n;startBatch();var r,o=hasListeners(this),a=isSpyEnabled(),i=this.values_.get(e),s=void 0;if(!i&&(o||a))s=null==(r=getDescriptor(this.target_,e))?void 0:r.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(delete this.appliedAnnotations_[e],i&&(this.values_.delete(e),i instanceof ObservableValue&&(s=i.value_),propagateChanged(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||a){var l={type:REMOVE,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};a&&spyReportStart(l),o&&notifyListeners(this,l),a&&spyReportEnd()}}finally{endBatch()}return!0},t.observe_=function(e,t){return!0===t&&die("`observe` doesn't support the fire immediately property for observable objects."),registerListener(this,e)},t.intercept_=function(e){return registerInterceptor(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=hasListeners(this),o=isSpyEnabled();if(r||o){var a=r||o?{type:ADD,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&spyReportStart(a),r&&notifyListeners(this,a),o&&spyReportEnd()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),ownKeys(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function asObservableObject(e,t){var n;if(t&&isObservableObject(e)&&die("Options can't be provided for already observable objects."),hasProp(e,$mobx))return getAdministration(e)instanceof ObservableObjectAdministration||die("Cannot convert '"+getDebugName(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;Object.isExtensible(e)||die("Cannot make the designated object observable; it is not extensible");var r=null!=(n=null==t?void 0:t.name)?n:(isPlainObject(e)?"ObservableObject":e.constructor.name)+"@"+getNextId(),o=new ObservableObjectAdministration(e,new Map,String(r),getAnnotationFromOptions(t));return addHiddenProp(e,$mobx,o),e}var isObservableObjectAdministration=createInstanceofPredicate("ObservableObjectAdministration",ObservableObjectAdministration);function getCachedObservablePropDescriptor(e){return descriptorCache[e]||(descriptorCache[e]={get:function(){return this[$mobx].getObservablePropValue_(e)},set:function(t){return this[$mobx].setObservablePropValue_(e,t)}})}function isObservableObject(e){return!!isObject$2(e)&&isObservableObjectAdministration(e[$mobx])}function recordAnnotationApplied(e,t,n){var r;e.appliedAnnotations_[n]=t,null==(r=e.target_[storedAnnotationsSymbol])||delete r[n]}function assertAnnotable(e,t,n){if(isAnnotation(t)||die("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),!isOverride(t)&&hasProp(e.appliedAnnotations_,n)){var r=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;die("Cannot apply '"+t.annotationType_+"' to '"+r+"':\nThe field is already annotated with '"+o+"'.\nRe-annotating fields is not allowed.\nUse 'override' annotation for methods overridden by subclass.")}}var ENTRY_0=createArrayEntryDescriptor(0),safariPrototypeSetterInheritanceBug=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),OBSERVABLE_ARRAY_BUFFER_SIZE=0,StubArray=function(){};function inherit(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}inherit(StubArray,Array.prototype);var LegacyObservableArray=function(e){function t(t,n,r,o){var a;return void 0===r&&(r="ObservableArray@"+getNextId()),void 0===o&&(o=!1),a=e.call(this)||this,initObservable(function(){var e=new ObservableArrayAdministration(r,n,o,!0);e.proxy_=a,addHiddenFinalProp(a,$mobx,e),t&&t.length&&a.spliceWithArray(0,0,t),safariPrototypeSetterInheritanceBug&&Object.defineProperty(a,"0",ENTRY_0)}),a}_inheritsLoose(t,e);var n=t.prototype;return n.concat=function(){this[$mobx].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 isObservableArray(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return makeIterable({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},_createClass(t,[{key:"length",get:function(){return this[$mobx].getArrayLength_()},set:function(e){this[$mobx].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(StubArray);function createArrayEntryDescriptor(e){return{enumerable:!1,configurable:!0,get:function(){return this[$mobx].get_(e)},set:function(t){this[$mobx].set_(e,t)}}}function createArrayBufferItem(e){defineProperty(LegacyObservableArray.prototype,""+e,createArrayEntryDescriptor(e))}function reserveArrayBuffer(e){if(e>OBSERVABLE_ARRAY_BUFFER_SIZE){for(var t=OBSERVABLE_ARRAY_BUFFER_SIZE;t<e+100;t++)createArrayBufferItem(t);OBSERVABLE_ARRAY_BUFFER_SIZE=e}}function createLegacyArray(e,t,n){return new LegacyObservableArray(e,t,n)}function getAtom(e,t){if("object"==typeof e&&null!==e){if(isObservableArray(e))return void 0!==t&&die(23),e[$mobx].atom_;if(isObservableSet(e))return e.atom_;if(isObservableMap(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||die(25,t,getDebugName(e)),n}if(isObservableObject(e)){if(!t)return die(26);var r=e[$mobx].values_.get(t);return r||die(27,t,getDebugName(e)),r}if(isAtom(e)||isComputedValue(e)||isReaction(e))return e}else if(isFunction$1(e)&&isReaction(e[$mobx]))return e[$mobx];die(28)}function getAdministration(e,t){return e||die(29),isAtom(e)||isComputedValue(e)||isReaction(e)||isObservableMap(e)||isObservableSet(e)?e:e[$mobx]?e[$mobx]:void die(24,e)}function getDebugName(e,t){var n;if(void 0!==t)n=getAtom(e,t);else{if(isAction(e))return e.name;n=isObservableObject(e)||isObservableMap(e)||isObservableSet(e)?getAdministration(e):getAtom(e)}return n.name_}function initObservable(e){var t=untrackedStart(),n=allowStateChangesStart(!0);startBatch();try{return e()}finally{endBatch(),allowStateChangesEnd(n),untrackedEnd(t)}}Object.entries(arrayExtensions).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&addHiddenProp(LegacyObservableArray.prototype,t,n)}),reserveArrayBuffer(1e3);var toString=objectPrototype.toString,_getGlobal$Iterator;function deepEqual(e,t,n){return void 0===n&&(n=-1),eq(e,t,n)}function eq(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var a=typeof e;if("function"!==a&&"object"!==a&&"object"!=typeof t)return!1;var i=toString.call(e);if(i!==toString.call(t))return!1;switch(i){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=unwrap(e),t=unwrap(t);var s="[object Array]"===i;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(isFunction$1(l)&&l instanceof l&&isFunction$1(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return o[c]===t;if(r.push(e),o.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!eq(e[c],t[c],n-1,r,o))return!1}else{var d=Object.keys(e),p=d.length;if(Object.keys(t).length!==p)return!1;for(var f=0;f<p;f++){var m=d[f];if(!hasProp(t,m)||!eq(e[m],t[m],n-1,r,o))return!1}}return r.pop(),o.pop(),!0}function unwrap(e){return isObservableArray(e)?e.slice():isES6Map(e)||isObservableMap(e)||isES6Set(e)||isObservableSet(e)?Array.from(e.entries()):e}var maybeIteratorPrototype=(null==(_getGlobal$Iterator=getGlobal$1().Iterator)?void 0:_getGlobal$Iterator.prototype)||{};function makeIterable(e){return e[Symbol.iterator]=getSelf,Object.assign(Object.create(maybeIteratorPrototype),e)}function getSelf(){return this}function isAnnotation(e){return e instanceof Object&&"string"==typeof e.annotationType_&&isFunction$1(e.make_)&&isFunction$1(e.extend_)}["Symbol","Map","Set"].forEach(function(e){void 0===getGlobal$1()[e]&&die("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:spy,extras:{getDebugName:getDebugName},$mobx:$mobx});const TYPE={Null:"null",Undefined:"undefined",NaN:"nan",Object:"[object Object]",Array:"[object Array]",String:"[object String]",Number:"[object Number]",Boolean:"[object Boolean]",Function:"[object Function]",AsyncFunction:"[object AsyncFunction]",RegExp:"[object RegExp]",Symbol:"[object Symbol]",Infinite:"infinite",Element:"element"};function getType(e){if(void 0===e)return TYPE.Undefined;if(null===e)return TYPE.Null;if(e&&(1===e.nodeType||9===e.nodeType))return TYPE.Element;const t=Object.prototype.toString.call(e);if(t===TYPE.Number){if(Number.isNaN(e))return TYPE.NaN;if(!Number.isFinite(e))return TYPE.Infinite}return t}const createTypeGuard=(...e)=>t=>e.includes(getType(t)),isDefined=e=>null!=e,isNull=createTypeGuard(TYPE.Null),isUndefined=createTypeGuard(TYPE.Undefined),isObject$1=createTypeGuard(TYPE.Object),isArray=createTypeGuard(TYPE.Array),isString=createTypeGuard(TYPE.String),isNumber$1=createTypeGuard(TYPE.Number),isBoolean=createTypeGuard(TYPE.Boolean),isFunction=createTypeGuard(TYPE.Function,TYPE.AsyncFunction),isRegExp=createTypeGuard(TYPE.RegExp),isElement=createTypeGuard(TYPE.Element),isNaN$1=createTypeGuard(TYPE.NaN),isInfinite=createTypeGuard(TYPE.Infinite),isSymbol$1=createTypeGuard(TYPE.Symbol),_exports=Object.freeze(Object.defineProperty({__proto__:null,isArray:isArray,isBoolean:isBoolean,isDefined:isDefined,isElement:isElement,isFunction:isFunction,isInfinite:isInfinite,isNaN:isNaN$1,isNull:isNull,isNumber:isNumber$1,isObject:isObject$1,isRegExp:isRegExp,isString:isString,isSymbol:isSymbol$1,isUndefined:isUndefined},Symbol.toStringTag,{value:"Module"})),applyObservable$1=(e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),makeObservable(e)):makeObservable(e,Object.fromEntries(t))},createRef=e=>{let t;const n=e?.comparer??comparer.default,r=e=>{const o=e??null;n(r.current,o)||runInAction(()=>{const e=t;t=r.current??void 0,r.current=o;let n=!1;r.listeners.forEach(e=>{!1===e(r.current,t)&&(n=!0)}),n?(t=e,r.current=t??null):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??{},makeObservable(r,{current:observable.ref,meta:observable}),r},isShallowEqual=(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),o=Object.keys(t);if(r.length!==o.length)return!1;const a=t;for(const i of r)if(!Object.hasOwn(a,i)||e[i]!==a[i])return!1;return!0},{entries:entries,setPrototypeOf:setPrototypeOf,isFrozen:isFrozen,getPrototypeOf:getPrototypeOf,getOwnPropertyDescriptor:getOwnPropertyDescriptor}=Object;let{freeze:freeze,seal:seal,create:create}=Object,{apply:apply,construct:construct}="undefined"!=typeof Reflect&&Reflect;freeze||(freeze=function(e){return e}),seal||(seal=function(e){return e}),apply||(apply=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),construct||(construct=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 arrayForEach=unapply(Array.prototype.forEach),arrayLastIndexOf=unapply(Array.prototype.lastIndexOf),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),arraySplice=unapply(Array.prototype.splice),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return apply(e,t,r)}}function unconstruct(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return construct(e,n)}}function addToSet(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(isFrozen(t)||(t[r]=e),o=e)}e[o]=!0}return e}function cleanArray(e){for(let t=0;t<e.length;t++){objectHasOwnProperty(e,t)||(e[t]=null)}return e}function clone(e){const t=create(null);for(const[n,r]of entries(e)){objectHasOwnProperty(e,n)&&(Array.isArray(r)?t[n]=cleanArray(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=clone(r):t[n]=r)}return t}function lookupGetter(e,t){for(;null!==e;){const n=getOwnPropertyDescriptor(e,t);if(n){if(n.get)return unapply(n.get);if("function"==typeof n.value)return unapply(n.value)}e=getPrototypeOf(e)}return function(){return null}}const html$1=freeze(["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"]),svg$1=freeze(["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"]),svgFilters=freeze(["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"]),svgDisallowed=freeze(["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"]),mathMl$1=freeze(["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"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["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"]),svg=freeze(["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"]),mathMl=freeze(["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"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\$\{[\w\W]*/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR:ARIA_ATTR,ATTR_WHITESPACE:ATTR_WHITESPACE,CUSTOM_ELEMENT:CUSTOM_ELEMENT,DATA_ATTR:DATA_ATTR,DOCTYPE_NAME:DOCTYPE_NAME,ERB_EXPR:ERB_EXPR,IS_ALLOWED_URI:IS_ALLOWED_URI,IS_SCRIPT_OR_DATA:IS_SCRIPT_OR_DATA,MUSTACHE_EXPR:MUSTACHE_EXPR,TMPLIT_EXPR:TMPLIT_EXPR});const NODE_TYPE={element:1,text:3,progressingInstruction:7,comment:8,document:9},getGlobal=function(){return"undefined"==typeof window?null:window},_createTrustedTypesPolicy=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 o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(a){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},_createHooksMap=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getGlobal();const t=e=>createDOMPurify(e);if(t.version="3.3.0",t.removed=[],!e||!e.document||e.document.nodeType!==NODE_TYPE.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,o=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:i,Node:s,Element:l,NodeFilter:u,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:p,trustedTypes:f}=e,m=l.prototype,h=lookupGetter(m,"cloneNode"),v=lookupGetter(m,"remove"),g=lookupGetter(m,"nextSibling"),b=lookupGetter(m,"childNodes"),y=lookupGetter(m,"parentNode");if("function"==typeof i){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,x="";const{implementation:_,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:k}=n,{importNode:C}=r;let T=_createHooksMap();t.isSupported="function"==typeof entries&&"function"==typeof y&&_&&void 0!==_.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:R,TMPLIT_EXPR:O,DATA_ATTR:D,ARIA_ATTR:N,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:M}=EXPRESSIONS;let{IS_ALLOWED_URI:j}=EXPRESSIONS,L=null;const V=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let F=null;const z=addToSet({},[...html,...svg,...mathMl,...xml]);let U=Object.seal(create(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}})),B=null,$=null;const W=Object.seal(create(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let H=!0,q=!0,G=!1,Y=!0,K=!1,X=!0,Q=!1,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!0,oe=!1;let ae=!0,ie=!1,se={},le=null;const ue=addToSet({},["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 ce=null;const de=addToSet({},["audio","video","img","source","image","track"]);let pe=null;const fe=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",he="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let ge=ve,be=!1,ye=null;const we=addToSet({},[me,he,ve],stringToString);let xe=addToSet({},["mi","mo","mn","ms","mtext"]),_e=addToSet({},["annotation-xml"]);const Se=addToSet({},["title","style","font","a","script"]);let Ee=null;const ke=["application/xhtml+xml","text/html"];let Ce=null,Te=null;const Ae=n.createElement("form"),Re=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=clone(e),Ee=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ce="application/xhtml+xml"===Ee?stringToString:stringToLowerCase,L=objectHasOwnProperty(e,"ALLOWED_TAGS")?addToSet({},e.ALLOWED_TAGS,Ce):V,F=objectHasOwnProperty(e,"ALLOWED_ATTR")?addToSet({},e.ALLOWED_ATTR,Ce):z,ye=objectHasOwnProperty(e,"ALLOWED_NAMESPACES")?addToSet({},e.ALLOWED_NAMESPACES,stringToString):we,pe=objectHasOwnProperty(e,"ADD_URI_SAFE_ATTR")?addToSet(clone(fe),e.ADD_URI_SAFE_ATTR,Ce):fe,ce=objectHasOwnProperty(e,"ADD_DATA_URI_TAGS")?addToSet(clone(de),e.ADD_DATA_URI_TAGS,Ce):de,le=objectHasOwnProperty(e,"FORBID_CONTENTS")?addToSet({},e.FORBID_CONTENTS,Ce):ue,B=objectHasOwnProperty(e,"FORBID_TAGS")?addToSet({},e.FORBID_TAGS,Ce):clone({}),$=objectHasOwnProperty(e,"FORBID_ATTR")?addToSet({},e.FORBID_ATTR,Ce):clone({}),se=!!objectHasOwnProperty(e,"USE_PROFILES")&&e.USE_PROFILES,H=!1!==e.ALLOW_ARIA_ATTR,q=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,K=e.SAFE_FOR_TEMPLATES||!1,X=!1!==e.SAFE_FOR_XML,Q=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,ie=e.IN_PLACE||!1,j=e.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,ge=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,_e=e.HTML_INTEGRATION_POINTS||_e,U=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Re(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Re(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),K&&(q=!1),te&&(ee=!0),se&&(L=addToSet({},text),F=[],!0===se.html&&(addToSet(L,html$1),addToSet(F,html)),!0===se.svg&&(addToSet(L,svg$1),addToSet(F,svg),addToSet(F,xml)),!0===se.svgFilters&&(addToSet(L,svgFilters),addToSet(F,svg),addToSet(F,xml)),!0===se.mathMl&&(addToSet(L,mathMl$1),addToSet(F,mathMl),addToSet(F,xml))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?W.tagCheck=e.ADD_TAGS:(L===V&&(L=clone(L)),addToSet(L,e.ADD_TAGS,Ce))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?W.attributeCheck=e.ADD_ATTR:(F===z&&(F=clone(F)),addToSet(F,e.ADD_ATTR,Ce))),e.ADD_URI_SAFE_ATTR&&addToSet(pe,e.ADD_URI_SAFE_ATTR,Ce),e.FORBID_CONTENTS&&(le===ue&&(le=clone(le)),addToSet(le,e.FORBID_CONTENTS,Ce)),ae&&(L["#text"]=!0),Q&&addToSet(L,["html","head","body"]),L.table&&(addToSet(L,["tbody"]),delete B.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=_createTrustedTypesPolicy(f,o)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));freeze&&freeze(e),Te=e}},De=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),Ne=addToSet({},[...mathMl$1,...mathMlDisallowed]),Pe=function(e){arrayPush(t.removed,{element:e});try{y(e).removeChild(e)}catch(n){v(e)}},Ie=function(e,n){try{arrayPush(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(r){arrayPush(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e)if(ee||te)try{Pe(n)}catch(r){}else try{n.setAttribute(e,"")}catch(r){}},Me=function(e){let t=null,r=null;if(Z)e="<remove></remove>"+e;else{const t=stringMatch(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===Ee&&ge===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=w?w.createHTML(e):e;if(ge===ve)try{t=(new p).parseFromString(o,Ee)}catch(i){}if(!t||!t.documentElement){t=_.createDocument(ge,"template",null);try{t.documentElement.innerHTML=be?x:o}catch(i){}}const a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),ge===ve?k.call(t,Q?"html":"body")[0]:Q?t.documentElement:a},je=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof c)||"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,n,r){arrayForEach(e,e=>{e.call(t,n,r,Te)})}const ze=function(e){let n=null;if(Fe(T.beforeSanitizeElements,e,null),Le(e))return Pe(e),!0;const r=Ce(e.nodeName);if(Fe(T.uponSanitizeElement,e,{tagName:r,allowedTags:L}),X&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&regExpTest(/<[/\w!]/g,e.innerHTML)&&regExpTest(/<[/\w!]/g,e.textContent))return Pe(e),!0;if(e.nodeType===NODE_TYPE.progressingInstruction)return Pe(e),!0;if(X&&e.nodeType===NODE_TYPE.comment&&regExpTest(/<[/\w]/g,e.data))return Pe(e),!0;if(!(W.tagCheck instanceof Function&&W.tagCheck(r))&&(!L[r]||B[r])){if(!B[r]&&Be(r)){if(U.tagNameCheck instanceof RegExp&&regExpTest(U.tagNameCheck,r))return!1;if(U.tagNameCheck instanceof Function&&U.tagNameCheck(r))return!1}if(ae&&!le[r]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=h(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,g(e))}}}return Pe(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:ge,tagName:"template"});const n=stringToLowerCase(e.tagName),r=stringToLowerCase(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===he?t.namespaceURI===ve?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(De[n]):e.namespaceURI===me?t.namespaceURI===ve?"math"===n:t.namespaceURI===he?"math"===n&&_e[r]:Boolean(Ne[n]):e.namespaceURI===ve?!(t.namespaceURI===he&&!_e[r])&&!(t.namespaceURI===me&&!xe[r])&&!Ne[n]&&(Se[n]||!De[n]):!("application/xhtml+xml"!==Ee||!ye[e.namespaceURI]))}(e)?(Pe(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!regExpTest(/<\/no(script|embed|frames)/i,e.innerHTML)?(K&&e.nodeType===NODE_TYPE.text&&(n=e.textContent,arrayForEach([A,R,O],e=>{n=stringReplace(n,e," ")}),e.textContent!==n&&(arrayPush(t.removed,{element:e.cloneNode()}),e.textContent=n)),Fe(T.afterSanitizeElements,e,null),!1):(Pe(e),!0)},Ue=function(e,t,r){if(re&&("id"===t||"name"===t)&&(r in n||r in Ae))return!1;if(q&&!$[t]&&regExpTest(D,t));else if(H&&regExpTest(N,t));else if(W.attributeCheck instanceof Function&&W.attributeCheck(t,e));else if(!F[t]||$[t]){if(!(Be(e)&&(U.tagNameCheck instanceof RegExp&&regExpTest(U.tagNameCheck,e)||U.tagNameCheck instanceof Function&&U.tagNameCheck(e))&&(U.attributeNameCheck instanceof RegExp&&regExpTest(U.attributeNameCheck,t)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(t,e))||"is"===t&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&regExpTest(U.tagNameCheck,r)||U.tagNameCheck instanceof Function&&U.tagNameCheck(r))))return!1}else if(pe[t]);else if(regExpTest(j,stringReplace(r,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf(r,"data:")||!ce[e]){if(G&&!regExpTest(P,stringReplace(r,I,"")));else if(r)return!1}else;return!0},Be=function(e){return"annotation-xml"!==e&&stringMatch(e,M)},$e=function(e){Fe(T.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||Le(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let o=n.length;for(;o--;){const i=n[o],{name:s,namespaceURI:l,value:u}=i,c=Ce(s),d=u;let p="value"===s?d:stringTrim(d);if(r.attrName=c,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,Fe(T.uponSanitizeAttribute,e,r),p=r.attrValue,!oe||"id"!==c&&"name"!==c||(Ie(s,e),p="user-content-"+p),X&&regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i,p)){Ie(s,e);continue}if("attributename"===c&&stringMatch(p,"href")){Ie(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ie(s,e);continue}if(!Y&&regExpTest(/\/>/i,p)){Ie(s,e);continue}K&&arrayForEach([A,R,O],e=>{p=stringReplace(p,e," ")});const m=Ce(e.nodeName);if(Ue(m,c,p)){if(w&&"object"==typeof f&&"function"==typeof f.getAttributeType)if(l);else switch(f.getAttributeType(m,c)){case"TrustedHTML":p=w.createHTML(p);break;case"TrustedScriptURL":p=w.createScriptURL(p)}if(p!==d)try{l?e.setAttributeNS(l,s,p):e.setAttribute(s,p),Le(e)?Pe(e):arrayPop(t.removed)}catch(a){Ie(s,e)}}else Ie(s,e)}Fe(T.afterSanitizeAttributes,e,null)},We=function e(t){let n=null;const r=je(t);for(Fe(T.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Fe(T.uponSanitizeShadowNode,n,null),ze(n),$e(n),n.content instanceof a&&e(n.content);Fe(T.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,i=null,l=null,u=null;if(be=!e,be&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ve(e)){if("function"!=typeof e.toString)throw typeErrorCreate("toString is not a function");if("string"!=typeof(e=e.toString()))throw typeErrorCreate("dirty is not a string, aborting")}if(!t.isSupported)return e;if(J||Oe(n),t.removed=[],"string"==typeof e&&(ie=!1),ie){if(e.nodeName){const t=Ce(e.nodeName);if(!L[t]||B[t])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)o=Me("\x3c!----\x3e"),i=o.ownerDocument.importNode(e,!0),i.nodeType===NODE_TYPE.element&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!ee&&!K&&!Q&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(o=Me(e),!o)return ee?null:ne?x:""}o&&Z&&Pe(o.firstChild);const c=je(ie?e:o);for(;l=c.nextNode();)ze(l),$e(l),l.content instanceof a&&We(l.content);if(ie)return e;if(ee){if(te)for(u=E.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return(F.shadowroot||F.shadowrootmode)&&(u=C.call(r,u,!0)),u}let d=Q?o.outerHTML:o.innerHTML;return Q&&L["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&regExpTest(DOCTYPE_NAME,o.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+d),K&&arrayForEach([A,R,O],e=>{d=stringReplace(d,e," ")}),w&&ne?w.createHTML(d):d},t.setConfig=function(){Oe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},t.clearConfig=function(){Te=null,J=!1},t.isValidAttribute=function(e,t,n){Te||Oe({});const r=Ce(e),o=Ce(t);return Ue(r,o,n)},t.addHook=function(e,t){"function"==typeof t&&arrayPush(T[e],t)},t.removeHook=function(e,t){if(void 0!==t){const n=arrayLastIndexOf(T[e],t);return-1===n?void 0:arraySplice(T[e],n,1)[0]}return arrayPop(T[e])},t.removeHooks=function(e){T[e]=[]},t.removeAllHooks=function(){T=_createHooksMap()},t}createDOMPurify();const skipEvent=e=>(e.preventDefault(),e.stopPropagation(),!1),startViewTransitionSafety=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var react={exports:{}},react_development={exports:{}},hasRequiredReact_development,hasRequiredReact;function requireReact_development(){return hasRequiredReact_development||(hasRequiredReact_development=1,e=react_development,t=react_development.exports,function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator;function v(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}var g={current:null},b={transition:null},y={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},x={},_=null;function S(e){_=e}x.setExtraStackFrame=function(e){_=e},x.getCurrentStack=null,x.getStackAddendum=function(){var e="";_&&(e+=_);var t=x.getCurrentStack;return t&&(e+=t()||""),e};var E={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:b,ReactCurrentOwner:w};function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];T("warn",e,n)}function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];T("error",e,n)}function T(e,t,n){var r=E.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map(function(e){return String(e)});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}E.ReactDebugCurrentFrame=x,E.ReactCurrentActQueue=y;var A={};function R(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;A[o]||(C("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),A[o]=!0)}var O={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){R(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){R(e,"replaceState")},enqueueSetState:function(e,t,n,r){R(e,"setState")}},D=Object.assign,N={};function P(e,t,n){this.props=e,this.context=t,this.refs=N,this.updater=n||O}Object.freeze(N),P.prototype.isReactComponent={},P.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new 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")},P.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var I={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},M=function(e,t){Object.defineProperty(P.prototype,e,{get:function(){k("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var j in I)I.hasOwnProperty(j)&&M(j,I[j]);function L(){}function V(e,t,n){this.props=e,this.context=t,this.refs=N,this.updater=n||O}L.prototype=P.prototype;var F=V.prototype=new L;F.constructor=V,D(F,P.prototype),F.isPureReactComponent=!0;var z=Array.isArray;function U(e){return z(e)}function B(e){return""+e}function $(e){if(function(e){try{return B(e),!1}catch(t){return!0}}(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),B(e)}function W(e){return e.displayName||"Context"}function H(e){if(null==e)return null;if("number"==typeof e.tag&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return W(e)+".Consumer";case s:return W(e._context)+".Provider";case u:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:H(e.type)||"Memo";case f:var n=e,m=n._payload,h=n._init;try{return H(h(m))}catch(v){return null}}return null}var q,G,Y,K=Object.prototype.hasOwnProperty,X={key:!0,ref:!0,__self:!0,__source:!0};function Q(e){if(K.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function J(e){if(K.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}Y={};var Z=function(e,t,r,o,a,i,s){var l={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:i,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ee(e,t,n){var r,o={},a=null,i=null,s=null,l=null;if(null!=t)for(r in Q(t)&&(i=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=H(w.current.type);Y[t]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),Y[t]=!0)}}(t)),J(t)&&($(t.key),a=""+t.key),s=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)K.call(t,r)&&!X.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(u>1){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];Object.freeze&&Object.freeze(c),o.children=c}if(e&&e.defaultProps){var p=e.defaultProps;for(r in p)void 0===o[r]&&(o[r]=p[r])}if(a||i){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){q||(q=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,f),i&&function(e,t){var n=function(){G||(G=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,f)}return Z(e,a,i,s,l,w.current,o)}function te(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,o,a=D({},e.props),i=e.key,s=e.ref,l=e._self,u=e._source,c=e._owner;if(null!=t)for(r in Q(t)&&(s=t.ref,c=w.current),J(t)&&($(t.key),i=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)K.call(t,r)&&!X.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==o?a[r]=o[r]:a[r]=t[r]);var d=arguments.length-2;if(1===d)a.children=n;else if(d>1){for(var p=Array(d),f=0;f<d;f++)p[f]=arguments[f+2];a.children=p}return Z(e.type,i,s,l,u,c,a)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var re,oe=!1,ae=/\/+/g;function ie(e){return e.replace(ae,"$&/")}function se(e,t){return"object"==typeof e&&null!==e&&null!=e.key?($(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function le(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c,d=!1;if(null===e)d=!0;else switch(s){case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case n:case r:d=!0}}if(d){var p=e,f=i(p),m=""===a?"."+se(p,0):a;if(U(f)){var h="";null!=m&&(h=ie(m)+"/"),le(f,t,h,"",function(e){return e})}else null!=f&&(ne(f)&&(!f.key||p&&p.key===f.key||$(f.key),l=f,u=o+(!f.key||p&&p.key===f.key?"":ie(""+f.key)+"/")+m,f=Z(l.type,u,l.ref,l._self,l._source,l._owner,l.props)),t.push(f));return 1}var g=0,b=""===a?".":a+":";if(U(e))for(var y=0;y<e.length;y++)g+=le(c=e[y],t,o,b+se(c,y),i);else{var w=v(e);if("function"==typeof w){var x=e;w===x.entries&&(oe||k("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),oe=!0);for(var _,S=w.call(x),E=0;!(_=S.next()).done;)g+=le(c=_.value,t,o,b+se(c,E++),i)}else if("object"===s){var C=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}}return g}function ue(e,t,n){if(null==e)return e;var r=[],o=0;return le(e,r,"","",function(e){return t.call(n,e,o++)}),r}function ce(e){if(-1===e._status){var t=(0,e._result)();if(t.then(function(t){if(0===e._status||-1===e._status){var n=e;n._status=1,n._result=t}},function(t){if(0===e._status||-1===e._status){var n=e;n._status=2,n._result=t}}),-1===e._status){var n=e;n._status=0,n._result=t}}if(1===e._status){var r=e._result;return void 0===r&&C("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||C("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function de(e){return"string"==typeof e||"function"==typeof e||e===o||e===i||e===a||e===c||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===re||void 0!==e.getModuleId)}function pe(){var e=g.current;return null===e&&C("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}re=Symbol.for("react.module.reference");var fe,me,he,ve,ge,be,ye,we=0;function xe(){}xe.__reactDisabledLog=!0;var _e,Se=E.ReactCurrentDispatcher;function Ee(e,t,n){if(void 0===_e)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);_e=r&&r[1]||""}return"\n"+_e+e}var ke,Ce=!1,Te="function"==typeof WeakMap?WeakMap:Map;function Ae(e,t){if(!e||Ce)return"";var n,r=ke.get(e);if(void 0!==r)return r;Ce=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Se.current,Se.current=null,function(){if(0===we){fe=console.log,me=console.info,he=console.warn,ve=console.error,ge=console.group,be=console.groupCollapsed,ye=console.groupEnd;var e={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}we++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(m){n=m}Reflect.construct(e,[],i)}else{try{i.call()}catch(m){n=m}e.call(i.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(h){if(h&&n&&"string"==typeof h.stack){for(var s=h.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&ke.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{Ce=!1,Se.current=o,function(){if(0===--we){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:fe}),info:D({},e,{value:me}),warn:D({},e,{value:he}),error:D({},e,{value:ve}),group:D({},e,{value:ge}),groupCollapsed:D({},e,{value:be}),groupEnd:D({},e,{value:ye})})}we<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",f=p?Ee(p):"";return"function"==typeof e&&ke.set(e,f),f}function Re(e,t,n){if(null==e)return"";if("function"==typeof e)return Ae(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return Ee(e);switch(e){case c:return Ee("Suspense");case d:return Ee("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return Ae(e.render,!1);case p:return Re(e.type,t,n);case f:var o=e,a=o._payload,i=o._init;try{return Re(i(a),t,n)}catch(s){}}return""}ke=new Te;var Oe,De={},Ne=E.ReactDebugCurrentFrame;function Pe(e){if(e){var t=e._owner,n=Re(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(n)}else Ne.setExtraStackFrame(null)}function Ie(e){if(e){var t=e._owner;S(Re(e.type,e._source,t?t.type:null))}else S(null)}function Me(){if(w.current){var e=H(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Oe=!1;var je={};function Le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=Me();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!je[n]){je[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+H(e._owner.type)+"."),Ie(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),Ie(null)}}}function Ve(e,t){if("object"==typeof e)if(U(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&Le(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=v(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ne(a.value)&&Le(a.value,t)}}function Fe(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=H(n);!function(e,t,n,r,o){var a=Function.call.bind(K);for(var i in e)if(a(e,i)){var s=void 0;try{if("function"!=typeof e[i]){var l=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(Pe(o),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof s),Pe(null)),s instanceof Error&&!(s.message in De)&&(De[s.message]=!0,Pe(o),C("Failed %s type: %s",n,s.message),Pe(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Oe||(Oe=!0,C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",H(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ze(e,t,r){var a,i,s=de(e);if(!s){var l="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var u,c=null!=(a=t)&&void 0!==(i=a.__source)?"\n\nCheck your code at "+i.fileName.replace(/^.*[\\\/]/,"")+":"+i.lineNumber+".":"";l+=c||Me(),null===e?u="null":U(e)?u="array":void 0!==e&&e.$$typeof===n?(u="<"+(H(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,C("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,l)}var d=ee.apply(this,arguments);if(null==d)return d;if(s)for(var p=2;p<arguments.length;p++)Ve(arguments[p],e);return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){Ie(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Ie(null);break}}null!==e.ref&&(Ie(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),Ie(null))}(d):Fe(d),d}var Ue=!1,Be=!1,$e=null,We=0,He=!1;function qe(e){var t=We;We++,null===y.current&&(y.current=[]);var n,r=y.isBatchingLegacy;try{if(y.isBatchingLegacy=!0,n=e(),!r&&y.didScheduleLegacyUpdate){var o=y.current;null!==o&&(y.didScheduleLegacyUpdate=!1,Xe(o))}}catch(c){throw Ge(t),c}finally{y.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var a=n,i=!1,s={then:function(e,n){i=!0,a.then(function(r){Ge(t),0===We?Ye(r,e,n):e(r)},function(e){Ge(t),n(e)})}};return He||"undefined"==typeof Promise||Promise.resolve().then(function(){}).then(function(){i||(He=!0,C("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),s}var l=n;if(Ge(t),0===We){var u=y.current;return null!==u&&(Xe(u),y.current=null),{then:function(e,t){null===y.current?(y.current=[],Ye(l,e,t)):e(l)}}}return{then:function(e,t){e(l)}}}function Ge(e){e!==We-1&&C("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),We=e}function Ye(t,n,r){var o=y.current;if(null!==o)try{Xe(o),function(t){if(null===$e)try{var n=("require"+Math.random()).slice(0,7),r=e&&e[n];$e=r.call(e,"timers").setImmediate}catch(o){$e=function(e){!1===Be&&(Be=!0,"undefined"==typeof MessageChannel&&C("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}$e(t)}(function(){0===o.length?(y.current=null,n(t)):Ye(t,n,r)})}catch(a){r(a)}else n(t)}var Ke=!1;function Xe(e){if(!Ke){Ke=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(r){throw e=e.slice(t+1),r}finally{Ke=!1}}}var Qe=ze,Je=function(e,t,n){for(var r=te.apply(this,arguments),o=2;o<arguments.length;o++)Ve(arguments[o],r.type);return Fe(r),r},Ze=function(e){var t=ze.bind(null,e);return t.type=e,Ue||(Ue=!0,k("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return k("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},et={map:ue,forEach:function(e,t,n){ue(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ue(e,function(){t++}),t},toArray:function(e){return ue(e,function(e){return e})||[]},only:function(e){if(!ne(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=et,t.Component=P,t.Fragment=o,t.Profiler=i,t.PureComponent=V,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E,t.act=qe,t.cloneElement=Je,t.createContext=function(e){var t={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:s,_context:t};var n=!1,r=!1,o=!1,a={$$typeof:l,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return r||(r=!0,C("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,C("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(k("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=Qe,t.createFactory=Ze,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===p?C("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?C("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&C("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||C("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:u,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=ne,t.lazy=function(e){var t,n,r={$$typeof:f,_payload:{_status:-1,_result:e},_init:ce};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){C("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){C("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){de(e)||C("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:p,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=b.transition;b.transition={};var r=b.transition;b.transition._updatedFibers=new Set;try{e()}finally{b.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&k("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},t.unstable_act=qe,t.useCallback=function(e,t){return pe().useCallback(e,t)},t.useContext=function(e){var t=pe();if(void 0!==e._context){var n=e._context;n.Consumer===e?C("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&C("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return pe().useDebugValue(e,t)},t.useDeferredValue=function(e){return pe().useDeferredValue(e)},t.useEffect=function(e,t){return pe().useEffect(e,t)},t.useId=function(){return pe().useId()},t.useImperativeHandle=function(e,t,n){return pe().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return pe().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return pe().useLayoutEffect(e,t)},t.useMemo=function(e,t){return pe().useMemo(e,t)},t.useReducer=function(e,t,n){return pe().useReducer(e,t,n)},t.useRef=function(e){return pe().useRef(e)},t.useState=function(e){return pe().useState(e)},t.useSyncExternalStore=function(e,t,n){return pe().useSyncExternalStore(e,t,n)},t.useTransition=function(){return pe().useTransition()},t.version="18.3.1","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),react_development.exports;var e,t}function requireReact(){return hasRequiredReact||(hasRequiredReact=1,react.exports=requireReact_development()),react.exports}react_development.exports;var reactExports=requireReact();const React=getDefaultExportFromCjs(reactExports);var jsxRuntime={exports:{}},reactJsxRuntime_development={},hasRequiredReactJsxRuntime_development,hasRequiredJsxRuntime;function requireReactJsxRuntime_development(){return hasRequiredReactJsxRuntime_development||(hasRequiredReactJsxRuntime_development=1,function(){var e=requireReact(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator;var h=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=h.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map(function(e){return String(e)});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,n)}var g;function b(e){return e.displayName||"Context"}function y(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return b(e)+".Consumer";case i:return b(e._context)+".Provider";case l:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case d:var t=e.displayName||null;return null!==t?t:y(e.type)||"Memo";case p:var f=e,m=f._payload,h=f._init;try{return y(h(m))}catch(g){return null}}return null}g=Symbol.for("react.module.reference");var w,x,_,S,E,k,C,T=Object.assign,A=0;function R(){}R.__reactDisabledLog=!0;var O,D=h.ReactCurrentDispatcher;function N(e,t,n){if(void 0===O)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);O=r&&r[1]||""}return"\n"+O+e}var P,I=!1,M="function"==typeof WeakMap?WeakMap:Map;function j(e,t){if(!e||I)return"";var n,r=P.get(e);if(void 0!==r)return r;I=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=D.current,D.current=null,function(){if(0===A){w=console.log,x=console.info,_=console.warn,S=console.error,E=console.group,k=console.groupCollapsed,C=console.groupEnd;var e={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(m){n=m}Reflect.construct(e,[],i)}else{try{i.call()}catch(m){n=m}e.call(i.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(h){if(h&&n&&"string"==typeof h.stack){for(var s=h.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&P.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{I=!1,D.current=o,function(){if(0===--A){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:w}),info:T({},e,{value:x}),warn:T({},e,{value:_}),error:T({},e,{value:S}),group:T({},e,{value:E}),groupCollapsed:T({},e,{value:k}),groupEnd:T({},e,{value:C})})}A<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",f=p?N(p):"";return"function"==typeof e&&P.set(e,f),f}function L(e,t,n){if(null==e)return"";if("function"==typeof e)return j(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return N(e);switch(e){case u:return N("Suspense");case c:return N("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return j(e.render,!1);case d:return L(e.type,t,n);case p:var o=e,a=o._payload,i=o._init;try{return L(i(a),t,n)}catch(s){}}return""}P=new M;var V=Object.prototype.hasOwnProperty,F={},z=h.ReactDebugCurrentFrame;function U(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);z.setExtraStackFrame(n)}else z.setExtraStackFrame(null)}var B=Array.isArray;function $(e){return B(e)}function W(e){return""+e}function H(e){if(function(e){try{return W(e),!1}catch(t){return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),W(e)}var q,G,Y=h.ReactCurrentOwner,K={key:!0,ref:!0,__self:!0,__source:!0};function X(e,n,r,o,a){var i,s={},l=null,u=null;for(i in void 0!==r&&(H(r),l=""+r),function(e){if(V.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(H(n.key),l=""+n.key),function(e){if(V.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(n)&&(u=n.ref,function(e){"string"==typeof e.ref&&Y.current}(n)),n)V.call(n,i)&&!K.hasOwnProperty(i)&&(s[i]=n[i]);if(e&&e.defaultProps){var c=e.defaultProps;for(i in c)void 0===s[i]&&(s[i]=c[i])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){q||(q=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(s,d),u&&function(e,t){var n=function(){G||(G=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(s,d)}return function(e,n,r,o,a,i,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:i,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,a,o,Y.current,s)}var Q,J=h.ReactCurrentOwner,Z=h.ReactDebugCurrentFrame;function ee(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);Z.setExtraStackFrame(n)}else Z.setExtraStackFrame(null)}function te(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function ne(){if(J.current){var e=y(J.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Q=!1;var re={};function oe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ne();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!re[n]){re[n]=!0;var r="";e&&e._owner&&e._owner!==J.current&&(r=" It was passed a child from "+y(e._owner.type)+"."),ee(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ee(null)}}}function ae(e,t){if("object"==typeof e)if($(e))for(var n=0;n<e.length;n++){var r=e[n];te(r)&&oe(r,t)}else if(te(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)te(a.value)&&oe(a.value,t)}}function ie(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==l&&n.$$typeof!==d)return;t=n.propTypes}if(t){var r=y(n);!function(e,t,n,r,o){var a=Function.call.bind(V);for(var i in e)if(a(e,i)){var s=void 0;try{if("function"!=typeof e[i]){var l=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(U(o),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof s),U(null)),s instanceof Error&&!(s.message in F)&&(F[s.message]=!0,U(o),v("Failed %s type: %s",n,s.message),U(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Q){Q=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var se={};function le(e,n,m,h,b,w){var x=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===a||e===o||e===u||e===c||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===l||e.$$typeof===g||void 0!==e.getModuleId)}(e);if(!x){var _="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var S;_+=ne(),null===e?S="null":$(e)?S="array":void 0!==e&&e.$$typeof===t?(S="<"+(y(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,_)}var E=X(e,n,m,b,w);if(null==E)return E;if(x){var k=n.children;if(void 0!==k)if(h)if($(k)){for(var C=0;C<k.length;C++)ae(k[C],e);Object.freeze&&Object.freeze(k)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ae(k,e)}if(V.call(n,"key")){var T=y(e),A=Object.keys(n).filter(function(e){return"key"!==e}),R=A.length>0?"{key: someKey, "+A.join(": ..., ")+": ...}":"{key: someKey}";if(!se[T+R])v('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',R,T,A.length>0?"{"+A.join(": ..., ")+": ...}":"{}",T),se[T+R]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ee(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ee(null);break}}null!==e.ref&&(ee(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),ee(null))}(E):ie(E),E}var ue=function(e,t,n){return le(e,t,n,!1)},ce=function(e,t,n){return le(e,t,n,!0)};reactJsxRuntime_development.Fragment=r,reactJsxRuntime_development.jsx=ue,reactJsxRuntime_development.jsxs=ce}()),reactJsxRuntime_development}function requireJsxRuntime(){return hasRequiredJsxRuntime||(hasRequiredJsxRuntime=1,jsxRuntime.exports=requireReactJsxRuntime_development()),jsxRuntime.exports}var jsxRuntimeExports=requireJsxRuntime();if(!reactExports.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var reactDom={exports:{}},reactDom_development={},scheduler={exports:{}},scheduler_development={},hasRequiredScheduler_development,hasRequiredScheduler,hasRequiredReactDom_development,hasRequiredReactDom;function requireScheduler_development(){return hasRequiredScheduler_development||(hasRequiredScheduler_development=1,e=scheduler_development,function(){function t(e,t){var n=e.length;e.push(t),function(e,t,n){for(var r=n;r>0;){var a=r-1>>>1,i=e[a];if(!(o(i,t)>0))return;e[a]=t,e[r]=i,r=a}}(e,t,n)}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();return n!==t&&(e[0]=n,function(e,t,n){for(var r=n,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(o(l,t)<0)u<a&&o(c,l)<0?(e[r]=c,e[u]=t,r=u):(e[r]=l,e[s]=t,r=s);else{if(!(u<a&&o(c,t)<0))return;e[r]=c,e[u]=t,r=u}}}(e,n,0)),t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error),"object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],u=[],c=1,d=null,p=3,f=!1,m=!1,h=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))return;r(u),o.sortIndex=o.expirationTime,t(l,o)}o=n(u)}}function w(e){if(h=!1,y(e),!m)if(null!==n(l))m=!0,N(x);else{var t=n(u);null!==t&&P(w,t.startTime-e)}}function x(t,o){m=!1,h&&(h=!1,I()),f=!0;var a=p;try{return function(t,o){var a=o;for(y(a),d=n(l);null!==d&&(!(d.expirationTime>a)||t&&!T());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var s=i(d.expirationTime<=a);a=e.unstable_now(),"function"==typeof s?d.callback=s:d===n(l)&&r(l),y(a)}else r(l);d=n(l)}if(null!==d)return!0;var c=n(u);return null!==c&&P(w,c.startTime-a),!1}(t,o)}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _=!1,S=null,E=-1,k=5,C=-1;function T(){return!(e.unstable_now()-C<k)}var A,R=function(){if(null!==S){var t=e.unstable_now();C=t;var n=!0;try{n=S(!0,t)}finally{n?A():(_=!1,S=null)}}else _=!1};if("function"==typeof b)A=function(){b(R)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,D=O.port2;O.port1.onmessage=R,A=function(){D.postMessage(null)}}else A=function(){v(R,0)};function N(e){S=e,_||(_=!0,A())}function P(t,n){E=v(function(){t(e.unstable_now())},n)}function I(){g(E),E=-1}var M=function(){};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(){m||f||(m=!0,N(x))},e.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=e>0?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(e){var t;switch(p){case 1:case 2:case 3:t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=M,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,a){var i,s,d=e.unstable_now();if("object"==typeof a&&null!==a){var p=a.delay;i="number"==typeof p&&p>0?d+p:d}else i=d;switch(r){case 1:s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}var v=i+s,g={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:v,sortIndex:-1};return i>d?(g.sortIndex=i,t(u,g),null===n(l)&&g===n(u)&&(h?I():h=!0,P(w,i-d))):(g.sortIndex=v,t(l,g),m||f||(m=!0,N(x))),g},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),scheduler_development;var e}function requireScheduler(){return hasRequiredScheduler||(hasRequiredScheduler=1,scheduler.exports=requireScheduler_development()),scheduler.exports}function requireReactDom_development(){return hasRequiredReactDom_development||(hasRequiredReactDom_development=1,function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=requireReact(),t=requireScheduler(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function o(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("warn",e,n)}}function a(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("error",e,n)}}function i(e,t,r){var o=n.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var a=r.map(function(e){return String(e)});a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}var s=10,l=11,u=12,c=13,d=14,p=15,f=17,m=18,h=19,v=21,g=22,b=23,y=!1,w=!1,x=new Set,_={},S={};function E(e,t){k(e,t),k(e+"Capture",t)}function k(e,t){_[e]&&a("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),_[e]=t;var n=e.toLowerCase();S[n]=e,"onDoubleClick"===e&&(S.ondblclick=e);for(var r=0;r<t.length;r++)x.add(t[r])}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),T=Object.prototype.hasOwnProperty;function A(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function R(e){try{return O(e),!1}catch(t){return!0}}function O(e){return""+e}function D(e,t){if(R(e))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),O(e)}function N(e){if(R(e))return a("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",A(e)),O(e)}var P=":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",I=P+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",M=new RegExp("^["+P+"]["+I+"]*$"),j={},L={};function V(e){return!!T.call(L,e)||!T.call(j,e)&&(M.test(e)?(L[e]=!0,!0):(j[e]=!0,a("Invalid attribute name: `%s`",e),!1))}function F(e,t,n){return null!==t?0===t.type:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function z(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return"data-"!==o&&"aria-"!==o;default:return!1}}function U(e,t,n,r){if(null==t)return!0;if(z(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)||t<1}return!1}function B(e){return W.hasOwnProperty(e)?W[e]:null}function $(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var W={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){W[e]=new $(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];W[t]=new $(t,1,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){W[e]=new $(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){W[e]=new $(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"].forEach(function(e){W[e]=new $(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){W[e]=new $(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){W[e]=new $(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){W[e]=new $(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){W[e]=new $(e,5,!1,e.toLowerCase(),null,!1,!1)});var H=/[\-\:]([a-z])/g,q=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(H,q);W[t]=new $(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(H,q);W[t]=new $(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,q);W[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){W[e]=new $(e,1,!1,e.toLowerCase(),null,!1,!1)});W.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){W[e]=new $(e,1,!1,e.toLowerCase(),null,!0,!0)});var G=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Y=!1;function K(e){!Y&&G.test(e)&&(Y=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function X(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];D(n,t),r.sanitizeURL&&K(""+n);var o=r.attributeName,a=null;if(4===r.type){if(e.hasAttribute(o)){var i=e.getAttribute(o);return""===i||(U(t,n,r,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(o)){if(U(t,n,r,!1))return e.getAttribute(o);if(3===r.type)return n;a=e.getAttribute(o)}return U(t,n,r,!1)?null===a?n:a:a===""+n?n:a}function Q(e,t,n,r){if(V(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var o=e.getAttribute(t);return D(n,t),o===""+n?n:o}}function J(e,t,n,r){var o=B(t);if(!F(t,o,r))if(U(t,n,o,r)&&(n=null),r||null===o){if(V(t)){var a=t;null===n?e.removeAttribute(a):(D(n,t),e.setAttribute(a,""+n))}}else if(o.mustUseProperty){var i=o.propertyName;if(null===n){var s=o.type;e[i]=3!==s&&""}else e[i]=n}else{var l=o.attributeName,u=o.attributeNamespace;if(null===n)e.removeAttribute(l);else{var c,d=o.type;3===d||4===d&&!0===n?c="":(D(n,l),c=""+n,o.sanitizeURL&&K(c.toString())),u?e.setAttributeNS(u,l,c):e.setAttribute(l,c)}}}var Z=Symbol.for("react.element"),ee=Symbol.for("react.portal"),te=Symbol.for("react.fragment"),ne=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),ae=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),de=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),pe=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator);function fe(e){if(null===e||"object"!=typeof e)return null;var t=pe&&e[pe]||e["@@iterator"];return"function"==typeof t?t:null}var me,he,ve,ge,be,ye,we,xe=Object.assign,_e=0;function Se(){}Se.__reactDisabledLog=!0;var Ee,ke=n.ReactCurrentDispatcher;function Ce(e,t,n){if(void 0===Ee)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Ee=r&&r[1]||""}return"\n"+Ee+e}var Te,Ae=!1,Re="function"==typeof WeakMap?WeakMap:Map;function Oe(e,t){if(!e||Ae)return"";var n,r=Te.get(e);if(void 0!==r)return r;Ae=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=ke.current,ke.current=null,function(){if(0===_e){me=console.log,he=console.info,ve=console.warn,ge=console.error,be=console.group,ye=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}_e++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(h){n=h}Reflect.construct(e,[],s)}else{try{s.call()}catch(h){n=h}e.call(s.prototype)}}else{try{throw Error()}catch(h){n=h}e()}}catch(v){if(v&&n&&"string"==typeof v.stack){for(var l=v.stack.split("\n"),u=n.stack.split("\n"),c=l.length-1,d=u.length-1;c>=1&&d>=0&&l[c]!==u[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==u[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==u[d]){var p="\n"+l[c].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),"function"==typeof e&&Te.set(e,p),p}}while(c>=1&&d>=0);break}}}finally{Ae=!1,ke.current=o,function(){if(0===--_e){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},e,{value:me}),info:xe({},e,{value:he}),warn:xe({},e,{value:ve}),error:xe({},e,{value:ge}),group:xe({},e,{value:be}),groupCollapsed:xe({},e,{value:ye}),groupEnd:xe({},e,{value:we})})}_e<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var f=e?e.displayName||e.name:"",m=f?Ce(f):"";return"function"==typeof e&&Te.set(e,m),m}function De(e,t,n){return Oe(e,!1)}function Ne(e,t,n){if(null==e)return"";if("function"==typeof e)return Oe(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return Ce(e);switch(e){case se:return Ce("Suspense");case le:return Ce("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case ie:return De(e.render);case ue:return Ne(e.type,t,n);case ce:var o=e,a=o._payload,i=o._init;try{return Ne(i(a),t,n)}catch(s){}}return""}function Pe(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return Ce(e.type);case 16:return Ce("Lazy");case c:return Ce("Suspense");case h:return Ce("SuspenseList");case 0:case 2:case p:return De(e.type);case l:return De(e.type.render);case 1:return Oe(e.type,!0);default:return""}}function Ie(e){try{var t="",n=e;do{t+=Pe(n),n=n.return}while(n);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}function Me(e){return e.displayName||"Context"}function je(e){if(null==e)return null;if("number"==typeof e.tag&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case te:return"Fragment";case ee:return"Portal";case re:return"Profiler";case ne:return"StrictMode";case se:return"Suspense";case le:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return Me(e)+".Consumer";case oe:return Me(e._context)+".Provider";case ie:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case ue:var t=e.displayName||null;return null!==t?t:je(e.type)||"Memo";case ce:var n=e,r=n._payload,o=n._init;try{return je(o(r))}catch(i){return null}}return null}function Le(e){return e.displayName||"Context"}function Ve(e){var t,n,r,o,a=e.tag,i=e.type;switch(a){case 24:return"Cache";case 9:return Le(i)+".Consumer";case s:return Le(i._context)+".Provider";case 18:return"DehydratedFragment";case l:return t=i,n=i.render,r="ForwardRef",o=n.displayName||n.name||"",t.displayName||(""!==o?r+"("+o+")":r);case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return je(i);case 8:return i===ne?"StrictMode":"Mode";case g:return"Offscreen";case u:return"Profiler";case v:return"Scope";case c:return"Suspense";case h:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case f:case 2:case d:case p:if("function"==typeof i)return i.displayName||i.name||null;if("string"==typeof i)return i}return null}Te=new Re;var Fe=n.ReactDebugCurrentFrame,ze=null,Ue=!1;function Be(){if(null===ze)return null;var e=ze._debugOwner;return null!=e?Ve(e):null}function $e(){return null===ze?"":Ie(ze)}function We(){Fe.getCurrentStack=null,ze=null,Ue=!1}function He(e){Fe.getCurrentStack=null===e?null:$e,ze=e,Ue=!1}function qe(e){Ue=e}function Ge(e){return""+e}function Ye(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return N(e),e;default:return""}}var Ke={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Xe(e,t){Ke[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Qe(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Je(e){return e._valueTracker}function Ze(e){Je(e)||(e._valueTracker=function(e){var t=Qe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);N(e[t]);var r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){N(e),r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var i={getValue:function(){return r},setValue:function(e){N(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return i}}(e))}function et(e){if(!e)return!1;var t=Je(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=Qe(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}function tt(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}}var nt=!1,rt=!1,ot=!1,at=!1;function it(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function st(e,t){var n=e,r=t.checked;return xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function lt(e,t){Xe(0,t),void 0===t.checked||void 0===t.defaultChecked||rt||(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Be()||"A component",t.type),rt=!0),void 0===t.value||void 0===t.defaultValue||nt||(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Be()||"A component",t.type),nt=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Ye(null!=t.value?t.value:r),controlled:it(t)}}function ut(e,t){var n=e,r=t.checked;null!=r&&J(n,"checked",r,!1)}function ct(e,t){var n=e,r=it(t);n._wrapperState.controlled||!r||at||(a("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),at=!0),!n._wrapperState.controlled||r||ot||(a("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ot=!0),ut(e,t);var o=Ye(t.value),i=t.type;if(null!=o)"number"===i?(0===o&&""===n.value||n.value!=o)&&(n.value=Ge(o)):n.value!==Ge(o)&&(n.value=Ge(o));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");t.hasOwnProperty("value")?ft(n,t.type,o):t.hasOwnProperty("defaultValue")&&ft(n,t.type,Ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function dt(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(("submit"===o||"reset"===o)&&(void 0===t.value||null===t.value))return;var a=Ge(r._wrapperState.initialValue);n||a!==r.value&&(r.value=a),r.defaultValue=a}var i=r.name;""!==i&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==i&&(r.name=i)}function pt(e,t){var n=e;ct(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;D(n,"name");for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),a=0;a<o.length;a++){var i=o[a];if(i!==e&&i.form===e.form){var s=Qu(i);if(!s)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");et(i),ct(i,s)}}}}(n,t)}function ft(e,t,n){"number"===t&&tt(e.ownerDocument)===e||(null==n?e.defaultValue=Ge(e._wrapperState.initialValue):e.defaultValue!==Ge(n)&&(e.defaultValue=Ge(n)))}var mt=!1,ht=!1,vt=!1;function gt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(ht||(ht=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):null!=n.dangerouslySetInnerHTML&&(vt||(vt=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||mt||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),mt=!0)}var bt,yt=Array.isArray;function wt(e){return yt(e)}function xt(){var e=Be();return e?"\n\nCheck the render method of `"+e+"`.":""}bt=!1;var _t=["value","defaultValue"];function St(e,t,n,r){var o=e.options;if(t){for(var a=n,i={},s=0;s<a.length;s++)i["$"+a[s]]=!0;for(var l=0;l<o.length;l++){var u=i.hasOwnProperty("$"+o[l].value);o[l].selected!==u&&(o[l].selected=u),u&&r&&(o[l].defaultSelected=!0)}}else{for(var c=Ge(Ye(n)),d=null,p=0;p<o.length;p++){if(o[p].value===c)return o[p].selected=!0,void(r&&(o[p].defaultSelected=!0));null!==d||o[p].disabled||(d=o[p])}null!==d&&(d.selected=!0)}}function Et(e,t){return xe({},t,{value:void 0})}function kt(e,t){var n=e;!function(e){Xe(0,e);for(var t=0;t<_t.length;t++){var n=_t[t];if(null!=e[n]){var r=wt(e[n]);e.multiple&&!r?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,xt()):!e.multiple&&r&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,xt())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||bt||(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),bt=!0)}var Ct=!1;function Tt(e,t){var n=e;if(null!=t.dangerouslySetInnerHTML)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return xe({},t,{value:void 0,defaultValue:void 0,children:Ge(n._wrapperState.initialValue)})}function At(e,t){var n=e;Xe(0,t),void 0===t.value||void 0===t.defaultValue||Ct||(a("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Be()||"A component"),Ct=!0);var r=t.value;if(null==r){var o=t.children,i=t.defaultValue;if(null!=o){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(wt(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}i=o}null==i&&(i=""),r=i}n._wrapperState={initialValue:Ye(r)}}function Rt(e,t){var n=e,r=Ye(t.value),o=Ye(t.defaultValue);if(null!=r){var a=Ge(r);a!==n.value&&(n.value=a),null==t.defaultValue&&n.defaultValue!==a&&(n.defaultValue=a)}null!=o&&(n.defaultValue=Ge(o))}function Ot(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var Dt="http://www.w3.org/1999/xhtml",Nt="http://www.w3.org/2000/svg";function Pt(e){switch(e){case"svg":return Nt;case"math":return"http://www.w3.org/1998/Math/MathML";default:return Dt}}function It(e,t){return null==e||e===Dt?Pt(t):e===Nt&&"foreignObject"===t?Dt:e}var Mt,jt,Lt=(jt=function(e,t){if(e.namespaceURI!==Nt||"innerHTML"in e)e.innerHTML=t;else{(Mt=Mt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Mt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return jt(e,t,n,r)})}:jt),Vt=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t},Ft={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},zt={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};var Ut=["Webkit","ms","Moz","O"];function Bt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||zt.hasOwnProperty(e)&&zt[e]?(function(e,t){if(R(e))a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),O(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(zt).forEach(function(e){Ut.forEach(function(t){zt[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=zt[e]})});var $t=/([A-Z])/g,Wt=/^ms-/;function Ht(e){return e.replace($t,"-$1").toLowerCase().replace(Wt,"-ms-")}var qt=/^(?:webkit|moz|o)[A-Z]/,Gt=/^-ms-/,Yt=/-(.)/g,Kt=/;\s*$/,Xt={},Qt={},Jt=!1,Zt=!1,en=function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,a("Unsupported style property %s. Did you mean %s?",e,e.replace(Gt,"ms-").replace(Yt,function(e,t){return t.toUpperCase()})))},tn=function(e,t){e.indexOf("-")>-1?en(e):qt.test(e)?function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Kt.test(t)&&function(e,t){Qt.hasOwnProperty(t)&&Qt[t]||(Qt[t]=!0,a('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Kt,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e){Jt||(Jt=!0,a("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e){Zt||(Zt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function nn(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o){var a=0===r.indexOf("--");t+=n+(a?r:Ht(r))+":",t+=Bt(r,o,a),n=";"}}return t||null}function rn(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||tn(r,t[r]);var a=Bt(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,a):n[r]=a}}function on(e){return null==e||"boolean"==typeof e||""===e}function an(e){var t={};for(var n in e)for(var r=Ft[n]||[n],o=0;o<r.length;o++)t[r[o]]=n;return t}var sn=xe({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 ln(e,t){if(t){if(sn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function un(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 cn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},dn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},pn={},fn=new RegExp("^(aria)-["+I+"]*$"),mn=new RegExp("^(aria)[A-Z]["+I+"]*$");function hn(e,t){if(T.call(pn,t)&&pn[t])return!0;if(mn.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=dn.hasOwnProperty(n)?n:null;if(null==r)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),pn[t]=!0,!0;if(t!==r)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),pn[t]=!0,!0}if(fn.test(t)){var o=t.toLowerCase(),i=dn.hasOwnProperty(o)?o:null;if(null==i)return pn[t]=!0,!1;if(t!==i)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),pn[t]=!0,!0}return!0}function vn(e,t){un(e,t)||function(e,t){var n=[];for(var r in t)hn(0,r)||n.push(r);var o=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e):n.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e)}(e,t)}var gn=!1;var bn,yn={},wn=/^on./,xn=/^on[^A-Z]/,_n=new RegExp("^(aria)-["+I+"]*$"),Sn=new RegExp("^(aria)[A-Z]["+I+"]*$");bn=function(e,t,n,r){if(T.call(yn,t)&&yn[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),yn[t]=!0,!0;if(null!=r){var i=r.registrationNameDependencies,s=r.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var l=s.hasOwnProperty(o)?s[o]:null;if(null!=l)return a("Invalid event handler property `%s`. Did you mean `%s`?",t,l),yn[t]=!0,!0;if(wn.test(t))return a("Unknown event handler property `%s`. It will be ignored.",t),yn[t]=!0,!0}else if(wn.test(t))return xn.test(t)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),yn[t]=!0,!0;if(_n.test(t)||Sn.test(t))return!0;if("innerhtml"===o)return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),yn[t]=!0,!0;if("aria"===o)return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),yn[t]=!0,!0;if("is"===o&&null!=n&&"string"!=typeof n)return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),yn[t]=!0,!0;if("number"==typeof n&&isNaN(n))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),yn[t]=!0,!0;var u=B(t),c=null!==u&&0===u.type;if(cn.hasOwnProperty(o)){var d=cn[o];if(d!==t)return a("Invalid DOM property `%s`. Did you mean `%s`?",t,d),yn[t]=!0,!0}else if(!c&&t!==o)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),yn[t]=!0,!0;return"boolean"==typeof n&&z(t,n,u,!1)?(n?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),yn[t]=!0,!0):!!c||(z(t,n,u,!1)?(yn[t]=!0,!1):("false"!==n&&"true"!==n||null===u||3!==u.type||(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),yn[t]=!0),!0))};function En(e,t,n){un(e,t)||function(e,t,n){var r=[];for(var o in t)bn(0,o,t[o],n)||r.push(o);var i=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e):r.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e)}(e,t,n)}var kn=null;function Cn(e){null!==kn&&a("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),kn=e}function Tn(){null===kn&&a("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),kn=null}function An(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Rn=null,On=null,Dn=null;function Nn(e){var t=Ku(e);if(t){if("function"!=typeof Rn)throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=Qu(n);Rn(t.stateNode,t.type,r)}}}function Pn(e){On?Dn?Dn.push(e):Dn=[e]:On=e}function In(){if(On){var e=On,t=Dn;if(On=null,Dn=null,Nn(e),t)for(var n=0;n<t.length;n++)Nn(t[n])}}var Mn=function(e,t){return e(t)},jn=function(){},Ln=!1;function Vn(){(null!==On||null!==Dn)&&(jn(),In())}function Fn(e,t,n){if(Ln)return e(t,n);Ln=!0;try{return Mn(e,t,n)}finally{Ln=!1,Vn()}}function zn(e,t){var n=e.stateNode;if(null===n)return null;var r=Qu(n);if(null===r)return null;var o=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,r))return null;if(o&&"function"!=typeof o)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var Un=!1;if(C)try{var Bn={};Object.defineProperty(Bn,"passive",{get:function(){Un=!0}}),window.addEventListener("test",Bn,Bn),window.removeEventListener("test",Bn,Bn)}catch(rx){Un=!1}function $n(e,t,n,r,o,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Wn=$n;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var Hn=document.createElement("react");Wn=function(e,t,n,r,o,a,i,s,l){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var u=document.createEvent("Event"),c=!1,d=!0,p=window.event,f=Object.getOwnPropertyDescriptor(window,"event");function m(){Hn.removeEventListener(x,g,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=p)}var h,v=Array.prototype.slice.call(arguments,3);function g(){c=!0,m(),t.apply(n,v),d=!1}var b=!1,y=!1;function w(e){if(h=e.error,b=!0,null===h&&0===e.colno&&0===e.lineno&&(y=!0),e.defaultPrevented&&null!=h&&"object"==typeof h)try{h._suppressLogging=!0}catch(t){}}var x="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",w),Hn.addEventListener(x,g,!1),u.initEvent(x,!1,!1),Hn.dispatchEvent(u),f&&Object.defineProperty(window,"event",f),c&&d&&(b?y&&(h=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):h=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(h)),window.removeEventListener("error",w),!c)return m(),$n.apply(this,arguments)}}var qn=Wn,Gn=!1,Yn=null,Kn=!1,Xn=null,Qn={onError:function(e){Gn=!0,Yn=e}};function Jn(e,t,n,r,o,a,i,s,l){Gn=!1,Yn=null,qn.apply(Qn,arguments)}function Zn(){if(Gn){var e=Yn;return Gn=!1,Yn=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function er(e){return e._reactInternals}var tr=16,nr=128,rr=256,or=512,ar=1024,ir=2048,sr=4096,lr=8192,ur=16384,cr=32768,dr=65536,pr=131072,fr=1048576,mr=2097152,hr=4194304,vr=16777216,gr=33554432,br=1028,yr=12854,wr=8772,xr=2064,_r=14680064,Sr=n.ReactCurrentOwner;function Er(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{4098&(t=r).flags&&(n=t.return),r=t.return}while(r)}return 3===t.tag?n:null}function kr(e){if(e.tag===c){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function Cr(e){return 3===e.tag?e.stateNode.containerInfo:null}function Tr(e){if(Er(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Ar(e){var t=e.alternate;if(!t){var n=Er(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){var s=a.return;if(null!==s){r=o=s;continue}break}if(a.child===i.child){for(var l=a.child;l;){if(l===r)return Tr(a),e;if(l===o)return Tr(a),t;l=l.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=a,o=i;else{for(var u=!1,c=a.child;c;){if(c===r){u=!0,r=a,o=i;break}if(c===o){u=!0,o=a,r=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===r){u=!0,r=i,o=a;break}if(c===o){u=!0,o=i,r=a;break}c=c.sibling}if(!u)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==r.tag)throw new Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function Rr(e){var t=Ar(e);return null!==t?Or(t):null}function Or(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=Or(t);if(null!==n)return n;t=t.sibling}return null}function Dr(e){var t=Ar(e);return null!==t?Nr(t):null}function Nr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){if(4!==t.tag){var n=Nr(t);if(null!==n)return n}t=t.sibling}return null}var Pr=t.unstable_scheduleCallback,Ir=t.unstable_cancelCallback,Mr=t.unstable_shouldYield,jr=t.unstable_requestPaint,Lr=t.unstable_now,Vr=t.unstable_getCurrentPriorityLevel,Fr=t.unstable_ImmediatePriority,zr=t.unstable_UserBlockingPriority,Ur=t.unstable_NormalPriority,Br=t.unstable_LowPriority,$r=t.unstable_IdlePriority,Wr=t.unstable_yieldValue,Hr=t.unstable_setDisableYieldValue,qr=null,Gr=null,Yr=null,Kr=!1,Xr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Qr(e){if("function"==typeof Wr&&(Hr(e),r=e),Gr&&"function"==typeof Gr.setStrictMode)try{Gr.setStrictMode(qr,e)}catch(t){Kr||(Kr=!0,a("React instrumentation encountered an error: %s",t))}}function Jr(e){Yr=e}function Zr(){for(var e=new Map,t=1,n=0;n<xo;n++){var r=Zo(t);e.set(t,r),t*=2}return e}function eo(){null!==Yr&&"function"==typeof Yr.markCommitStopped&&Yr.markCommitStopped()}function to(e){null!==Yr&&"function"==typeof Yr.markComponentRenderStarted&&Yr.markComponentRenderStarted(e)}function no(){null!==Yr&&"function"==typeof Yr.markComponentRenderStopped&&Yr.markComponentRenderStopped()}function ro(e){null!==Yr&&"function"==typeof Yr.markComponentPassiveEffectMountStarted&&Yr.markComponentPassiveEffectMountStarted(e)}function oo(){null!==Yr&&"function"==typeof Yr.markComponentPassiveEffectMountStopped&&Yr.markComponentPassiveEffectMountStopped()}function ao(e){null!==Yr&&"function"==typeof Yr.markComponentPassiveEffectUnmountStarted&&Yr.markComponentPassiveEffectUnmountStarted(e)}function io(){null!==Yr&&"function"==typeof Yr.markComponentPassiveEffectUnmountStopped&&Yr.markComponentPassiveEffectUnmountStopped()}function so(e){null!==Yr&&"function"==typeof Yr.markComponentLayoutEffectMountStarted&&Yr.markComponentLayoutEffectMountStarted(e)}function lo(){null!==Yr&&"function"==typeof Yr.markComponentLayoutEffectMountStopped&&Yr.markComponentLayoutEffectMountStopped()}function uo(e){null!==Yr&&"function"==typeof Yr.markComponentLayoutEffectUnmountStarted&&Yr.markComponentLayoutEffectUnmountStarted(e)}function co(){null!==Yr&&"function"==typeof Yr.markComponentLayoutEffectUnmountStopped&&Yr.markComponentLayoutEffectUnmountStopped()}function po(e,t,n){null!==Yr&&"function"==typeof Yr.markComponentErrored&&Yr.markComponentErrored(e,t,n)}function fo(e,t,n){null!==Yr&&"function"==typeof Yr.markComponentSuspended&&Yr.markComponentSuspended(e,t,n)}function mo(e){null!==Yr&&"function"==typeof Yr.markRenderStarted&&Yr.markRenderStarted(e)}function ho(){null!==Yr&&"function"==typeof Yr.markRenderStopped&&Yr.markRenderStopped()}function vo(e,t){null!==Yr&&"function"==typeof Yr.markStateUpdateScheduled&&Yr.markStateUpdateScheduled(e,t)}var go=16,bo=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(yo(t)/wo|0)|0},yo=Math.log,wo=Math.LN2;var xo=31,_o=1,So=2,Eo=4,ko=8,Co=16,To=32,Ao=4194240,Ro=1024,Oo=2048,Do=4096,No=8192,Po=16384,Io=32768,Mo=65536,jo=131072,Lo=262144,Vo=524288,Fo=1048576,zo=2097152,Uo=130023424,Bo=4194304,$o=8388608,Wo=16777216,Ho=33554432,qo=67108864,Go=Bo,Yo=134217728,Ko=268435455,Xo=268435456,Qo=536870912,Jo=1073741824;function Zo(e){return e&_o?"Sync":e&So?"InputContinuousHydration":e&Eo?"InputContinuous":e&ko?"DefaultHydration":e&Co?"Default":e&To?"TransitionHydration":e&Ao?"Transition":e&Uo?"Retry":e&Yo?"SelectiveHydration":e&Xo?"IdleHydration":e&Qo?"Idle":e&Jo?"Offscreen":void 0}var ea=-1,ta=64,na=Bo;function ra(e){switch(pa(e)){case _o:return _o;case So:return So;case Eo:return Eo;case ko:return ko;case Co:return Co;case To:return To;case 64:case 128:case 256:case 512:case Ro:case Oo:case Do:case No:case Po:case Io:case Mo:case jo:case Lo:case Vo:case Fo:case zo:return e&Ao;case Bo:case $o:case Wo:case Ho:case qo:return e&Uo;case Yo:return Yo;case Xo:return Xo;case Qo:return Qo;case Jo:return Jo;default:return a("Should have found matching lanes. This is a bug in React."),e}}function oa(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=n&Ko;if(0!==i){var s=i&~o;if(0!==s)r=ra(s);else{var l=i&a;0!==l&&(r=ra(l))}}else{var u=n&~o;0!==u?r=ra(u):0!==a&&(r=ra(a))}if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)){var c=pa(r),d=pa(t);if(c>=d||c===Co&&0!==(d&Ao))return t}0!==(r&Eo)&&(r|=n&Co);var p=e.entangledLanes;if(0!==p)for(var f=e.entanglements,m=r&p;m>0;){var h=ma(m),v=1<<h;r|=f[h],m&=~v}return r}function aa(e,t){switch(e){case _o:case So:case Eo:return t+250;case ko:case Co:case To:case 64:case 128:case 256:case 512:case Ro:case Oo:case Do:case No:case Po:case Io:case Mo:case jo:case Lo:case Vo:case Fo:case zo:return t+5e3;case Bo:case $o:case Wo:case Ho:case qo:case Yo:case Xo:case Qo:case Jo:return ea;default:return a("Should have found matching lanes. This is a bug in React."),ea}}function ia(e){var t=e.pendingLanes&~Jo;return 0!==t?t:t&Jo?Jo:0}function sa(e){return 0!==(e&Ko)}function la(e){return(e&Uo)===e}function ua(e,t){return 0!==(t&(So|Eo|ko|Co))}function ca(e){return 0!==(e&Ao)}function da(){var e=ta;return 0===((ta<<=1)&Ao)&&(ta=64),e}function pa(e){return e&-e}function fa(e){return pa(e)}function ma(e){return 31-bo(e)}function ha(e){return ma(e)}function va(e,t){return 0!==(e&t)}function ga(e,t){return(e&t)===t}function ba(e,t){return e|t}function ya(e,t){return e&~t}function wa(e,t){return e&t}function xa(e){for(var t=[],n=0;n<xo;n++)t.push(e);return t}function _a(e,t,n){e.pendingLanes|=t,t!==Qo&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[ha(t)]=n}function Sa(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function Ea(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,o=n;o;){var a=ma(o),i=1<<a;i&t|r[a]&t&&(r[a]|=t),o&=~i}}function ka(e,t,n){if(Xr)for(var r=e.pendingUpdatersLaneMap;n>0;){var o=ha(n),a=1<<o;r[o].add(t),n&=~a}}function Ca(e,t){if(Xr)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var o=ha(t),a=1<<o,i=n[o];i.size>0&&(i.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),i.clear()),t&=~a}}var Ta,Aa,Ra,Oa,Da,Na=_o,Pa=Eo,Ia=Co,Ma=Qo,ja=0;function La(){return ja}function Va(e){ja=e}function Fa(e,t){return 0!==e&&e<t}function za(e){var t=pa(e);return Fa(Na,t)?Fa(Pa,t)?sa(t)?Ia:Ma:Pa:Na}function Ua(e){return e.current.memoizedState.isDehydrated}function Ba(e){Ta(e)}var $a=!1,Wa=[],Ha=null,qa=null,Ga=null,Ya=new Map,Ka=new Map,Xa=[],Qa=["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"];function Ja(e,t){switch(e){case"focusin":case"focusout":Ha=null;break;case"dragenter":case"dragleave":qa=null;break;case"mouseover":case"mouseout":Ga=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Ya.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;Ka.delete(r)}}function Za(e,t,n,r,o,a){if(null===e||e.nativeEvent!==a){var i=function(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]}}(t,n,r,o,a);if(null!==t){var s=Ku(t);null!==s&&Aa(s)}return i}e.eventSystemFlags|=r;var l=e.targetContainers;return null!==o&&-1===l.indexOf(o)&&l.push(o),e}function ei(e){var t=Yu(e.target);if(null!==t){var n=Er(t);if(null!==n){var r=n.tag;if(r===c){var o=kr(n);if(null!==o)return e.blockedOn=o,void Da(e.priority,function(){Ra(n)})}else if(3===r){if(Ua(n.stateNode))return void(e.blockedOn=Cr(n))}}}e.blockedOn=null}function ti(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],r=fi(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(null!==r){var o=Ku(r);return null!==o&&Aa(o),e.blockedOn=r,!1}var a=e.nativeEvent,i=new a.constructor(a.type,a);Cn(i),a.target.dispatchEvent(i),Tn(),t.shift()}return!0}function ni(e,t,n){ti(e)&&n.delete(t)}function ri(){$a=!1,null!==Ha&&ti(Ha)&&(Ha=null),null!==qa&&ti(qa)&&(qa=null),null!==Ga&&ti(Ga)&&(Ga=null),Ya.forEach(ni),Ka.forEach(ni)}function oi(e,n){e.blockedOn===n&&(e.blockedOn=null,$a||($a=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,ri)))}function ai(e){if(Wa.length>0){oi(Wa[0],e);for(var t=1;t<Wa.length;t++){var n=Wa[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Ha&&oi(Ha,e),null!==qa&&oi(qa,e),null!==Ga&&oi(Ga,e);var r=function(t){return oi(t,e)};Ya.forEach(r),Ka.forEach(r);for(var o=0;o<Xa.length;o++){var a=Xa[o];a.blockedOn===e&&(a.blockedOn=null)}for(;Xa.length>0;){var i=Xa[0];if(null!==i.blockedOn)break;ei(i),null===i.blockedOn&&Xa.shift()}}var ii=n.ReactCurrentBatchConfig,si=!0;function li(e){si=!!e}function ui(e,t,n,r){var o=La(),a=ii.transition;ii.transition=null;try{Va(Na),di(e,t,n,r)}finally{Va(o),ii.transition=a}}function ci(e,t,n,r){var o=La(),a=ii.transition;ii.transition=null;try{Va(Pa),di(e,t,n,r)}finally{Va(o),ii.transition=a}}function di(e,t,n,r){si&&function(e,t,n,r){var o=fi(e,t,n,r);if(null===o)return yl(e,t,r,pi,n),void Ja(e,r);if(function(e,t,n,r,o){switch(t){case"focusin":return Ha=Za(Ha,e,t,n,r,o),!0;case"dragenter":return qa=Za(qa,e,t,n,r,o),!0;case"mouseover":return Ga=Za(Ga,e,t,n,r,o),!0;case"pointerover":var a=o,i=a.pointerId;return Ya.set(i,Za(Ya.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":var s=o,l=s.pointerId;return Ka.set(l,Za(Ka.get(l)||null,e,t,n,r,s)),!0}return!1}(o,e,t,n,r))return void r.stopPropagation();if(Ja(e,r),4&t&&function(e){return Qa.indexOf(e)>-1}(e)){for(;null!==o;){var a=Ku(o);null!==a&&Ba(a);var i=fi(e,t,n,r);if(null===i&&yl(e,t,r,pi,n),i===o)break;o=i}return void(null!==o&&r.stopPropagation())}yl(e,t,r,null,n)}(e,t,n,r)}var pi=null;function fi(e,t,n,r){pi=null;var o=Yu(An(r));if(null!==o){var a=Er(o);if(null===a)o=null;else{var i=a.tag;if(i===c){var s=kr(a);if(null!==s)return s;o=null}else if(3===i){if(Ua(a.stateNode))return Cr(a);o=null}else a!==o&&(o=null)}}return pi=o,null}function mi(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 Na;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 Pa;case"message":switch(Vr()){case Fr:return Na;case zr:return Pa;case Ur:case Br:return Ia;case $r:return Ma;default:return Ia}default:return Ia}}var hi=null,vi=null,gi=null;function bi(){if(gi)return gi;var e,t,n=vi,r=n.length,o=yi(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var s=t>1?1-t:void 0;return gi=o.slice(e,s)}function yi(){return"value"in hi?hi.value:hi.textContent}function wi(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function xi(){return!0}function _i(){return!1}function Si(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var s=e[i];this[i]=s?s(o):o[i]}var l=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=l?xi:_i,this.isPropagationStopped=_i,this}return xe(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=xi)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=xi)},persist:function(){},isPersistent:xi}),t}var Ei,ki,Ci,Ti={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ai=Si(Ti),Ri=xe({},Ti,{view:0,detail:0}),Oi=Si(Ri);var Di=xe({},Ri,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$i,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:(function(e){e!==Ci&&(Ci&&"mousemove"===e.type?(Ei=e.screenX-Ci.screenX,ki=e.screenY-Ci.screenY):(Ei=0,ki=0),Ci=e)}(e),Ei)},movementY:function(e){return"movementY"in e?e.movementY:ki}}),Ni=Si(Di),Pi=Si(xe({},Di,{dataTransfer:0})),Ii=Si(xe({},Ri,{relatedTarget:0})),Mi=Si(xe({},Ti,{animationName:0,elapsedTime:0,pseudoElement:0})),ji=Si(xe({},Ti,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Li=Si(xe({},Ti,{data:0})),Vi=Li,Fi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zi={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"};var Ui={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bi(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Ui[e];return!!n&&!!t[n]}function $i(e){return Bi}var Wi=Si(xe({},Ri,{key:function(e){if(e.key){var t=Fi[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=wi(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?zi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$i,charCode:function(e){return"keypress"===e.type?wi(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?wi(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Hi=Si(xe({},Di,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),qi=Si(xe({},Ri,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$i})),Gi=Si(xe({},Ti,{propertyName:0,elapsedTime:0,pseudoElement:0})),Yi=Si(xe({},Di,{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})),Ki=[9,13,27,32],Xi=229,Qi=C&&"CompositionEvent"in window,Ji=null;C&&"documentMode"in document&&(Ji=document.documentMode);var Zi=C&&"TextEvent"in window&&!Ji,es=C&&(!Qi||Ji&&Ji>8&&Ji<=11),ts=32,ns=String.fromCharCode(ts);var rs=!1;function os(e,t){switch(e){case"keyup":return-1!==Ki.indexOf(t.keyCode);case"keydown":return t.keyCode!==Xi;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function as(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function is(e){return"ko"===e.locale}var ss=!1;function ls(e,t,n,r,o){var a,i;if(Qi?a=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):ss?os(t,r)&&(a="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===Xi}(t,r)&&(a="onCompositionStart"),!a)return null;es&&!is(r)&&(ss||"onCompositionStart"!==a?"onCompositionEnd"===a&&ss&&(i=bi()):ss=function(e){return hi=e,vi=yi(),!0}(o));var s=xl(n,a);if(s.length>0){var l=new Li(a,t,null,r,o);if(e.push({event:l,listeners:s}),i)l.data=i;else{var u=as(r);null!==u&&(l.data=u)}}}function us(e,t){if(ss){if("compositionend"===e||!Qi&&os(e,t)){var n=bi();return hi=null,vi=null,gi=null,ss=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return es&&!is(t)?null:t.data}}function cs(e,t,n,r,o){var a;if(!(a=Zi?function(e,t){switch(e){case"compositionend":return as(t);case"keypress":return t.which!==ts?null:(rs=!0,ns);case"textInput":var n=t.data;return n===ns&&rs?null:n;default:return null}}(t,r):us(t,r)))return null;var i=xl(n,"onBeforeInput");if(i.length>0){var s=new Vi("onBeforeInput","beforeinput",null,r,o);e.push({event:s,listeners:i}),s.data=a}}var ds={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 ps(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ds[e.type]:"textarea"===t}function fs(e,t,n,r){Pn(r);var o=xl(t,"onChange");if(o.length>0){var a=new Ai("onChange","change",null,n,r);e.push({event:a,listeners:o})}}var ms=null,hs=null;function vs(e){pl(e,0)}function gs(e){if(et(Xu(e)))return e}function bs(e,t){if("change"===e)return t}var ys=!1;function ws(){ms&&(ms.detachEvent("onpropertychange",xs),ms=null,hs=null)}function xs(e){"value"===e.propertyName&&gs(hs)&&function(e){var t=[];fs(t,hs,e,An(e)),Fn(vs,t)}(e)}function _s(e,t,n){"focusin"===e?(ws(),function(e,t){hs=t,(ms=e).attachEvent("onpropertychange",xs)}(t,n)):"focusout"===e&&ws()}function Ss(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gs(hs)}function Es(e,t){if("click"===e)return gs(t)}function ks(e,t){if("input"===e||"change"===e)return gs(t)}function Cs(e,t,n,r,o,a,i){var s,l,u,c,d,p,f=n?Xu(n):window;if("select"===(c=(u=f).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?s=bs:ps(f)?ys?s=ks:(s=Ss,l=_s):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(f)&&(s=Es),s){var m=s(t,n);if(m)return void fs(e,m,r,o)}l&&l(t,f,n),"focusout"===t&&(p=(d=f)._wrapperState)&&p.controlled&&"number"===d.type&&ft(d,"number",d.value)}function Ts(e,t,n,r,o,a,i){var s="mouseover"===t||"pointerover"===t,l="mouseout"===t||"pointerout"===t;if(s&&r!==kn){var u=r.relatedTarget||r.fromElement;if(u&&(Yu(u)||Gu(u)))return}if(l||s){var c,d,p;if(o.window===o)c=o;else{var f=o.ownerDocument;c=f?f.defaultView||f.parentWindow:window}if(l){var m=r.relatedTarget||r.toElement;if(d=n,null!==(p=m?Yu(m):null))(p!==Er(p)||5!==p.tag&&6!==p.tag)&&(p=null)}else d=null,p=n;if(d!==p){var h=Ni,v="onMouseLeave",g="onMouseEnter",b="mouse";"pointerout"!==t&&"pointerover"!==t||(h=Hi,v="onPointerLeave",g="onPointerEnter",b="pointer");var y=null==d?c:Xu(d),w=null==p?c:Xu(p),x=new h(v,b+"leave",d,r,o);x.target=y,x.relatedTarget=w;var _=null;if(Yu(o)===n){var S=new h(g,b+"enter",p,r,o);S.target=w,S.relatedTarget=y,_=S}!function(e,t,n,r,o){var a=r&&o?function(e,t){for(var n=e,r=t,o=0,a=n;a;a=_l(a))o++;for(var i=0,s=r;s;s=_l(s))i++;for(;o-i>0;)n=_l(n),o--;for(;i-o>0;)r=_l(r),i--;var l=o;for(;l--;){if(n===r||null!==r&&n===r.alternate)return n;n=_l(n),r=_l(r)}return null}(r,o):null;null!==r&&Sl(e,t,r,a,!1);null!==o&&null!==n&&Sl(e,n,o,a,!0)}(e,x,_,d,p)}}}C&&(ys=function(e){if(!C)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var As="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Rs(e,t){if(As(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(var o=0;o<n.length;o++){var a=n[o];if(!T.call(t,a)||!As(e[a],t[a]))return!1}return!0}function Os(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ds(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ns(e,t){for(var n=Os(e),r=0,o=0;n;){if(3===n.nodeType){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=Os(Ds(n))}}function Ps(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,s=r.focusOffset;try{o.nodeType,i.nodeType}catch(rx){return null}return function(e,t,n,r,o){var a=0,i=-1,s=-1,l=0,u=0,c=e,d=null;e:for(;;){for(var p=null;c!==t||0!==n&&3!==c.nodeType||(i=a+n),c!==r||0!==o&&3!==c.nodeType||(s=a+o),3===c.nodeType&&(a+=c.nodeValue.length),null!==(p=c.firstChild);)d=c,c=p;for(;;){if(c===e)break e;if(d===t&&++l===n&&(i=a),d===r&&++u===o&&(s=a),null!==(p=c.nextSibling))break;d=(c=d).parentNode}c=p}if(-1===i||-1===s)return null;return{start:i,end:s}}(e,o,a,i,s)}function Is(e){return e&&3===e.nodeType}function Ms(e,t){return!(!e||!t)&&(e===t||!Is(e)&&(Is(t)?Ms(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function js(e){return e&&e.ownerDocument&&Ms(e.ownerDocument.documentElement,e)}function Ls(e){try{return"string"==typeof e.contentWindow.location.href}catch(t){return!1}}function Vs(){for(var e=window,t=tt();t instanceof e.HTMLIFrameElement;){if(!Ls(t))return t;t=tt((e=t.contentWindow).document)}return t}function Fs(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 zs(e){var t=Vs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&js(n)){null!==r&&Fs(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),s=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>s){var l=s;s=i,i=l}var u=Ns(e,i),c=Ns(e,s);if(u&&c){if(1===o.rangeCount&&o.anchorNode===u.node&&o.anchorOffset===u.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),o.removeAllRanges(),i>s?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],a=n;a=a.parentNode;)1===a.nodeType&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<o.length;i++){var s=o[i];s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}}function Us(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Ps(e))||{start:0,end:0}}var Bs=C&&"documentMode"in document&&document.documentMode<=11;var $s=null,Ws=null,Hs=null,qs=!1;function Gs(e,t,n){var r,o=(r=n).window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!qs&&null!=$s&&$s===tt(o)){var a=function(e){if("selectionStart"in e&&Fs(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}($s);if(!Hs||!Rs(Hs,a)){Hs=a;var i=xl(Ws,"onSelect");if(i.length>0){var s=new Ai("onSelect","select",null,t,n);e.push({event:s,listeners:i}),s.target=$s}}}}function Ys(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ks={animationend:Ys("Animation","AnimationEnd"),animationiteration:Ys("Animation","AnimationIteration"),animationstart:Ys("Animation","AnimationStart"),transitionend:Ys("Transition","TransitionEnd")},Xs={},Qs={};function Js(e){if(Xs[e])return Xs[e];if(!Ks[e])return e;var t=Ks[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Qs)return Xs[e]=t[n];return e}C&&(Qs=document.createElement("div").style,"AnimationEvent"in window||(delete Ks.animationend.animation,delete Ks.animationiteration.animation,delete Ks.animationstart.animation),"TransitionEvent"in window||delete Ks.transitionend.transition);var Zs=Js("animationend"),el=Js("animationiteration"),tl=Js("animationstart"),nl=Js("transitionend"),rl=new Map,ol=["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"];function al(e,t){rl.set(e,t),E(t,[e])}function il(e,t,n,r,o,a,i){var s=rl.get(t);if(void 0!==s){var l=Ai,u=t;switch(t){case"keypress":if(0===wi(r))return;case"keydown":case"keyup":l=Wi;break;case"focusin":u="focus",l=Ii;break;case"focusout":u="blur",l=Ii;break;case"beforeblur":case"afterblur":l=Ii;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=Ni;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Pi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=qi;break;case Zs:case el:case tl:l=Mi;break;case nl:l=Gi;break;case"scroll":l=Oi;break;case"wheel":l=Yi;break;case"copy":case"cut":case"paste":l=ji;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Hi}var c=!!(4&a),d=!c&&"scroll"===t,p=function(e,t,n,r,o){var a=null!==t?t+"Capture":null,i=r?a:t,s=[],l=e,u=null;for(;null!==l;){var c=l,d=c.stateNode;if(5===c.tag&&null!==d&&(u=d,null!==i)){var p=zn(l,i);null!=p&&s.push(wl(l,p,u))}if(o)break;l=l.return}return s}(n,s,r.type,c,d);if(p.length>0){var f=new l(s,u,null,r,o);e.push({event:f,listeners:p})}}}function sl(e,t,n,r,o,a,i){il(e,t,n,r,o,a),!(7&a)&&(Ts(e,t,n,r,o),Cs(e,t,n,r,o),function(e,t,n,r,o){var a=n?Xu(n):window;switch(t){case"focusin":(ps(a)||"true"===a.contentEditable)&&($s=a,Ws=n,Hs=null);break;case"focusout":$s=null,Ws=null,Hs=null;break;case"mousedown":qs=!0;break;case"contextmenu":case"mouseup":case"dragend":qs=!1,Gs(e,r,o);break;case"selectionchange":if(Bs)break;case"keydown":case"keyup":Gs(e,r,o)}}(e,t,n,r,o),function(e,t,n,r,o){ls(e,t,n,r,o),cs(e,t,n,r,o)}(e,t,n,r,o))}!function(){for(var e=0;e<ol.length;e++){var t=ol[e];al(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}al(Zs,"onAnimationEnd"),al(el,"onAnimationIteration"),al(tl,"onAnimationStart"),al("dblclick","onDoubleClick"),al("focusin","onFocus"),al("focusout","onBlur"),al(nl,"onTransitionEnd")}(),k("onMouseEnter",["mouseout","mouseover"]),k("onMouseLeave",["mouseout","mouseover"]),k("onPointerEnter",["pointerout","pointerover"]),k("onPointerLeave",["pointerout","pointerover"]),E("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),E("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),E("onBeforeInput",["compositionend","keypress","textInput","paste"]),E("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),E("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),E("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var ll=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],ul=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ll));function cl(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,s,l){if(Jn.apply(this,arguments),Gn){var u=Zn();Kn||(Kn=!0,Xn=u)}}(r,t,void 0,e),e.currentTarget=null}function dl(e,t,n){var r;if(n)for(var o=t.length-1;o>=0;o--){var a=t[o],i=a.instance,s=a.currentTarget,l=a.listener;if(i!==r&&e.isPropagationStopped())return;cl(e,l,s),r=i}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,p=c.currentTarget,f=c.listener;if(d!==r&&e.isPropagationStopped())return;cl(e,f,p),r=d}}function pl(e,t){for(var n=!!(4&t),r=0;r<e.length;r++){var o=e[r];dl(o.event,o.listeners,n)}!function(){if(Kn){var e=Xn;throw Kn=!1,Xn=null,e}}()}function fl(e,t){ul.has(e)||a('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[Uu];void 0===t&&(t=e[Uu]=new Set);return t}(t),r=function(e){return e+"__bubble"}(e);n.has(r)||(gl(t,e,2,!1),n.add(r))}function ml(e,t,n){ul.has(e)&&!t&&a('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),gl(n,e,r,t)}var hl="_reactListening"+Math.random().toString(36).slice(2);function vl(e){if(!e[hl]){e[hl]=!0,x.forEach(function(t){"selectionchange"!==t&&(ul.has(t)||ml(t,!1,e),ml(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null!==t&&(t[hl]||(t[hl]=!0,ml("selectionchange",!1,t)))}}function gl(e,t,n,r,o){var a=function(e,t,n){var r;switch(mi(t)){case Na:r=ui;break;case Pa:r=ci;break;default:r=di}return r.bind(null,t,n,e)}(e,t,n),i=void 0;Un&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),r?void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,a):void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,a)}function bl(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function yl(e,t,n,r,o){var a=r;if(!(1&t||2&t)){var i=o;if(null!==r){var s=r;e:for(;;){if(null===s)return;var l=s.tag;if(3===l||4===l){var u=s.stateNode.containerInfo;if(bl(u,i))break;if(4===l)for(var c=s.return;null!==c;){var d=c.tag;if(3===d||4===d)if(bl(c.stateNode.containerInfo,i))return;c=c.return}for(;null!==u;){var p=Yu(u);if(null===p)return;var f=p.tag;if(5===f||6===f){s=a=p;continue e}u=u.parentNode}}s=s.return}}}Fn(function(){return function(e,t,n,r){var o=[];sl(o,e,r,n,An(n),t),pl(o,t)}(e,t,n,a)})}function wl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xl(e,t){for(var n=t+"Capture",r=[],o=e;null!==o;){var a=o,i=a.stateNode;if(5===a.tag&&null!==i){var s=i,l=zn(o,n);null!=l&&r.unshift(wl(o,l,s));var u=zn(o,t);null!=u&&r.push(wl(o,u,s))}o=o.return}return r}function _l(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Sl(e,t,n,r,o){for(var a=t._reactName,i=[],s=n;null!==s&&s!==r;){var l=s,u=l.alternate,c=l.stateNode,d=l.tag;if(null!==u&&u===r)break;if(5===d&&null!==c){var p=c;if(o){var f=zn(s,a);null!=f&&i.unshift(wl(s,f,p))}else if(!o){var m=zn(s,a);null!=m&&i.push(wl(s,m,p))}}s=s.return}0!==i.length&&e.push({event:t,listeners:i})}var El,kl,Cl,Tl,Al,Rl,Ol,Dl=!1,Nl="dangerouslySetInnerHTML",Pl="suppressContentEditableWarning",Il="suppressHydrationWarning",Ml="autoFocus",jl="children",Ll="style",Vl="__html";El={dialog:!0,webview:!0},kl=function(e,t){vn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||gn||(gn=!0,"select"===e&&t.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),En(e,t,{registrationNameDependencies:_,possibleRegistrationNames:S})},Rl=C&&!document.documentMode,Cl=function(e,t,n){if(!Dl){var r=Ul(n),o=Ul(t);o!==r&&(Dl=!0,a("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Tl=function(e){if(!Dl){Dl=!0;var t=[];e.forEach(function(e){t.push(e)}),a("Extra attributes from the server: %s",t)}},Al=function(e,t){!1===t?a("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):a("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Ol=function(e,t){var n=e.namespaceURI===Dt?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Fl=/\r\n?/g,zl=/\u0000|\uFFFD/g;function Ul(e){return function(e){if(R(e))a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",A(e)),O(e)}(e),("string"==typeof e?e:""+e).replace(Fl,"\n").replace(zl,"")}function Bl(e,t,n,r){var o=Ul(t),i=Ul(e);if(i!==o&&(r&&(Dl||(Dl=!0,a('Text content did not match. Server: "%s" Client: "%s"',i,o))),n))throw new Error("Text content does not match server-rendered HTML.")}function $l(e){return 9===e.nodeType?e:e.ownerDocument}function Wl(){}function Hl(e){e.onclick=Wl}function ql(e,t,n,r){var o,a=un(t,n);switch(kl(t,n),t){case"dialog":fl("cancel",e),fl("close",e),o=n;break;case"iframe":case"object":case"embed":fl("load",e),o=n;break;case"video":case"audio":for(var i=0;i<ll.length;i++)fl(ll[i],e);o=n;break;case"source":fl("error",e),o=n;break;case"img":case"image":case"link":fl("error",e),fl("load",e),o=n;break;case"details":fl("toggle",e),o=n;break;case"input":lt(e,n),o=st(e,n),fl("invalid",e);break;case"option":gt(0,n),o=n;break;case"select":kt(e,n),o=Et(0,n),fl("invalid",e);break;case"textarea":At(e,n),o=Tt(e,n),fl("invalid",e);break;default:o=n}switch(ln(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===Ll)i&&Object.freeze(i),rn(t,i);else if(a===Nl){var s=i?i[Vl]:void 0;null!=s&&Lt(t,s)}else a===jl?"string"==typeof i?("textarea"!==e||""!==i)&&Vt(t,i):"number"==typeof i&&Vt(t,""+i):a===Pl||a===Il||a===Ml||(_.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&Al(a,i),"onScroll"===a&&fl("scroll",t)):null!=i&&J(t,a,i,o))}}(t,e,0,o,a),t){case"input":Ze(e),dt(e,n,!1);break;case"textarea":Ze(e),Ot(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Ge(Ye(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?St(n,!!t.multiple,r,!1):null!=t.defaultValue&&St(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Hl(e)}}function Gl(e,t,n,r,o){kl(t,r);var i,s,l,u,c=null;switch(t){case"input":i=st(e,n),s=st(e,r),c=[];break;case"select":i=Et(0,n),s=Et(0,r),c=[];break;case"textarea":i=Tt(e,n),s=Tt(e,r),c=[];break;default:s=r,"function"!=typeof(i=n).onClick&&"function"==typeof s.onClick&&Hl(e)}ln(t,s);var d=null;for(l in i)if(!s.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if(l===Ll){var p=i[l];for(u in p)p.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else l===Nl||l===jl||l===Pl||l===Il||l===Ml||(_.hasOwnProperty(l)?c||(c=[]):(c=c||[]).push(l,null));for(l in s){var f=s[l],m=null!=i?i[l]:void 0;if(s.hasOwnProperty(l)&&f!==m&&(null!=f||null!=m))if(l===Ll)if(f&&Object.freeze(f),m){for(u in m)!m.hasOwnProperty(u)||f&&f.hasOwnProperty(u)||(d||(d={}),d[u]="");for(u in f)f.hasOwnProperty(u)&&m[u]!==f[u]&&(d||(d={}),d[u]=f[u])}else d||(c||(c=[]),c.push(l,d)),d=f;else if(l===Nl){var h=f?f[Vl]:void 0,v=m?m[Vl]:void 0;null!=h&&v!==h&&(c=c||[]).push(l,h)}else l===jl?"string"!=typeof f&&"number"!=typeof f||(c=c||[]).push(l,""+f):l===Pl||l===Il||(_.hasOwnProperty(l)?(null!=f&&("function"!=typeof f&&Al(l,f),"onScroll"===l&&fl("scroll",e)),c||m===f||(c=[])):(c=c||[]).push(l,f))}return d&&(!function(e,t){if(t){var n=an(e),r=an(t),o={};for(var i in n){var s=n[i],l=r[i];if(l&&s!==l){var u=s+","+l;if(o[u])continue;o[u]=!0,a("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",on(e[s])?"Removing":"Updating",s,l)}}}}(d,s[Ll]),(c=c||[]).push(Ll,d)),c}function Yl(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&ut(e,o);un(n,r);switch(function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===Ll?rn(e,i):a===Nl?Lt(e,i):a===jl?Vt(e,i):J(e,a,i,r)}}(e,t,0,un(n,o)),n){case"input":ct(e,o);break;case"textarea":Rt(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?St(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?St(n,!!t.multiple,t.defaultValue,!0):St(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function Kl(e){var t=e.toLowerCase();return cn.hasOwnProperty(t)&&cn[t]||null}function Xl(e,t){Dl||(Dl=!0,a("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Ql(e,t){Dl||(Dl=!0,a('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Jl(e,t,n){Dl||(Dl=!0,a("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function Zl(e,t){""!==t&&(Dl||(Dl=!0,a('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var eu,tu,nu=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],ru=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],ou=ru.concat(["button"]),au=["dd","dt","li","option","optgroup","p","rp","rt"],iu={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};tu=function(e,t){var n=xe({},e||iu),r={tag:t};return-1!==ru.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==ou.indexOf(t)&&(n.pTagInButtonScope=null),-1!==nu.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=r),n};var su={};eu=function(e,t,n){var r=(n=n||iu).current,o=r&&r.tag;null!=t&&(null!=e&&a("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===au.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,s=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),l=i||s;if(l){var u=l.tag,c=!!i+"|"+e+"|"+u;if(!su[c]){su[c]=!0;var d=e,p="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",p=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",i){var f="";"table"===u&&"tr"===e&&(f+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),a("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,p,f)}else a("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var lu="suppressHydrationWarning",uu="$",cu="/$",du="$?",pu="$!",fu=null,mu=null;function hu(e){var t;fu=si,t=Vs(),mu={focusedElem:t,selectionRange:Fs(t)?Us(t):null};return li(!1),null}function vu(e,t,n,r,o){var i=r;if(eu(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var s=""+t.children,l=tu(i.ancestorInfo,e);eu(null,s,l)}var u=function(e,t,n,r){var o,i,s=$l(n),l=r;if(l===Dt&&(l=Pt(e)),l===Dt){if((o=un(e,t))||e===e.toLowerCase()||a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=s.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;i=u.removeChild(c)}else if("string"==typeof t.is)i=s.createElement(e,{is:t.is});else if(i=s.createElement(e),"select"===e){var d=i;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else i=s.createElementNS(l,e);return l===Dt&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||T.call(El,e)||(El[e]=!0,a("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return Wu(o,u),Ju(u,t),u}function gu(e,t){e.appendChild(t)}function bu(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}function yu(e,t,n,r){eu(null,e,n.ancestorInfo);var o=function(e,t){return $l(t).createTextNode(e)}(e,t);return Wu(r,o),o}var wu="function"==typeof setTimeout?setTimeout:void 0,xu="function"==typeof clearTimeout?clearTimeout:void 0,_u="function"==typeof Promise?Promise:void 0,Su="function"==typeof queueMicrotask?queueMicrotask:void 0!==_u?function(e){return _u.resolve(null).then(e).catch(Eu)}:wu;function Eu(e){setTimeout(function(){throw e})}function ku(e){Vt(e,"")}function Cu(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType){var a=o.data;if(a===cu){if(0===r)return e.removeChild(o),void ai(t);r--}else a!==uu&&a!==du&&a!==pu||r++}n=o}while(n);ai(t)}function Tu(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Au(e){e.nodeValue=""}function Ru(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Bt("display",r)}function Ou(e,t){e.nodeValue=t}function Du(e){return e.data===du}function Nu(e){return e.data===pu}function Pu(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){var n=e.data;if(n===uu||n===pu||n===du)break;if(n===cu)return null}}return e}function Iu(e){return Pu(e.nextSibling)}function Mu(e,t,n,r,o,a,i){return Wu(a,e),Ju(e,n),function(e,t,n,r,o,a,i){var s,l;switch(s=un(t,n),kl(t,n),t){case"dialog":fl("cancel",e),fl("close",e);break;case"iframe":case"object":case"embed":fl("load",e);break;case"video":case"audio":for(var u=0;u<ll.length;u++)fl(ll[u],e);break;case"source":fl("error",e);break;case"img":case"image":case"link":fl("error",e),fl("load",e);break;case"details":fl("toggle",e);break;case"input":lt(e,n),fl("invalid",e);break;case"option":gt(0,n);break;case"select":kt(e,n),fl("invalid",e);break;case"textarea":At(e,n),fl("invalid",e)}ln(t,n),l=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:l.add(c[d].name)}var p=null;for(var f in n)if(n.hasOwnProperty(f)){var m=n[f];if(f===jl)"string"==typeof m?e.textContent!==m&&(!0!==n[Il]&&Bl(e.textContent,m,a,i),p=[jl,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==n[Il]&&Bl(e.textContent,m,a,i),p=[jl,""+m]);else if(_.hasOwnProperty(f))null!=m&&("function"!=typeof m&&Al(f,m),"onScroll"===f&&fl("scroll",e));else if(i&&"boolean"==typeof s){var h=void 0,v=B(f);if(!0===n[Il]);else if(f===Pl||f===Il||"value"===f||"checked"===f||"selected"===f);else if(f===Nl){var g=e.innerHTML,b=m?m[Vl]:void 0;if(null!=b){var y=Ol(e,b);y!==g&&Cl(f,g,y)}}else if(f===Ll){if(l.delete(f),Rl){var w=nn(m);w!==(h=e.getAttribute("style"))&&Cl(f,h,w)}}else if(s)l.delete(f.toLowerCase()),m!==(h=Q(e,f,m))&&Cl(f,h,m);else if(!F(f,v,s)&&!U(f,m,v,s)){var x=!1;if(null!==v)l.delete(v.attributeName),h=X(e,f,m,v);else{var S=r;if(S===Dt&&(S=Pt(t)),S===Dt)l.delete(f.toLowerCase());else{var E=Kl(f);null!==E&&E!==f&&(x=!0,l.delete(E)),l.delete(f)}h=Q(e,f,m)}m===h||x||Cl(f,h,m)}}}switch(i&&l.size>0&&!0!==n[Il]&&Tl(l),t){case"input":Ze(e),dt(e,n,!0);break;case"textarea":Ze(e),Ot(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Hl(e)}return p}(e,t,n,o.namespace,0,!!(1&a.mode),i)}function ju(e){for(var t=e.previousSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===uu||r===pu||r===du){if(0===n)return t;n--}else r===cu&&n++}t=t.previousSibling}return null}var Lu=Math.random().toString(36).slice(2),Vu="__reactFiber$"+Lu,Fu="__reactProps$"+Lu,zu="__reactContainer$"+Lu,Uu="__reactEvents$"+Lu,Bu="__reactListeners$"+Lu,$u="__reactHandles$"+Lu;function Wu(e,t){t[Vu]=e}function Hu(e,t){t[zu]=e}function qu(e){e[zu]=null}function Gu(e){return!!e[zu]}function Yu(e){var t=e[Vu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zu]||n[Vu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=ju(e);null!==o;){var a=o[Vu];if(a)return a;o=ju(o)}return t}n=(e=n).parentNode}return null}function Ku(e){var t=e[Vu]||e[zu];return t&&(5===t.tag||6===t.tag||t.tag===c||3===t.tag)?t:null}function Xu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Qu(e){return e[Fu]||null}function Ju(e,t){e[Fu]=t}var Zu={},ec=n.ReactDebugCurrentFrame;function tc(e){if(e){var t=e._owner,n=Ne(e.type,e._source,t?t.type:null);ec.setExtraStackFrame(n)}else ec.setExtraStackFrame(null)}function nc(e,t,n,r,o){var i=Function.call.bind(T);for(var s in e)if(i(e,s)){var l=void 0;try{if("function"!=typeof e[s]){var u=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}l=e[s](t,s,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){l=c}!l||l instanceof Error||(tc(o),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,s,typeof l),tc(null)),l instanceof Error&&!(l.message in Zu)&&(Zu[l.message]=!0,tc(o),a("Failed %s type: %s",n,l.message),tc(null))}}var rc,oc=[];rc=[];var ac,ic=-1;function sc(e){return{current:e}}function lc(e,t){ic<0?a("Unexpected pop."):(t!==rc[ic]&&a("Unexpected Fiber popped."),e.current=oc[ic],oc[ic]=null,rc[ic]=null,ic--)}function uc(e,t,n){ic++,oc[ic]=e.current,rc[ic]=n,e.current=t}ac={};var cc={};Object.freeze(cc);var dc=sc(cc),pc=sc(!1),fc=cc;function mc(e,t,n){return n&&bc(t)?fc:dc.current}function hc(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function vc(e,t){var n=e.type.contextTypes;if(!n)return cc;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var a in n)o[a]=t[a];return nc(n,o,"context",Ve(e)||"Unknown"),r&&hc(e,t,o),o}function gc(){return pc.current}function bc(e){var t=e.childContextTypes;return null!=t}function yc(e){lc(pc,e),lc(dc,e)}function wc(e){lc(pc,e),lc(dc,e)}function xc(e,t,n){if(dc.current!==cc)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");uc(dc,t,e),uc(pc,n,e)}function _c(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var i=Ve(e)||"Unknown";return ac[i]||(ac[i]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var s=r.getChildContext();for(var l in s)if(!(l in o))throw new Error((Ve(e)||"Unknown")+'.getChildContext(): key "'+l+'" is not defined in childContextTypes.');return nc(o,s,"child context",Ve(e)||"Unknown"),xe({},n,s)}function Sc(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||cc;return fc=dc.current,uc(dc,n,e),uc(pc,pc.current,e),!0}function Ec(e,t,n){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=_c(e,t,fc);r.__reactInternalMemoizedMergedChildContext=o,lc(pc,e),lc(dc,e),uc(dc,o,e),uc(pc,n,e)}else lc(pc,e),uc(pc,n,e)}function kc(e){if(!function(e){return Er(e)===e}(e)||1!==e.tag)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case 3:return t.stateNode.context;case 1:if(bc(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var Cc=null,Tc=!1,Ac=!1;function Rc(e){null===Cc?Cc=[e]:Cc.push(e)}function Oc(){Tc&&Dc()}function Dc(){if(!Ac&&null!==Cc){Ac=!0;var e=0,t=La();try{var n=Cc;for(Va(Na);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}Cc=null,Tc=!1}catch(o){throw null!==Cc&&(Cc=Cc.slice(e+1)),Pr(Fr,Dc),o}finally{Va(t),Ac=!1}}return null}var Nc=[],Pc=0,Ic=null,Mc=0,jc=[],Lc=0,Vc=null,Fc=1,zc="";function Uc(){var e=zc;return(Fc&~function(e){return 1<<Hc(e)-1}(Fc)).toString(32)+e}function Bc(e,t){Gc(),Nc[Pc++]=Mc,Nc[Pc++]=Ic,Ic=e,Mc=t}function $c(e,t,n){Gc(),jc[Lc++]=Fc,jc[Lc++]=zc,jc[Lc++]=Vc,Vc=e;var r=Fc,o=zc,a=Hc(r)-1,i=r&~(1<<a),s=n+1,l=Hc(t)+a;if(l>30){var u=a-a%5,c=(i&(1<<u)-1).toString(32),d=i>>u,p=a-u,f=Hc(t)+p;Fc=1<<f|(s<<p|d),zc=c+o}else{Fc=1<<l|(s<<a|i),zc=o}}function Wc(e){if(Gc(),null!==e.return){Bc(e,1),$c(e,1,0)}}function Hc(e){return 32-bo(e)}function qc(e){for(;e===Ic;)Ic=Nc[--Pc],Nc[Pc]=null,Mc=Nc[--Pc],Nc[Pc]=null;for(;e===Vc;)Vc=jc[--Lc],jc[Lc]=null,zc=jc[--Lc],jc[Lc]=null,Fc=jc[--Lc],jc[Lc]=null}function Gc(){bd()||a("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Yc=null,Kc=null,Xc=!1,Qc=!1,Jc=null;function Zc(){Qc=!0}function ed(e){var t=e.stateNode.containerInfo;return Kc=Pu(t.firstChild),Yc=e,Xc=!0,Jc=null,Qc=!1,!0}function td(e,t,n){var r,o;return Kc=Pu(t.nextSibling),Yc=e,Xc=!0,Jc=null,Qc=!1,null!==n&&(r=e,o=n,Gc(),jc[Lc++]=Fc,jc[Lc++]=zc,jc[Lc++]=Vc,Fc=o.id,zc=o.overflow,Vc=r),!0}function nd(e,t){switch(e.tag){case 3:!function(e,t){1===t.nodeType?Xl(e,t):8===t.nodeType||Ql(e,t)}(e.stateNode.containerInfo,t);break;case 5:var n=!!(1&e.mode);!function(e,t,n,r,o){(o||!0!==t[lu])&&(1===r.nodeType?Xl(n,r):8===r.nodeType||Ql(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case c:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(1===t.nodeType?Xl(n,t):8===t.nodeType||Ql(n,t))}(r.dehydrated,t)}}function rd(e,t){nd(e,t);var n,r=((n=Gy(5,null,null,0)).elementType="DELETED",n);r.stateNode=t,r.return=e;var o=e.deletions;null===o?(e.deletions=[r],e.flags|=tr):o.push(r)}function od(e,t){if(!Qc)switch(e.tag){case 3:var n=e.stateNode.containerInfo;switch(t.tag){case 5:var r=t.type;t.pendingProps,function(e,t){Jl(e,t)}(n,r);break;case 6:!function(e,t){Zl(e,t)}(n,t.pendingProps)}break;case 5:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case 5:var i=t.type;t.pendingProps;!function(e,t,n,r,o,a){(a||!0!==t[lu])&&Jl(n,r)}(0,o,a,i,0,!!(1&e.mode));break;case 6:!function(e,t,n,r,o){(o||!0!==t[lu])&&Zl(n,r)}(0,o,a,t.pendingProps,!!(1&e.mode))}break;case c:var s=e.memoizedState.dehydrated;if(null!==s)switch(t.tag){case 5:var l=t.type;t.pendingProps,function(e,t){var n=e.parentNode;null!==n&&Jl(n,t)}(s,l);break;case 6:!function(e,t){var n=e.parentNode;null!==n&&Zl(n,t)}(s,t.pendingProps)}break;default:return}}function ad(e,t){t.flags=-4097&t.flags|2,od(e,t)}function id(e,t){switch(e.tag){case 5:var n=e.type;e.pendingProps;var r=function(e,t){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,Yc=e,Kc=Pu(r.firstChild),!0);case 6:var o=function(e,t){return""===t||3!==e.nodeType?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,Yc=e,Kc=null,!0);case c:var a=function(e){return 8!==e.nodeType?null:e}(t);if(null!==a){var i={dehydrated:a,treeContext:(Gc(),null!==Vc?{id:Fc,overflow:zc}:null),retryLane:Jo};e.memoizedState=i;var s=function(e){var t=Gy(m,null,null,0);return t.stateNode=e,t}(a);return s.return=e,e.child=s,Yc=e,Kc=null,!0}return!1;default:return!1}}function sd(e){return!!(1&e.mode)&&0===(e.flags&nr)}function ld(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function ud(e){if(Xc){var t=Kc;if(!t)return sd(e)&&(od(Yc,e),ld()),ad(Yc,e),Xc=!1,void(Yc=e);var n=t;if(!id(e,t)){sd(e)&&(od(Yc,e),ld()),t=Iu(n);var r=Yc;if(!t||!id(e,t))return ad(Yc,e),Xc=!1,void(Yc=e);rd(r,n)}}}function cd(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return Wu(n,e),n.mode,function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Yc;if(null!==o)switch(o.tag){case 3:o.stateNode.containerInfo;!function(e,t,n,r){Bl(t.nodeValue,n,r,!0)}(0,t,n,!!(1&o.mode));break;case 5:o.type;var a=o.memoizedProps;o.stateNode;!function(e,t,n,r,o,a){!0!==t[lu]&&Bl(r.nodeValue,o,a,!0)}(0,a,0,t,n,!!(1&o.mode))}}return r}function dd(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){Wu(t,e)}(n,e)}function pd(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===cu){if(0===n)return Iu(t);n--}else r!==uu&&r!==pu&&r!==du||n++}t=t.nextSibling}return null}(n)}function fd(e){for(var t=e.return;null!==t&&5!==t.tag&&3!==t.tag&&t.tag!==c;)t=t.return;Yc=t}function md(e){if(e!==Yc)return!1;if(!Xc)return fd(e),Xc=!0,!1;if(3!==e.tag&&(5!==e.tag||"head"!==(n=e.type)&&"body"!==n&&!bu(e.type,e.memoizedProps))){var t=Kc;if(t)if(sd(e))hd(e),ld();else for(;t;)rd(e,t),t=Iu(t)}var n;return fd(e),Kc=e.tag===c?pd(e):Yc?Iu(e.stateNode):null,!0}function hd(e){for(var t=Kc;t;)nd(e,t),t=Iu(t)}function vd(){Yc=null,Kc=null,Xc=!1,Qc=!1}function gd(){null!==Jc&&(Wb(Jc),Jc=null)}function bd(){return Xc}function yd(e){null===Jc?Jc=[e]:Jc.push(e)}var wd=n.ReactCurrentBatchConfig;var xd={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},_d=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},Sd=[],Ed=[],kd=[],Cd=[],Td=[],Ad=[],Rd=new Set;xd.recordUnsafeLifecycleWarnings=function(e,t){Rd.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Sd.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&Ed.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&kd.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Cd.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Td.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&Ad.push(e))},xd.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Sd.length>0&&(Sd.forEach(function(t){e.add(Ve(t)||"Component"),Rd.add(t.type)}),Sd=[]);var t=new Set;Ed.length>0&&(Ed.forEach(function(e){t.add(Ve(e)||"Component"),Rd.add(e.type)}),Ed=[]);var n=new Set;kd.length>0&&(kd.forEach(function(e){n.add(Ve(e)||"Component"),Rd.add(e.type)}),kd=[]);var r=new Set;Cd.length>0&&(Cd.forEach(function(e){r.add(Ve(e)||"Component"),Rd.add(e.type)}),Cd=[]);var i=new Set;Td.length>0&&(Td.forEach(function(e){i.add(Ve(e)||"Component"),Rd.add(e.type)}),Td=[]);var s=new Set;(Ad.length>0&&(Ad.forEach(function(e){s.add(Ve(e)||"Component"),Rd.add(e.type)}),Ad=[]),t.size>0)&&a("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",_d(t));r.size>0&&a("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",_d(r));s.size>0&&a("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",_d(s));e.size>0&&o("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",_d(e));n.size>0&&o("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",_d(n));i.size>0&&o("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",_d(i))};var Od,Dd,Nd,Pd,Id,Md=new Map,jd=new Set;xd.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)8&n.mode&&(t=n),n=n.return;return t}(e);if(null!==n){if(!jd.has(e.type)){var r=Md.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],Md.set(n,r)),r.push(e))}}else a("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},xd.flushLegacyContextWarning=function(){Md.forEach(function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach(function(e){r.add(Ve(e)||"Component"),jd.add(e.type)});var o=_d(r);try{He(n),a("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)}finally{We()}}})},xd.discardPendingWarnings=function(){Sd=[],Ed=[],kd=[],Cd=[],Td=[],Ad=[],Md=new Map};var Ld;function Vd(e,t,n){var r,o=n.ref;if(null!==o&&"function"!=typeof o&&"object"!=typeof o){if(e.mode,!(n._owner&&n._self&&n._owner.stateNode!==n._self||n._owner&&1!==n._owner.tag)&&("function"!=typeof n.type||(r=n.type).prototype&&r.prototype.isReactComponent)&&n._owner){var i=Ve(e)||"Component";Nd[i]||(a('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',i,o),Nd[i]=!0)}if(n._owner){var s,l=n._owner;if(l){var u=l;if(1!==u.tag)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");s=u.stateNode}if(!s)throw new Error("Missing owner for string ref "+o+". This error is likely caused by a bug in React. Please file an issue.");var c=s;!function(e,t){if(R(e))a("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),O(e)}(o,"ref");var d=""+o;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===d)return t.ref;var p=function(e){var t=c.refs;null===e?delete t[d]:t[d]=e};return p._stringRef=d,p}if("string"!=typeof o)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+o+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return o}function Fd(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function zd(e){var t=Ve(e)||"Component";Id[t]||(Id[t]=!0,a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Ud(e){var t=e._payload;return(0,e._init)(t)}function Bd(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=tr):r.push(n)}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function o(e,t){var n=Ky(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return t.flags|=fr,n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.flags|=2,n):a}return t.flags|=2,n}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){if(null===t||6!==t.tag){var a=tw(n,e.mode,r);return a.return=e,a}var i=o(t,n);return i.return=e,i}function u(e,t,n,r){var a=n.type;if(a===te)return d(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===a||Vy(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===ce&&Ud(a)===t.type)){var i=o(t,n.props);return i.ref=Vd(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var s=Jy(n,e.mode,r);return s.ref=Vd(e,t,n),s.return=e,s}function c(e,t,n,r){if(null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var a=nw(n,e.mode,r);return a.return=e,a}var i=o(t,n.children||[]);return i.return=e,i}function d(e,t,n,r,a){if(null===t||7!==t.tag){var i=Zy(n,e.mode,r,a);return i.return=e,i}var s=o(t,n);return s.return=e,s}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=tw(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case Z:var o=Jy(t,e.mode,n);return o.ref=Vd(e,null,t),o.return=e,o;case ee:var a=nw(t,e.mode,n);return a.return=e,a;case ce:var i=t._payload;return p(e,(0,t._init)(i),n)}if(wt(t)||fe(t)){var s=Zy(t,e.mode,n,null);return s.return=e,s}Fd(0,t)}return"function"==typeof t&&zd(e),null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Z:return n.key===o?u(e,t,n,r):null;case ee:return n.key===o?c(e,t,n,r):null;case ce:var a=n._payload;return f(e,t,(0,n._init)(a),r)}if(wt(n)||fe(n))return null!==o?null:d(e,t,n,r,null);Fd(0,n)}return"function"==typeof n&&zd(e),null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Z:return u(t,e.get(null===r.key?n:r.key)||null,r,o);case ee:return c(t,e.get(null===r.key?n:r.key)||null,r,o);case ce:var a=r._payload;return m(e,t,n,(0,r._init)(a),o)}if(wt(r)||fe(r))return d(t,e.get(n)||null,r,o,null);Fd(0,r)}return"function"==typeof r&&zd(t),null}function h(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case Z:case ee:Ld(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}a("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case ce:var o=e._payload;h((0,e._init)(o),t,n)}return t}return function l(u,c,d,v){if("object"==typeof d&&null!==d&&d.type===te&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case Z:return s(function(e,r,a,i){for(var s=a.key,l=r;null!==l;){if(l.key===s){var u=a.type;if(u===te){if(7===l.tag){n(e,l.sibling);var c=o(l,a.props.children);return c.return=e,c._debugSource=a._source,c._debugOwner=a._owner,c}}else if(l.elementType===u||Vy(l,a)||"object"==typeof u&&null!==u&&u.$$typeof===ce&&Ud(u)===l.type){n(e,l.sibling);var d=o(l,a.props);return d.ref=Vd(e,l,a),d.return=e,d._debugSource=a._source,d._debugOwner=a._owner,d}n(e,l);break}t(e,l),l=l.sibling}if(a.type===te){var p=Zy(a.props.children,e.mode,i,a.key);return p.return=e,p}var f=Jy(a,e.mode,i);return f.ref=Vd(e,r,a),f.return=e,f}(u,c,d,v));case ee:return s(function(e,r,a,i){for(var s=a.key,l=r;null!==l;){if(l.key===s){if(4===l.tag&&l.stateNode.containerInfo===a.containerInfo&&l.stateNode.implementation===a.implementation){n(e,l.sibling);var u=o(l,a.children||[]);return u.return=e,u}n(e,l);break}t(e,l),l=l.sibling}var c=nw(a,e.mode,i);return c.return=e,c}(u,c,d,v));case ce:var g=d._payload;return l(u,c,(0,d._init)(g),v)}if(wt(d))return function(o,a,s,l){for(var u=null,c=0;c<s.length;c++)u=h(s[c],u,o);for(var d=null,v=null,g=a,b=0,y=0,w=null;null!==g&&y<s.length;y++){g.index>y?(w=g,g=null):w=g.sibling;var x=f(o,g,s[y],l);if(null===x){null===g&&(g=w);break}e&&g&&null===x.alternate&&t(o,g),b=i(x,b,y),null===v?d=x:v.sibling=x,v=x,g=w}if(y===s.length)return n(o,g),bd()&&Bc(o,y),d;if(null===g){for(;y<s.length;y++){var _=p(o,s[y],l);null!==_&&(b=i(_,b,y),null===v?d=_:v.sibling=_,v=_)}return bd()&&Bc(o,y),d}for(var S=r(0,g);y<s.length;y++){var E=m(S,o,y,s[y],l);null!==E&&(e&&null!==E.alternate&&S.delete(null===E.key?y:E.key),b=i(E,b,y),null===v?d=E:v.sibling=E,v=E)}return e&&S.forEach(function(e){return t(o,e)}),bd()&&Bc(o,y),d}(u,c,d,v);if(fe(d))return function(o,s,l,u){var c=fe(l);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===l[Symbol.toStringTag]&&(Dd||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Dd=!0),l.entries===c&&(Od||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Od=!0);var d=c.call(l);if(d)for(var v=null,g=d.next();!g.done;g=d.next())v=h(g.value,v,o);var b=c.call(l);if(null==b)throw new Error("An iterable object provided no iterator.");for(var y=null,w=null,x=s,_=0,S=0,E=null,k=b.next();null!==x&&!k.done;S++,k=b.next()){x.index>S?(E=x,x=null):E=x.sibling;var C=f(o,x,k.value,u);if(null===C){null===x&&(x=E);break}e&&x&&null===C.alternate&&t(o,x),_=i(C,_,S),null===w?y=C:w.sibling=C,w=C,x=E}if(k.done)return n(o,x),bd()&&Bc(o,S),y;if(null===x){for(;!k.done;S++,k=b.next()){var T=p(o,k.value,u);null!==T&&(_=i(T,_,S),null===w?y=T:w.sibling=T,w=T)}return bd()&&Bc(o,S),y}for(var A=r(0,x);!k.done;S++,k=b.next()){var R=m(A,o,S,k.value,u);null!==R&&(e&&null!==R.alternate&&A.delete(null===R.key?S:R.key),_=i(R,_,S),null===w?y=R:w.sibling=R,w=R)}return e&&A.forEach(function(e){return t(o,e)}),bd()&&Bc(o,S),y}(u,c,d,v);Fd(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?s(function(e,t,r,a){if(null!==t&&6===t.tag){n(e,t.sibling);var i=o(t,r);return i.return=e,i}n(e,t);var s=tw(r,e.mode,a);return s.return=e,s}(u,c,""+d,v)):("function"==typeof d&&zd(u),n(u,c))}}Od=!1,Dd=!1,Nd={},Pd={},Id={},Ld=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=Ve(t)||"Component";Pd[n]||(Pd[n]=!0,a('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var $d=Bd(!0),Wd=Bd(!1);function Hd(e,t){for(var n=e.child;null!==n;)Xy(n,t),n=n.sibling}var qd,Gd=sc(null);qd={};var Yd=null,Kd=null,Xd=null,Qd=!1;function Jd(){Yd=null,Kd=null,Xd=null,Qd=!1}function Zd(){Qd=!0}function ep(){Qd=!1}function tp(e,t,n){uc(Gd,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==qd&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=qd}function np(e,t){var n=Gd.current;lc(Gd,t),e._currentValue=n}function rp(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(ga(r.childLanes,t)?null===o||ga(o.childLanes,t)||(o.childLanes=ba(o.childLanes,t)):(r.childLanes=ba(r.childLanes,t),null!==o&&(o.childLanes=ba(o.childLanes,t))),r===n)break;r=r.return}r!==n&&a("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function op(e,t,n){!function(e,t,n){var r=e.child;null!==r&&(r.return=e);for(;null!==r;){var o=void 0,a=r.dependencies;if(null!==a){o=r.child;for(var i=a.firstContext;null!==i;){if(i.context===t){if(1===r.tag){var l=fa(n),u=wp(ea,l);u.tag=vp;var c=r.updateQueue;if(null===c);else{var d=c.shared,p=d.pending;null===p?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}r.lanes=ba(r.lanes,n);var f=r.alternate;null!==f&&(f.lanes=ba(f.lanes,n)),rp(r.return,n,e),a.lanes=ba(a.lanes,n);break}i=i.next}}else if(r.tag===s)o=r.type===e.type?null:r.child;else if(r.tag===m){var h=r.return;if(null===h)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");h.lanes=ba(h.lanes,n);var v=h.alternate;null!==v&&(v.lanes=ba(v.lanes,n)),rp(h,n,e),o=r.sibling}else o=r.child;if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var g=o.sibling;if(null!==g){g.return=o.return,o=g;break}o=o.return}r=o}}(e,t,n)}function ap(e,t){Yd=e,Kd=null,Xd=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(va(n.lanes,t)&&hv(),n.firstContext=null))}function ip(e){Qd&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Xd===e);else{var n={context:e,memoizedValue:t,next:null};if(null===Kd){if(null===Yd)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Kd=n,Yd.dependencies={lanes:0,firstContext:n}}else Kd=Kd.next=n}return t}var sp=null;function lp(e){null===sp?sp=[e]:sp.push(e)}function up(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,lp(t)):(n.next=o.next,o.next=n),t.interleaved=n,pp(e,r)}function cp(e,t){return pp(e,t)}var dp=pp;function pp(e,t){e.lanes=ba(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=ba(n.lanes,t)),null===n&&4098&e.flags&&Sy(e);for(var r=e,o=e.return;null!==o;)o.childLanes=ba(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=ba(n.childLanes,t):4098&o.flags&&Sy(e),r=o,o=o.return;return 3===r.tag?r.stateNode:null}var fp,mp,hp=0,vp=2,gp=!1;function bp(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};e.updateQueue=t}function yp(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=o}}function wp(e,t){return{eventTime:e,lane:t,tag:hp,payload:null,callback:null,next:null}}function xp(e,t,n){var r=e.updateQueue;if(null===r)return null;var o=r.shared;if(mp!==o||fp||(a("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),fp=!0),(Qg&Bg)!==Ug){var i=o.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),o.pending=t,dp(e,n)}return function(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,lp(t)):(n.next=o.next,o.next=n),t.interleaved=n,pp(e,r)}(e,o,t,n)}function _p(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(ca(n)){var a=o.lanes,i=ba(a=wa(a,e.pendingLanes),n);o.lanes=i,Ea(e,i)}}}function Sp(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var a=null,i=null,s=n.firstBaseUpdate;if(null!==s){var l=s;do{var u={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};null===i?a=i=u:(i.next=u,i=u),l=l.next}while(null!==l);null===i?a=i=t:(i.next=t,i=t)}else a=i=t;return n={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:o.shared,effects:o.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function Ep(e,t,n,r,o,a){switch(n.tag){case 1:var i=n.payload;if("function"==typeof i){Zd();var s=i.call(a,r,o);if(8&e.mode){Qr(!0);try{i.call(a,r,o)}finally{Qr(!1)}}return ep(),s}return i;case 3:e.flags=-65537&e.flags|nr;case hp:var l,u=n.payload;if("function"==typeof u){if(Zd(),l=u.call(a,r,o),8&e.mode){Qr(!0);try{u.call(a,r,o)}finally{Qr(!1)}}ep()}else l=u;return null==l?r:xe({},r,l);case vp:return gp=!0,r}return r}function kp(e,t,n,r){var o=e.updateQueue;gp=!1,mp=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;if(null!==c){var d=c.updateQueue,p=d.lastBaseUpdate;p!==i&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=l)}}if(null!==a){for(var f=o.baseState,m=0,h=null,v=null,g=null,b=a;;){var y=b.lane,w=b.eventTime;if(ga(r,y)){if(null!==g){var x={eventTime:w,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null};g=g.next=x}if(f=Ep(e,0,b,f,t,n),null!==b.callback&&0!==b.lane){e.flags|=64;var _=o.effects;null===_?o.effects=[b]:_.push(b)}}else{var S={eventTime:w,lane:y,tag:b.tag,payload:b.payload,callback:b.callback,next:null};null===g?(v=g=S,h=f):g=g.next=S,m=ba(m,y)}if(null===(b=b.next)){if(null===(s=o.shared.pending))break;var E=s,k=E.next;E.next=null,b=k,o.lastBaseUpdate=E,o.shared.pending=null}}null===g&&(h=f),o.baseState=h,o.firstBaseUpdate=v,o.lastBaseUpdate=g;var C=o.shared.interleaved;if(null!==C){var T=C;do{m=ba(m,T.lane),T=T.next}while(T!==C)}else null===a&&(o.shared.lanes=0);ny(m),e.lanes=m,e.memoizedState=f}mp=null}function Cp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Tp(){gp=!1}function Ap(){return gp}function Rp(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,Cp(i,n))}}fp=!1,mp=null;var Op={},Dp=sc(Op),Np=sc(Op),Pp=sc(Op);function Ip(e){if(e===Op)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Mp(){return Ip(Pp.current)}function jp(e,t){uc(Pp,t,e),uc(Np,e,e),uc(Dp,Op,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case 9:case 11:t=9===r?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:It(null,"");break;default:var a=8===r?e.parentNode:e;n=It(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:tu(null,i)}}(t);lc(Dp,e),uc(Dp,n,e)}function Lp(e){lc(Dp,e),lc(Np,e),lc(Pp,e)}function Vp(){return Ip(Dp.current)}function Fp(e){Ip(Pp.current);var t,n,r,o=Ip(Dp.current),a=(t=o,n=e.type,{namespace:It((r=t).namespace,n),ancestorInfo:tu(r.ancestorInfo,n)});o!==a&&(uc(Np,e,e),uc(Dp,a,e))}function zp(e){Np.current===e&&(lc(Dp,e),lc(Np,e))}var Up=sc(0);function Bp(e,t){return 0!==(e&t)}function $p(e){return 1&e}function Wp(e,t){return 1&e|t}function Hp(e,t){uc(Up,t,e)}function qp(e){lc(Up,e)}function Gp(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function Yp(e){for(var t=e;null!==t;){if(t.tag===c){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||Du(r)||Nu(r))return t}}else if(t.tag===h&&void 0!==t.memoizedProps.revealOrder){if(0!==(t.flags&nr))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 Kp=[];function Xp(){for(var e=0;e<Kp.length;e++){Kp[e]._workInProgressVersionPrimary=null}Kp.length=0}function Qp(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var Jp,Zp,ef=n.ReactCurrentDispatcher,tf=n.ReactCurrentBatchConfig;Jp=new Set;var nf=0,rf=null,of=null,af=null,sf=!1,lf=!1,uf=0,cf=0,df=null,pf=null,ff=-1,mf=!1;function hf(){var e=df;null===pf?pf=[e]:pf.push(e)}function vf(){var e=df;null!==pf&&(ff++,pf[ff]!==e&&function(e){var t=Ve(rf);if(!Jp.has(t)&&(Jp.add(t),null!==pf)){for(var n="",r=30,o=0;o<=ff;o++){for(var i=pf[o],s=o===ff?e:i,l=o+1+". "+i;l.length<r;)l+=" ";n+=l+=s+"\n"}a("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function gf(e){null==e||wt(e)||a("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",df,typeof e)}function bf(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function yf(e,t){if(mf)return!1;if(null===t)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",df),!1;e.length!==t.length&&a("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",df,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!As(e[n],t[n]))return!1;return!0}function wf(e,t,n,r,o,i){nf=i,rf=t,pf=null!==e?e._debugHookTypes:null,ff=-1,mf=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=0,null!==e&&null!==e.memoizedState?ef.current=Cm:ef.current=null!==pf?km:Em;var s=n(r,o);if(lf){var l=0;do{if(lf=!1,uf=0,l>=25)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,mf=!1,of=null,af=null,t.updateQueue=null,ff=-1,ef.current=Tm,s=n(r,o)}while(lf)}ef.current=Sm,t._debugHookTypes=pf;var u=null!==of&&null!==of.next;if(nf=0,rf=null,of=null,af=null,df=null,pf=null,ff=-1,null!==e&&(e.flags&_r)!==(t.flags&_r)&&1&e.mode&&a("Internal React error: Expected static flag was missing. Please notify the React team."),sf=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return s}function xf(){var e=0!==uf;return uf=0,e}function _f(e,t,n){t.updateQueue=e.updateQueue,0!==(t.mode&go)?t.flags&=-50333701:t.flags&=-2053,e.lanes=ya(e.lanes,n)}function Sf(){if(ef.current=Sm,sf){for(var e=rf.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}sf=!1}nf=0,rf=null,of=null,af=null,pf=null,ff=-1,df=null,mm=!1,lf=!1,uf=0}function Ef(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===af?rf.memoizedState=af=e:af=af.next=e,af}function kf(){var e,t;if(null===of){var n=rf.alternate;e=null!==n?n.memoizedState:null}else e=of.next;if(null!==(t=null===af?rf.memoizedState:af.next))t=(af=t).next,of=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(of=e).memoizedState,baseState:of.baseState,baseQueue:of.baseQueue,queue:of.queue,next:null};null===af?rf.memoizedState=af=r:af=af.next=r}return af}function Cf(e,t){return"function"==typeof t?t(e):t}function Tf(e,t,n){var r,o=Ef();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=a;var i=a.dispatch=gm.bind(null,rf,a);return[o.memoizedState,i]}function Af(e,t,n){var r=kf(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var i=of,s=i.baseQueue,l=o.pending;if(null!==l){if(null!==s){var u=s.next,c=l.next;s.next=c,l.next=u}i.baseQueue!==s&&a("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=s=l,o.pending=null}if(null!==s){var d=s.next,p=i.baseState,f=null,m=null,h=null,v=d;do{var g=v.lane;if(ga(nf,g)){if(null!==h){var b={lane:0,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};h=h.next=b}if(v.hasEagerState)p=v.eagerState;else p=e(p,v.action)}else{var y={lane:g,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};null===h?(m=h=y,f=p):h=h.next=y,rf.lanes=ba(rf.lanes,g),ny(g)}v=v.next}while(null!==v&&v!==d);null===h?f=p:h.next=m,As(p,r.memoizedState)||hv(),r.memoizedState=p,r.baseState=f,r.baseQueue=h,o.lastRenderedState=p}var w=o.interleaved;if(null!==w){var x=w;do{var _=x.lane;rf.lanes=ba(rf.lanes,_),ny(_),x=x.next}while(x!==w)}else null===s&&(o.lanes=0);var S=o.dispatch;return[r.memoizedState,S]}function Rf(e,t,n){var r=kf(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,s=r.memoizedState;if(null!==i){o.pending=null;var l=i.next,u=l;do{s=e(s,u.action),u=u.next}while(u!==l);As(s,r.memoizedState)||hv(),r.memoizedState=s,null===r.baseQueue&&(r.baseState=s),o.lastRenderedState=s}return[s,a]}function Of(e,t,n){var r,o=rf,i=Ef();if(bd()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),Zp||r!==n()&&(a("The result of getServerSnapshot should be cached to avoid an infinite loop"),Zp=!0)}else{if(r=t(),!Zp){var s=t();As(r,s)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),Zp=!0)}var l=jb();if(null===l)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ua(0,nf)||Nf(o,t,r)}i.memoizedState=r;var u={value:r,getSnapshot:t};return i.queue=u,Hf(If.bind(null,o,u,e),[e]),o.flags|=ir,zf(9,Pf.bind(null,o,u,r,t),void 0,null),r}function Df(e,t,n){var r=rf,o=kf(),i=t();if(!Zp){var s=t();As(i,s)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),Zp=!0)}var l=o.memoizedState,u=!As(l,i);u&&(o.memoizedState=i,hv());var c=o.queue;if(qf(If.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==af&&1&af.memoizedState.tag){r.flags|=ir,zf(9,Pf.bind(null,r,c,i,t),void 0,null);var d=jb();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ua(0,nf)||Nf(r,t,i)}return i}function Nf(e,t,n){e.flags|=ur;var r={getSnapshot:t,value:n},o=rf.updateQueue;if(null===o)o={lastEffect:null,stores:null},rf.updateQueue=o,o.stores=[r];else{var a=o.stores;null===a?o.stores=[r]:a.push(r)}}function Pf(e,t,n,r){t.value=n,t.getSnapshot=r,Mf(t)&&jf(e)}function If(e,t,n){return n(function(){Mf(t)&&jf(e)})}function Mf(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!As(n,r)}catch(o){return!0}}function jf(e){var t=cp(e,_o);null!==t&&zb(t,e,_o,ea)}function Lf(e){var t=Ef();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Cf,lastRenderedState:e};t.queue=n;var r=n.dispatch=bm.bind(null,rf,n);return[t.memoizedState,r]}function Vf(e){return Af(Cf)}function Ff(e){return Rf(Cf)}function zf(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=rf.updateQueue;if(null===a)a={lastEffect:null,stores:null},rf.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var s=i.next;i.next=o,o.next=s,a.lastEffect=o}}return o}function Uf(e){var t={current:e};return Ef().memoizedState=t,t}function Bf(e){return kf().memoizedState}function $f(e,t,n,r){var o=Ef(),a=void 0===r?null:r;rf.flags|=e,o.memoizedState=zf(1|t,n,void 0,a)}function Wf(e,t,n,r){var o=kf(),a=void 0===r?null:r,i=void 0;if(null!==of){var s=of.memoizedState;if(i=s.destroy,null!==a)if(yf(a,s.deps))return void(o.memoizedState=zf(t,n,i,a))}rf.flags|=e,o.memoizedState=zf(1|t,n,i,a)}function Hf(e,t){return 0!==(rf.mode&go)?$f(41945088,8,e,t):$f(8390656,8,e,t)}function qf(e,t){return Wf(ir,8,e,t)}function Gf(e,t){return $f(4,2,e,t)}function Yf(e,t){return Wf(4,2,e,t)}function Kf(e,t){var n=4;return n|=hr,0!==(rf.mode&go)&&(n|=vr),$f(n,4,e,t)}function Xf(e,t){return Wf(4,4,e,t)}function Qf(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||a("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var i=e();return o.current=i,function(){o.current=null}}}function Jf(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null,o=4;return o|=hr,0!==(rf.mode&go)&&(o|=vr),$f(o,4,Qf.bind(null,t,e),r)}function Zf(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return Wf(4,4,Qf.bind(null,t,e),r)}function em(e,t){}var tm=em;function nm(e,t){var n=void 0===t?null:t;return Ef().memoizedState=[e,n],e}function rm(e,t){var n=kf(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&yf(r,o[1])))return o[0];return n.memoizedState=[e,r],e}function om(e,t){var n=Ef(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function am(e,t){var n=kf(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&yf(r,o[1])))return o[0];var a=e();return n.memoizedState=[a,r],a}function im(e){return Ef().memoizedState=e,e}function sm(e){return um(kf(),of.memoizedState,e)}function lm(e){var t=kf();return null===of?(t.memoizedState=e,e):um(t,of.memoizedState,e)}function um(e,t,n){if(!(0===(nf&(_o|Eo|Co)))){if(!As(n,t)){var r=da();rf.lanes=ba(rf.lanes,r),ny(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,hv()),e.memoizedState=n,n}function cm(e,t,n){var r,a,i=La();Va((a=Pa,0!==(r=i)&&r<a?r:a)),e(!0);var s=tf.transition;tf.transition={};var l=tf.transition;tf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Va(i),tf.transition=s,null===s&&l._updatedFibers)l._updatedFibers.size>10&&o("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),l._updatedFibers.clear()}}function dm(){var e=Lf(!1),t=e[0],n=e[1],r=cm.bind(null,n);return Ef().memoizedState=r,[t,r]}function pm(){return[Vf()[0],kf().memoizedState]}function fm(){return[Ff()[0],kf().memoizedState]}var mm=!1;function hm(){var e,t=Ef(),n=jb().identifierPrefix;if(bd()){e=":"+n+"R"+Uc();var r=uf++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(cf++).toString(32)+":"}return t.memoizedState=e,e}function vm(){return kf().memoizedState}function gm(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Vb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ym(e))wm(t,o);else{var i=up(e,t,o,r);if(null!==i)zb(i,e,r,Lb()),xm(i,t,r)}_m(e,r)}function bm(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Vb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ym(e))wm(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)){var s=t.lastRenderedReducer;if(null!==s){var l;l=ef.current,ef.current=Rm;try{var u=t.lastRenderedState,c=s(u,n);if(o.hasEagerState=!0,o.eagerState=c,As(c,u))return void function(e,t,n){var r=t.interleaved;null===r?(n.next=n,lp(t)):(n.next=r.next,r.next=n),t.interleaved=n}(0,t,o)}catch(p){}finally{ef.current=l}}}var d=up(e,t,o,r);if(null!==d)zb(d,e,r,Lb()),xm(d,t,r)}_m(e,r)}function ym(e){var t=e.alternate;return e===rf||null!==t&&t===rf}function wm(e,t){lf=sf=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xm(e,t,n){if(ca(n)){var r=t.lanes,o=ba(r=wa(r,e.pendingLanes),n);t.lanes=o,Ea(e,o)}}function _m(e,t,n){vo(e,t)}var Sm={readContext:ip,useCallback:bf,useContext:bf,useEffect:bf,useImperativeHandle:bf,useInsertionEffect:bf,useLayoutEffect:bf,useMemo:bf,useReducer:bf,useRef:bf,useState:bf,useDebugValue:bf,useDeferredValue:bf,useTransition:bf,useMutableSource:bf,useSyncExternalStore:bf,useId:bf,unstable_isNewReconciler:y},Em=null,km=null,Cm=null,Tm=null,Am=null,Rm=null,Om=null,Dm=function(){a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Nm=function(){a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Em={readContext:function(e){return ip(e)},useCallback:function(e,t){return df="useCallback",hf(),gf(t),nm(e,t)},useContext:function(e){return df="useContext",hf(),ip(e)},useEffect:function(e,t){return df="useEffect",hf(),gf(t),Hf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",hf(),gf(n),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",hf(),gf(t),Gf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",hf(),gf(t),Kf(e,t)},useMemo:function(e,t){df="useMemo",hf(),gf(t);var n=ef.current;ef.current=Am;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",hf();var r=ef.current;ef.current=Am;try{return Tf(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",hf(),Uf(e)},useState:function(e){df="useState",hf();var t=ef.current;ef.current=Am;try{return Lf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",hf()},useDeferredValue:function(e){return df="useDeferredValue",hf(),im(e)},useTransition:function(){return df="useTransition",hf(),dm()},useMutableSource:function(e,t,n){df="useMutableSource",hf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",hf(),Of(e,t,n)},useId:function(){return df="useId",hf(),hm()},unstable_isNewReconciler:y},km={readContext:function(e){return ip(e)},useCallback:function(e,t){return df="useCallback",vf(),nm(e,t)},useContext:function(e){return df="useContext",vf(),ip(e)},useEffect:function(e,t){return df="useEffect",vf(),Hf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",vf(),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",vf(),Gf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",vf(),Kf(e,t)},useMemo:function(e,t){df="useMemo",vf();var n=ef.current;ef.current=Am;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",vf();var r=ef.current;ef.current=Am;try{return Tf(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",vf(),Uf(e)},useState:function(e){df="useState",vf();var t=ef.current;ef.current=Am;try{return Lf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",vf()},useDeferredValue:function(e){return df="useDeferredValue",vf(),im(e)},useTransition:function(){return df="useTransition",vf(),dm()},useMutableSource:function(e,t,n){df="useMutableSource",vf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",vf(),Of(e,t,n)},useId:function(){return df="useId",vf(),hm()},unstable_isNewReconciler:y},Cm={readContext:function(e){return ip(e)},useCallback:function(e,t){return df="useCallback",vf(),rm(e,t)},useContext:function(e){return df="useContext",vf(),ip(e)},useEffect:function(e,t){return df="useEffect",vf(),qf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",vf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",vf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",vf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",vf();var n=ef.current;ef.current=Rm;try{return am(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",vf();var r=ef.current;ef.current=Rm;try{return Af(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",vf(),Bf()},useState:function(e){df="useState",vf();var t=ef.current;ef.current=Rm;try{return Vf()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",vf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",vf(),sm(e)},useTransition:function(){return df="useTransition",vf(),pm()},useMutableSource:function(e,t,n){df="useMutableSource",vf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",vf(),Df(e,t)},useId:function(){return df="useId",vf(),vm()},unstable_isNewReconciler:y},Tm={readContext:function(e){return ip(e)},useCallback:function(e,t){return df="useCallback",vf(),rm(e,t)},useContext:function(e){return df="useContext",vf(),ip(e)},useEffect:function(e,t){return df="useEffect",vf(),qf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",vf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",vf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",vf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",vf();var n=ef.current;ef.current=Om;try{return am(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",vf();var r=ef.current;ef.current=Om;try{return Rf(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",vf(),Bf()},useState:function(e){df="useState",vf();var t=ef.current;ef.current=Om;try{return Ff()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",vf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",vf(),lm(e)},useTransition:function(){return df="useTransition",vf(),fm()},useMutableSource:function(e,t,n){df="useMutableSource",vf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",vf(),Df(e,t)},useId:function(){return df="useId",vf(),vm()},unstable_isNewReconciler:y},Am={readContext:function(e){return Dm(),ip(e)},useCallback:function(e,t){return df="useCallback",Nm(),hf(),nm(e,t)},useContext:function(e){return df="useContext",Nm(),hf(),ip(e)},useEffect:function(e,t){return df="useEffect",Nm(),hf(),Hf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Nm(),hf(),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Nm(),hf(),Gf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Nm(),hf(),Kf(e,t)},useMemo:function(e,t){df="useMemo",Nm(),hf();var n=ef.current;ef.current=Am;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Nm(),hf();var r=ef.current;ef.current=Am;try{return Tf(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",Nm(),hf(),Uf(e)},useState:function(e){df="useState",Nm(),hf();var t=ef.current;ef.current=Am;try{return Lf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",Nm(),hf()},useDeferredValue:function(e){return df="useDeferredValue",Nm(),hf(),im(e)},useTransition:function(){return df="useTransition",Nm(),hf(),dm()},useMutableSource:function(e,t,n){df="useMutableSource",Nm(),hf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Nm(),hf(),Of(e,t,n)},useId:function(){return df="useId",Nm(),hf(),hm()},unstable_isNewReconciler:y},Rm={readContext:function(e){return Dm(),ip(e)},useCallback:function(e,t){return df="useCallback",Nm(),vf(),rm(e,t)},useContext:function(e){return df="useContext",Nm(),vf(),ip(e)},useEffect:function(e,t){return df="useEffect",Nm(),vf(),qf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Nm(),vf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Nm(),vf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Nm(),vf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",Nm(),vf();var n=ef.current;ef.current=Rm;try{return am(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Nm(),vf();var r=ef.current;ef.current=Rm;try{return Af(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",Nm(),vf(),Bf()},useState:function(e){df="useState",Nm(),vf();var t=ef.current;ef.current=Rm;try{return Vf()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",Nm(),vf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",Nm(),vf(),sm(e)},useTransition:function(){return df="useTransition",Nm(),vf(),pm()},useMutableSource:function(e,t,n){df="useMutableSource",Nm(),vf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Nm(),vf(),Df(e,t)},useId:function(){return df="useId",Nm(),vf(),vm()},unstable_isNewReconciler:y},Om={readContext:function(e){return Dm(),ip(e)},useCallback:function(e,t){return df="useCallback",Nm(),vf(),rm(e,t)},useContext:function(e){return df="useContext",Nm(),vf(),ip(e)},useEffect:function(e,t){return df="useEffect",Nm(),vf(),qf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Nm(),vf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Nm(),vf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Nm(),vf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",Nm(),vf();var n=ef.current;ef.current=Rm;try{return am(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Nm(),vf();var r=ef.current;ef.current=Rm;try{return Rf(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",Nm(),vf(),Bf()},useState:function(e){df="useState",Nm(),vf();var t=ef.current;ef.current=Rm;try{return Ff()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",Nm(),vf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",Nm(),vf(),lm(e)},useTransition:function(){return df="useTransition",Nm(),vf(),fm()},useMutableSource:function(e,t,n){df="useMutableSource",Nm(),vf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Nm(),vf(),Df(e,t)},useId:function(){return df="useId",Nm(),vf(),vm()},unstable_isNewReconciler:y};var Pm=t.unstable_now,Im=0,Mm=-1,jm=-1,Lm=-1,Vm=!1,Fm=!1;function zm(){return Vm}function Um(){return Im}function Bm(){Im=Pm()}function $m(e){jm=Pm(),e.actualStartTime<0&&(e.actualStartTime=Pm())}function Wm(e){jm=-1}function Hm(e,t){if(jm>=0){var n=Pm()-jm;e.actualDuration+=n,t&&(e.selfBaseDuration=n),jm=-1}}function qm(e){if(Mm>=0){var t=Pm()-Mm;Mm=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:return void(n.stateNode.effectDuration+=t);case u:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Gm(e){if(Lm>=0){var t=Pm()-Lm;Lm=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t));case u:var o=n.stateNode;return void(null!==o&&(o.passiveEffectDuration+=t))}n=n.return}}}function Ym(){Mm=Pm()}function Km(){Lm=Pm()}function Xm(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Qm(e,t){if(e&&e.defaultProps){var n=xe({},t),r=e.defaultProps;for(var o in r)void 0===n[o]&&(n[o]=r[o]);return n}return t}var Jm,Zm,eh,th,nh,rh,oh,ah,ih,sh,lh,uh={};Jm=new Set,Zm=new Set,eh=new Set,th=new Set,ah=new Set,nh=new Set,ih=new Set,sh=new Set,lh=new Set;var ch=new Set;function dh(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(8&e.mode){Qr(!0);try{a=n(r,o)}finally{Qr(!1)}}rh(t,a);var i=null==a?o:xe({},o,a);(e.memoizedState=i,0===e.lanes)&&(e.updateQueue.baseState=i)}oh=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;ch.has(n)||(ch.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},rh=function(e,t){if(void 0===t){var n=je(e)||"Component";nh.has(n)||(nh.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(uh,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(uh);var ph={isMounted:function(e){var t=Sr.current;if(null!==t&&1===t.tag){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||a("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ve(n)||"A component"),r._warnedAboutRefsInRender=!0}var o=er(e);return!!o&&Er(o)===o},enqueueSetState:function(e,t,n){var r=er(e),o=Lb(),a=Vb(r),i=wp(o,a);i.payload=t,null!=n&&(oh(n,"setState"),i.callback=n);var s=xp(r,i,a);null!==s&&(zb(s,r,a,o),_p(s,r,a)),vo(r,a)},enqueueReplaceState:function(e,t,n){var r=er(e),o=Lb(),a=Vb(r),i=wp(o,a);i.tag=1,i.payload=t,null!=n&&(oh(n,"replaceState"),i.callback=n);var s=xp(r,i,a);null!==s&&(zb(s,r,a,o),_p(s,r,a)),vo(r,a)},enqueueForceUpdate:function(e,t){var n=er(e),r=Lb(),o=Vb(n),a=wp(r,o);a.tag=vp,null!=t&&(oh(t,"forceUpdate"),a.callback=t);var i=xp(n,a,o);null!==i&&(zb(i,n,o,r),_p(i,n,o)),function(e,t){null!==Yr&&"function"==typeof Yr.markForceUpdateScheduled&&Yr.markForceUpdateScheduled(e,t)}(n,o)}};function fh(e,t,n,r,o,i,s){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){var u=l.shouldComponentUpdate(r,i,s);if(8&e.mode){Qr(!0);try{u=l.shouldComponentUpdate(r,i,s)}finally{Qr(!1)}}return void 0===u&&a("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",je(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!Rs(n,r)||!Rs(o,i))}function mh(e,t){var n;t.updater=ph,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=uh}function hh(e,t,n){var r=!1,o=cc,i=cc,s=t.contextType;if("contextType"in t&&(!(null===s||void 0!==s&&s.$$typeof===ae&&void 0===s._context)&&!sh.has(t))){sh.add(t);var l="";l=void 0===s?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof s?" However, it is set to a "+typeof s+".":s.$$typeof===oe?" Did you accidentally pass the Context.Provider instead?":void 0!==s._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",je(t)||"Component",l)}if("object"==typeof s&&null!==s)i=ip(s);else{o=mc(0,t,!0);var u=t.contextTypes;i=(r=null!=u)?vc(e,o):cc}var c=new t(n,i);if(8&e.mode){Qr(!0);try{c=new t(n,i)}finally{Qr(!1)}}var d=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(mh(e,c),"function"==typeof t.getDerivedStateFromProps&&null===d){var p=je(t)||"Component";Zm.has(p)||(Zm.add(p),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",p,null===c.state?"null":"undefined",p))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var f=null,m=null,h=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?f="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(f="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?m="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(m="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?h="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(h="UNSAFE_componentWillUpdate"),null!==f||null!==m||null!==h){var v=je(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";th.has(v)||(th.add(v),a("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",v,g,null!==f?"\n "+f:"",null!==m?"\n "+m:"",null!==h?"\n "+h:""))}}return r&&hc(e,o,i),c}function vh(e,t,n,r){var o=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o){var i=Ve(e)||"Component";Jm.has(i)||(Jm.add(i),a("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),ph.enqueueReplaceState(t,t.state,null)}}function gh(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=je(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),r.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),!t.childContextTypes||lh.has(t)||8&e.mode||(lh.add(t),a("%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead\n\n.Learn more about this warning here: https://reactjs.org/link/legacy-context",o)),!t.contextTypes||lh.has(t)||8&e.mode||(lh.add(t),a("%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)),r.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!ih.has(t)&&(ih.add(t),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",je(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof r.componentWillRecieveProps&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var i=r.props!==n;void 0!==r.props&&i&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),r.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||eh.has(t)||(eh.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",je(t))),"function"==typeof r.getDerivedStateFromProps&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var s=r.state;s&&("object"!=typeof s||wt(s))&&a("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}(e,t,n);var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},bp(e);var i=t.contextType;if("object"==typeof i&&null!==i)o.context=ip(i);else{var s=mc(0,t,!0);o.context=vc(e,s)}if(o.state===n){var l=je(t)||"Component";ah.has(l)||(ah.add(l),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",l))}8&e.mode&&xd.recordLegacyContextWarning(e,o),xd.recordUnsafeLifecycleWarnings(e,o),o.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(dh(e,t,u,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(!function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ve(e)||"Component"),ph.enqueueReplaceState(t,t.state,null))}(e,o),kp(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=4;c|=hr,0!==(e.mode&go)&&(c|=vr),e.flags|=c}}function bh(e,t){return{value:e,source:t,stack:Ie(t),digest:null}}function yh(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function wh(e,t){try{0;var n=t.value,r=t.source,o=t.stack,a=null!==o?o:"";if(null!=n&&n._suppressLogging){if(1===e.tag)return;console.error(n)}var i=r?Ve(r):null,s=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+a+"\n\n"+(3===e.tag?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(Ve(e)||"Anonymous")+".");console.error(s)}catch(rx){setTimeout(function(){throw rx})}}var xh="function"==typeof WeakMap?WeakMap:Map;function _h(e,t,n){var r=wp(ea,n);r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){py(o),wh(e,t)},r}function Sh(e,t,n){var r=wp(ea,n);r.tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var i=t.value;r.payload=function(){return o(i)},r.callback=function(){Fy(e),wh(e,t)}}var s=e.stateNode;return null!==s&&"function"==typeof s.componentDidCatch&&(r.callback=function(){var n;Fy(e),wh(e,t),"function"!=typeof o&&(n=this,null===yb?yb=new Set([n]):yb.add(n));var r=t.value,i=t.stack;this.componentDidCatch(r,{componentStack:null!==i?i:""}),"function"!=typeof o&&(va(e.lanes,_o)||a("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ve(e)||"Unknown"))}),r}function Eh(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new xh,r=new Set,o.set(t,r)):void 0===(r=o.get(t))&&(r=new Set,o.set(t,r)),!r.has(n)){r.add(n);var a=hy.bind(null,e,t,n);Xr&&Cy(e,n),t.then(a,a)}}function kh(e){var t=e;do{if(t.tag===c&&Gp(t))return t;t=t.return}while(null!==t);return null}function Ch(e,t,n,r,o){if(!(1&e.mode)){if(e===t)e.flags|=dr;else{if(e.flags|=nr,n.flags|=pr,n.flags&=-52805,1===n.tag)if(null===n.alternate)n.tag=f;else{var a=wp(ea,_o);a.tag=vp,xp(n,a,_o)}n.lanes=ba(n.lanes,_o)}return e}return e.flags|=dr,e.lanes=o,e}function Th(e,t,n,r,o){if(n.flags|=cr,Xr&&Cy(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r;!function(e){var t=e.tag;if(!(1&e.mode||0!==t&&t!==l&&t!==p)){var n=e.alternate;n?(e.updateQueue=n.updateQueue,e.memoizedState=n.memoizedState,e.lanes=n.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),bd()&&1&n.mode&&Zc();var i=kh(t);if(null!==i)return i.flags&=-257,Ch(i,t,n,0,o),1&i.mode&&Eh(e,a,o),void function(e,t,n){var r=e.updateQueue;if(null===r){var o=new Set;o.add(n),e.updateQueue=o}else r.add(n)}(i,0,a);if(0===(o&_o))return Eh(e,a,o),void ry();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(bd()&&1&n.mode){Zc();var s=kh(t);if(null!==s)return 0===(s.flags&dr)&&(s.flags|=rr),Ch(s,t,n,0,o),void yd(bh(r,n))}!function(e){rb!==Yg&&(rb=qg);null===lb?lb=[e]:lb.push(e)}(r=bh(r,n));var u=t;do{switch(u.tag){case 3:var c=r;u.flags|=dr;var d=fa(o);return u.lanes=ba(u.lanes,d),void Sp(u,_h(u,c,d));case 1:var f=r,m=u.type,h=u.stateNode;if(0===(u.flags&nr)&&("function"==typeof m.getDerivedStateFromError||null!==h&&"function"==typeof h.componentDidCatch&&!dy(h))){u.flags|=dr;var v=fa(o);return u.lanes=ba(u.lanes,v),void Sp(u,Sh(u,f,v))}}u=u.return}while(null!==u)}var Ah,Rh,Oh,Dh,Nh,Ph,Ih,Mh,jh,Lh=n.ReactCurrentOwner,Vh=!1;function Fh(e,t,n,r){t.child=null===e?Wd(t,null,n,r):$d(t,e.child,n,r)}function zh(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&nc(a,r,"prop",je(n))}var i,s,l=n.render,u=t.ref;if(ap(t,o),to(t),Lh.current=t,qe(!0),i=wf(e,t,l,r,u,o),s=xf(),8&t.mode){Qr(!0);try{i=wf(e,t,l,r,u,o),s=xf()}finally{Qr(!1)}}return qe(!1),no(),null===e||Vh?(bd()&&s&&Wc(t),t.flags|=1,Fh(e,t,i,o),t.child):(_f(e,t,o),gv(e,t,o))}function Uh(e,t,n,r,o){if(null===e){var i=n.type;if(function(e){return"function"==typeof e&&!Yy(e)&&void 0===e.defaultProps}(i)&&null===n.compare&&void 0===n.defaultProps){var s;return s=My(i),t.tag=p,t.type=s,Qh(t,i),Bh(e,t,s,r,o)}var l=i.propTypes;if(l&&nc(l,r,"prop",je(i)),void 0!==n.defaultProps){var u=je(i)||"Unknown";jh[u]||(a("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),jh[u]=!0)}var c=Qy(n.type,null,r,t,t.mode,o);return c.ref=t.ref,c.return=t,t.child=c,c}var d=n.type,f=d.propTypes;f&&nc(f,r,"prop",je(d));var m=e.child;if(!bv(e,o)){var h=m.memoizedProps,v=n.compare;if((v=null!==v?v:Rs)(h,r)&&e.ref===t.ref)return gv(e,t,o)}t.flags|=1;var g=Ky(m,r);return g.ref=t.ref,g.return=t,t.child=g,g}function Bh(e,t,n,r,o){if(t.type!==t.elementType){var a=t.elementType;if(a.$$typeof===ce){var i=a,s=i._payload,l=i._init;try{a=l(s)}catch(d){a=null}var u=a&&a.propTypes;u&&nc(u,r,"prop",je(a))}}if(null!==e){var c=e.memoizedProps;if(Rs(c,r)&&e.ref===t.ref&&t.type===e.type){if(Vh=!1,t.pendingProps=r=c,!bv(e,o))return t.lanes=e.lanes,gv(e,t,o);0!==(e.flags&pr)&&(Vh=!0)}}return Hh(e,t,n,r,o)}function $h(e,t,n){var r,o=t.pendingProps,a=o.children,i=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(1&t.mode){if(!va(n,Jo)){var s;if(null!==i)s=ba(i.baseLanes,n);else s=n;t.lanes=t.childLanes=Jo;var l={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=l,t.updateQueue=null,Xb(t,s),null}var u={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=u,Xb(t,null!==i?i.baseLanes:n)}else{var c={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=c,Xb(t,n)}else null!==i?(r=ba(i.baseLanes,n),t.memoizedState=null):r=n,Xb(t,r);return Fh(e,t,a,n),t.child}function Wh(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=or,t.flags|=mr)}function Hh(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&nc(a,r,"prop",je(n))}var i,s,l;if(i=vc(t,mc(0,n,!0)),ap(t,o),to(t),Lh.current=t,qe(!0),s=wf(e,t,n,r,i,o),l=xf(),8&t.mode){Qr(!0);try{s=wf(e,t,n,r,i,o),l=xf()}finally{Qr(!1)}}return qe(!1),no(),null===e||Vh?(bd()&&l&&Wc(t),t.flags|=1,Fh(e,t,s,o),t.child):(_f(e,t,o),gv(e,t,o))}function qh(e,t,n,r,o){switch(bw(t)){case!1:var i=t.stateNode,s=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,s,null);break;case!0:t.flags|=nr,t.flags|=dr;var l=new Error("Simulated error coming from DevTools"),u=fa(o);t.lanes=ba(t.lanes,u),Sp(t,Sh(t,bh(l,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&nc(c,r,"prop",je(n))}var d,p;bc(n)?(d=!0,Sc(t)):d=!1,ap(t,o),null===t.stateNode?(vv(e,t),hh(t,n,r),gh(t,n,r,o),p=!0):p=null===e?function(e,t,n,r){var o=e.stateNode,a=e.memoizedProps;o.props=a;var i=o.context,s=t.contextType,l=cc;l="object"==typeof s&&null!==s?ip(s):vc(e,mc(0,t,!0));var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===n&&i===l||vh(e,o,n,l),Tp();var d=e.memoizedState,p=o.state=d;if(kp(e,n,o,r),p=e.memoizedState,a===n&&d===p&&!gc()&&!Ap()){if("function"==typeof o.componentDidMount){var f=4;f|=hr,0!==(e.mode&go)&&(f|=vr),e.flags|=f}return!1}"function"==typeof u&&(dh(e,t,u,n),p=e.memoizedState);var m=Ap()||fh(e,t,a,n,d,p,l);if(m){if(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount){var h=4;h|=hr,0!==(e.mode&go)&&(h|=vr),e.flags|=h}}else{if("function"==typeof o.componentDidMount){var v=4;v|=hr,0!==(e.mode&go)&&(v|=vr),e.flags|=v}e.memoizedProps=n,e.memoizedState=p}return o.props=n,o.state=p,o.context=l,m}(t,n,r,o):function(e,t,n,r,o){var a=t.stateNode;yp(e,t);var i=t.memoizedProps,s=t.type===t.elementType?i:Qm(t.type,i);a.props=s;var l=t.pendingProps,u=a.context,c=n.contextType,d=cc;d="object"==typeof c&&null!==c?ip(c):vc(t,mc(0,n,!0));var p=n.getDerivedStateFromProps,f="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===l&&u===d||vh(t,a,r,d),Tp();var m=t.memoizedState,h=a.state=m;if(kp(t,r,a,o),h=t.memoizedState,i===l&&m===h&&!gc()&&!Ap())return"function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=4)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=ar)),!1;"function"==typeof p&&(dh(t,n,p,r),h=t.memoizedState);var v=Ap()||fh(t,n,s,r,m,h,d)||w;return v?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,d),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,d)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=ar)):("function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=4)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&m===e.memoizedState||(t.flags|=ar)),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=d,v}(e,t,n,r,o);var f=Gh(e,t,n,p,d,o),m=t.stateNode;return p&&m.props!==r&&(Ph||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ve(t)||"a component"),Ph=!0),f}function Gh(e,t,n,r,o,a){Wh(e,t);var i=0!==(t.flags&nr);if(!r&&!i)return o&&Ec(t,n,!1),gv(e,t,a);var s,l=t.stateNode;if(Lh.current=t,i&&"function"!=typeof n.getDerivedStateFromError)s=null,Wm();else{if(to(t),qe(!0),s=l.render(),8&t.mode){Qr(!0);try{l.render()}finally{Qr(!1)}}qe(!1),no()}return t.flags|=1,null!==e&&i?function(e,t,n,r){t.child=$d(t,e.child,null,r),t.child=$d(t,null,n,r)}(e,t,s,a):Fh(e,t,s,a),t.memoizedState=l.state,o&&Ec(t,n,!0),t.child}function Yh(e){var t=e.stateNode;t.pendingContext?xc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xc(e,t.context,!1),jp(e,t.containerInfo)}function Kh(e,t,n,r,o){return vd(),yd(o),t.flags|=rr,Fh(e,t,n,r),t.child}function Xh(e,t,n,r){vv(e,t);var o=t.pendingProps,a=n,i=a._payload,s=(0,a._init)(i);t.type=s;var u=t.tag=function(e){if("function"==typeof e)return Yy(e)?1:0;if(null!=e){var t=e.$$typeof;if(t===ie)return l;if(t===ue)return d}return 2}(s),c=Qm(s,o);switch(u){case 0:return Qh(t,s),t.type=s=My(s),Hh(null,t,s,c,r);case 1:return t.type=s=jy(s),qh(null,t,s,c,r);case l:return t.type=s=Ly(s),zh(null,t,s,c,r);case d:if(t.type!==t.elementType){var p=s.propTypes;p&&nc(p,c,"prop",je(s))}return Uh(null,t,s,Qm(s.type,c),r)}var f="";throw null!==s&&"object"==typeof s&&s.$$typeof===ce&&(f=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+s+". Lazy element type must resolve to a class or function."+f)}function Qh(e,t){if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Be();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",i=e._debugSource;i&&(o=i.fileName+":"+i.lineNumber),Nh[o]||(Nh[o]=!0,a("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(void 0!==t.defaultProps){var s=je(t)||"Unknown";jh[s]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",s),jh[s]=!0)}if("function"==typeof t.getDerivedStateFromProps){var l=je(t)||"Unknown";Dh[l]||(a("%s: Function components do not support getDerivedStateFromProps.",l),Dh[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=je(t)||"Unknown";Oh[u]||(a("%s: Function components do not support contextType.",u),Oh[u]=!0)}}Ah={},Rh={},Oh={},Dh={},Nh={},Ph=!1,Ih={},Mh={},jh={};var Jh={dehydrated:null,treeContext:null,retryLane:0};function Zh(e){return{baseLanes:e,cachePool:null,transitions:null}}function ev(e,t,n){var r=t.pendingProps;yw(t)&&(t.flags|=nr);var o=Up.current,i=!1,s=0!==(t.flags&nr);if(s||function(e,t){return(null===t||null!==t.memoizedState)&&Bp(e,2)}(o,e)?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o=o|1),Hp(t,o=$p(o)),null===e){ud(t);var l=t.memoizedState;if(null!==l){var u=l.dehydrated;if(null!==u)return function(e,t){1&e.mode?Nu(t)?e.lanes=ko:e.lanes=Jo:(a("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=_o);return null}(t,u)}var c=r.children,d=r.fallback;if(i){var p=function(e,t,n,r){var o,a,i=e.mode,s=e.child,l={mode:"hidden",children:t};1&i||null===s?(o=nv(l,i),a=Zy(n,i,r,null)):((o=s).childLanes=0,o.pendingProps=l,2&e.mode&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),a=Zy(n,i,r,null));return o.return=e,a.return=e,o.sibling=a,e.child=o,a}(t,c,d,n);return t.child.memoizedState=Zh(n),t.memoizedState=Jh,p}return tv(t,c)}var f=e.memoizedState;if(null!==f){var m=f.dehydrated;if(null!==m)return function(e,t,n,r,o,i,s){if(n){if(t.flags&rr)return t.flags&=-257,ov(e,t,s,yh(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=nr,null;var l=function(e,t,n,r,o){var a=t.mode,i={mode:"visible",children:n},s=nv(i,a),l=Zy(r,a,o,null);l.flags|=2,s.return=t,l.return=t,s.sibling=l,t.child=s,!(1&t.mode)||$d(t,e.child,null,o);return l}(e,t,r.children,r.fallback,s);return t.child.memoizedState=Zh(s),t.memoizedState=Jh,l}if(Xc&&a("We should not be hydrating here. This is a bug in React. Please file a bug."),!(1&t.mode))return ov(e,t,s,null);if(Nu(o)){var u,c,d,p=function(e){var t,n,r,o=e.nextSibling&&e.nextSibling.dataset;return o&&(t=o.dgst,n=o.msg,r=o.stck),{message:n,digest:t,stack:r}}(o);return u=p.digest,c=p.message,d=p.stack,ov(e,t,s,yh(c?new Error(c):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),u,d))}var f=va(s,e.childLanes);if(Vh||f){var m=jb();if(null!==m){var h=function(e,t){var n;switch(pa(t)){case Eo:n=So;break;case Co:n=ko;break;case 64:case 128:case 256:case 512:case Ro:case Oo:case Do:case No:case Po:case Io:case Mo:case jo:case Lo:case Vo:case Fo:case zo:case Bo:case $o:case Wo:case Ho:case qo:n=To;break;case Qo:n=Xo;break;default:n=0}return 0!==(n&(e.suspendedLanes|t))?0:n}(m,s);if(0!==h&&h!==i.retryLane){i.retryLane=h;var v=ea;cp(e,h),zb(m,e,h,v)}}return ry(),ov(e,t,s,yh(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(Du(o)){t.flags|=nr,t.child=e.child;var g=gy.bind(null,e);return y=g,o._reactRetry=y,null}td(t,o,i.treeContext);var b=tv(t,r.children);return b.flags|=sr,b;var y}(e,t,s,r,m,f,n)}if(i){var h=r.fallback,v=function(e,t,n,r,o){var a,i,s=t.mode,l=e.child,u=l.sibling,c={mode:"hidden",children:n};if(1&s||t.child===l)(a=rv(l,c)).subtreeFlags=l.subtreeFlags&_r;else{(a=t.child).childLanes=0,a.pendingProps=c,2&t.mode&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=l.selfBaseDuration,a.treeBaseDuration=l.treeBaseDuration),t.deletions=null}null!==u?i=Ky(u,r):(i=Zy(r,s,o,null)).flags|=2;return i.return=t,a.return=t,a.sibling=i,t.child=a,i}(e,t,r.children,h,n),g=t.child,b=e.child.memoizedState;return g.memoizedState=null===b?Zh(n):function(e,t){return{baseLanes:ba(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(b,n),g.childLanes=function(e,t){return ya(e.childLanes,t)}(e,n),t.memoizedState=Jh,v}var y=function(e,t,n,r){var o=e.child,a=o.sibling,i=rv(o,{mode:"visible",children:n});1&t.mode||(i.lanes=r);if(i.return=t,i.sibling=null,null!==a){var s=t.deletions;null===s?(t.deletions=[a],t.flags|=tr):s.push(a)}return t.child=i,i}(e,t,r.children,n);return t.memoizedState=null,y}function tv(e,t,n){var r=nv({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function nv(e,t,n){return ew(e,t,0,null)}function rv(e,t){return Ky(e,t)}function ov(e,t,n,r){null!==r&&yd(r),$d(t,e.child,null,n);var o=tv(t,t.pendingProps.children);return o.flags|=2,t.memoizedState=null,o}function av(e,t,n){e.lanes=ba(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=ba(r.lanes,t)),rp(e.return,t,n)}function iv(e,t){var n=wt(e),r=!n&&"function"==typeof fe(e);if(n||r){var o=n?"array":"iterable";return a("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function sv(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function lv(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail,s=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Ih[e])if(Ih[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":a('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":a('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:a('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else a('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||Mh[e]||("collapsed"!==e&&"hidden"!==e?(Mh[e]=!0,a('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Mh[e]=!0,a('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(wt(e)){for(var n=0;n<e.length;n++)if(!iv(e[n],n))return}else{var r=fe(e);if("function"==typeof r){var o=r.call(e);if(o)for(var i=o.next(),s=0;!i.done;i=o.next()){if(!iv(i.value,s))return;s++}}else a('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(s,o),Fh(e,t,s,n);var l=Up.current;Bp(l,2)?(l=Wp(l,2),t.flags|=nr):(null!==e&&0!==(e.flags&nr)&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===c)null!==r.memoizedState&&av(r,n,e);else if(r.tag===h)av(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),l=$p(l));if(Hp(t,l),1&t.mode)switch(o){case"forwards":var u,d=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Yp(r)&&(n=t),t=t.sibling}return n}(t.child);null===d?(u=t.child,t.child=null):(u=d.sibling,d.sibling=null),sv(t,!1,u,d,i);break;case"backwards":var p=null,f=t.child;for(t.child=null;null!==f;){var m=f.alternate;if(null!==m&&null===Yp(m)){t.child=f;break}var v=f.sibling;f.sibling=p,p=f,f=v}sv(t,!0,p,null,i);break;case"together":sv(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}var uv=!1;var cv,dv,pv,fv,mv=!1;function hv(){Vh=!0}function vv(e,t){1&t.mode||null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gv(e,t,n){return null!==e&&(t.dependencies=e.dependencies),Wm(),ny(t.lanes),va(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=Ky(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=Ky(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function bv(e,t){return!!va(e.lanes,t)}function yv(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.deletions;return null===a?(r.deletions=[e],r.flags|=tr):a.push(e),n.flags|=2,n}(e,t,Qy(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||gc()||t.type!==e.type)Vh=!0;else{if(!bv(e,n)&&0===(t.flags&nr))return Vh=!1,function(e,t,n){switch(t.tag){case 3:Yh(t),t.stateNode,vd();break;case 5:Fp(t);break;case 1:bc(t.type)&&Sc(t);break;case 4:jp(t,t.stateNode.containerInfo);break;case s:var r=t.memoizedProps.value;tp(t,t.type._context,r);break;case u:va(n,t.childLanes)&&(t.flags|=4);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case c:var a=t.memoizedState;if(null!==a){if(null!==a.dehydrated)return Hp(t,$p(Up.current)),t.flags|=nr,null;if(va(n,t.child.childLanes))return ev(e,t,n);Hp(t,$p(Up.current));var i=gv(e,t,n);return null!==i?i.sibling:null}Hp(t,$p(Up.current));break;case h:var l=0!==(e.flags&nr),d=va(n,t.childLanes);if(l){if(d)return lv(e,t,n);t.flags|=nr}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),Hp(t,Up.current),d)break;return null;case g:case b:return t.lanes=0,$h(e,t,n)}return gv(e,t,n)}(e,t,n);Vh=0!==(e.flags&pr)}else if(Vh=!1,bd()&&function(e){return Gc(),0!==(e.flags&fr)}(t)){var r=t.index;$c(t,(Gc(),Mc),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){vv(e,t);var o,i,s,l=t.pendingProps;if(o=vc(t,mc(0,n,!1)),ap(t,r),to(t),n.prototype&&"function"==typeof n.prototype.render){var u=je(n)||"Unknown";Ah[u]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),Ah[u]=!0)}if(8&t.mode&&xd.recordLegacyContextWarning(t,null),qe(!0),Lh.current=t,i=wf(null,t,n,l,o,r),s=xf(),qe(!1),no(),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var c=je(n)||"Unknown";Rh[c]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),Rh[c]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var d=je(n)||"Unknown";Rh[d]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",d,d,d),Rh[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var p=!1;return bc(n)?(p=!0,Sc(t)):p=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,bp(t),mh(t,i),gh(t,n,l,r),Gh(null,t,n,!0,p,r)}if(t.tag=0,8&t.mode){Qr(!0);try{i=wf(null,t,n,l,o,r),s=xf()}finally{Qr(!1)}}return bd()&&s&&Wc(t),Fh(null,t,i,r),Qh(t,n),t.child}(e,t,t.type,n);case 16:return Xh(e,t,t.elementType,n);case 0:var o=t.type,i=t.pendingProps;return Hh(e,t,o,t.elementType===o?i:Qm(o,i),n);case 1:var m=t.type,y=t.pendingProps;return qh(e,t,m,t.elementType===m?y:Qm(m,y),n);case 3:return function(e,t,n){if(Yh(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,o=t.memoizedState,a=o.element;yp(e,t),kp(t,r,null,n);var i=t.memoizedState;t.stateNode;var s=i.element;if(o.isDehydrated){var l={element:s,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=l,t.memoizedState=l,t.flags&rr)return Kh(e,t,s,n,bh(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(s!==a)return Kh(e,t,s,n,bh(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));ed(t);var u=Wd(t,null,s,n);t.child=u;for(var c=u;c;)c.flags=-3&c.flags|sr,c=c.sibling}else{if(vd(),s===a)return gv(e,t,n);Fh(e,t,s,n)}return t.child}(e,t,n);case 5:return function(e,t,n){Fp(t),null===e&&ud(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return bu(r,o)?i=null:null!==a&&bu(r,a)&&(t.flags|=32),Wh(e,t),Fh(e,t,i,n),t.child}(e,t,n);case 6:return function(e,t){return null===e&&ud(t),null}(e,t);case c:return ev(e,t,n);case 4:return function(e,t,n){jp(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=$d(t,null,r,n):Fh(e,t,r,n),t.child}(e,t,n);case l:var w=t.type,x=t.pendingProps;return zh(e,t,w,t.elementType===w?x:Qm(w,x),n);case 7:return function(e,t,n){return Fh(e,t,t.pendingProps,n),t.child}(e,t,n);case 8:return function(e,t,n){return Fh(e,t,t.pendingProps.children,n),t.child}(e,t,n);case u:return function(e,t,n){t.flags|=4;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,Fh(e,t,t.pendingProps.children,n),t.child}(e,t,n);case s:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value;"value"in o||uv||(uv=!0,a("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var l=t.type.propTypes;if(l&&nc(l,o,"prop","Context.Provider"),tp(t,r,s),null!==i){var u=i.value;if(As(u,s)){if(i.children===o.children&&!gc())return gv(e,t,n)}else op(t,r,n)}return Fh(e,t,o.children,n),t.child}(e,t,n);case 9:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(mv||(mv=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps.children;"function"!=typeof o&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ap(t,n);var i,s=ip(r);return to(t),Lh.current=t,qe(!0),i=o(s),qe(!1),no(),t.flags|=1,Fh(e,t,i,n),t.child}(e,t,n);case d:var _=t.type,S=Qm(_,t.pendingProps);if(t.type!==t.elementType){var E=_.propTypes;E&&nc(E,S,"prop",je(_))}return Uh(e,t,_,S=Qm(_.type,S),n);case p:return Bh(e,t,t.type,t.pendingProps,n);case f:var k=t.type,C=t.pendingProps;return function(e,t,n,r,o){var a;return vv(e,t),t.tag=1,bc(n)?(a=!0,Sc(t)):a=!1,ap(t,o),hh(t,n,r),gh(t,n,r,o),Gh(null,t,n,!0,a,o)}(e,t,k,t.elementType===k?C:Qm(k,C),n);case h:return lv(e,t,n);case v:break;case g:return $h(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function wv(e){e.flags|=4}function xv(e){e.flags|=or,e.flags|=mr}function _v(e,t){if(!bd())switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Sv(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t){if(2&e.mode){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n=ba(n,ba(a.lanes,a.childLanes)),r|=a.subtreeFlags&_r,r|=a.flags&_r,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(var i=e.child;null!==i;)n=ba(n,ba(i.lanes,i.childLanes)),r|=i.subtreeFlags&_r,r|=i.flags&_r,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if(2&e.mode){for(var s=e.actualDuration,l=e.selfBaseDuration,u=e.child;null!==u;)n=ba(n,ba(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,s+=u.actualDuration,l+=u.treeBaseDuration,u=u.sibling;e.actualDuration=s,e.treeBaseDuration=l}else for(var c=e.child;null!==c;)n=ba(n,ba(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function Ev(e,t,n){if(Xc&&null!==Kc&&1&t.mode&&0===(t.flags&nr))return hd(t),vd(),t.flags|=98560,!1;var r=md(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(dd(t),Sv(t),2&t.mode)if(null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(vd(),0===(t.flags&nr)&&(t.memoizedState=null),t.flags|=4,Sv(t),2&t.mode&&null!==n){var a=t.child;null!==a&&(t.treeBaseDuration-=a.treeBaseDuration)}return!1}return gd(),!0}function kv(e,t,n){var r=t.pendingProps;switch(qc(t),t.tag){case 2:case 16:case p:case 0:case l:case 7:case 8:case u:case 9:case d:return Sv(t),null;case 1:return bc(t.type)&&yc(t),Sv(t),null;case 3:var o=t.stateNode;if(Lp(t),wc(t),Xp(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)if(md(t))wv(t);else if(null!==e)e.memoizedState.isDehydrated&&0===(t.flags&rr)||(t.flags|=ar,gd());return dv(e,t),Sv(t),null;case 5:zp(t);var a=Mp(),i=t.type;if(null!==e&&null!=t.stateNode)pv(e,t,i,r,a),e.ref!==t.ref&&xv(t);else{if(!r){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Sv(t),null}var m=Vp();if(md(t))(function(e,t,n){var r=e.stateNode,o=!Qc,a=Mu(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=a,null!==a})(t,0,m)&&wv(t);else{var y=vu(i,r,a,m,t);cv(y,t,!1,!1),t.stateNode=y,function(e,t,n){switch(ql(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(y,i,r)&&wv(t)}null!==t.ref&&xv(t)}return Sv(t),null;case 6:var w=r;if(e&&null!=t.stateNode){var x=e.memoizedProps;fv(e,t,x,w)}else{if("string"!=typeof w&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var _=Mp(),S=Vp();md(t)?cd(t)&&wv(t):t.stateNode=yu(w,_,S,t)}return Sv(t),null;case c:qp(t);var E=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Ev(e,t,E))return t.flags&dr?t:null;if(0!==(t.flags&nr))return t.lanes=n,2&t.mode&&Xm(t),t;var k=null!==E;if(k!==(null!==e&&null!==e.memoizedState))if(k)if(t.child.flags|=lr,1&t.mode)null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!0)||Bp(Up.current,1)?rb===Wg&&(rb=Gg):ry();if(null!==t.updateQueue&&(t.flags|=4),Sv(t),2&t.mode&&k){var C=t.child;null!==C&&(t.treeBaseDuration-=C.treeBaseDuration)}return null;case 4:return Lp(t),dv(e,t),null===e&&vl(t.stateNode.containerInfo),Sv(t),null;case s:return np(t.type._context,t),Sv(t),null;case f:return bc(t.type)&&yc(t),Sv(t),null;case h:qp(t);var T=t.memoizedState;if(null===T)return Sv(t),null;var A=0!==(t.flags&nr),R=T.rendering;if(null===R)if(A)_v(T,!1);else{if(!(rb===Wg&&(null===e||0===(e.flags&nr))))for(var O=t.child;null!==O;){var D=Yp(O);if(null!==D){A=!0,t.flags|=nr,_v(T,!1);var N=D.updateQueue;return null!==N&&(t.updateQueue=N,t.flags|=4),t.subtreeFlags=0,Hd(t,n),Hp(t,Wp(Up.current,2)),t.child}O=O.sibling}null!==T.tail&&Lr()>vb()&&(t.flags|=nr,A=!0,_v(T,!1),t.lanes=Go)}else{if(!A){var P=Yp(R);if(null!==P){t.flags|=nr,A=!0;var I=P.updateQueue;if(null!==I&&(t.updateQueue=I,t.flags|=4),_v(T,!0),null===T.tail&&"hidden"===T.tailMode&&!R.alternate&&!bd())return Sv(t),null}else 2*Lr()-T.renderingStartTime>vb()&&n!==Jo&&(t.flags|=nr,A=!0,_v(T,!1),t.lanes=Go)}if(T.isBackwards)R.sibling=t.child,t.child=R;else{var M=T.last;null!==M?M.sibling=R:t.child=R,T.last=R}}if(null!==T.tail){var j=T.tail;T.rendering=j,T.tail=j.sibling,T.renderingStartTime=Lr(),j.sibling=null;var L=Up.current;return Hp(t,L=A?Wp(L,2):$p(L)),j}return Sv(t),null;case v:break;case g:case b:Qb(t);var V=null!==t.memoizedState;if(null!==e)null!==e.memoizedState!==V&&(t.flags|=lr);return V&&1&t.mode?va(tb,Jo)&&(Sv(t),6&t.subtreeFlags&&(t.flags|=lr)):Sv(t),null;case 24:case 25:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Cv(e,t,n){switch(qc(t),t.tag){case 1:bc(t.type)&&yc(t);var r=t.flags;return r&dr?(t.flags=-65537&r|nr,2&t.mode&&Xm(t),t):null;case 3:t.stateNode,Lp(t),wc(t),Xp();var o=t.flags;return 0!==(o&dr)&&0===(o&nr)?(t.flags=-65537&o|nr,t):null;case 5:return zp(t),null;case c:qp(t);var a=t.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vd()}var i=t.flags;return i&dr?(t.flags=-65537&i|nr,2&t.mode&&Xm(t),t):null;case h:return qp(t),null;case 4:return Lp(t),null;case s:return np(t.type._context,t),null;case g:case b:return Qb(t),null;default:return null}}function Tv(e,t,n){switch(qc(t),t.tag){case 1:var r=t.type.childContextTypes;null!=r&&yc(t);break;case 3:t.stateNode,Lp(t),wc(t),Xp();break;case 5:zp(t);break;case 4:Lp(t);break;case c:case h:qp(t);break;case s:np(t.type._context,t);break;case g:case b:Qb(t)}}cv=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag||6===o.tag)gu(e,o.stateNode);else if(4===o.tag);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)return;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},dv=function(e,t){},pv=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i=function(e,t,n,r,o,a){var i=a;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var s=""+r.children,l=tu(i.ancestorInfo,t);eu(null,s,l)}return Gl(e,t,n,r)}(t.stateNode,n,a,r,0,Vp());t.updateQueue=i,i&&wv(t)}},fv=function(e,t,n,r){n!==r&&wv(t)};var Av=null;Av=new Set;var Rv=!1,Ov=!1,Dv="function"==typeof WeakSet?WeakSet:Set,Nv=null,Pv=null,Iv=null;var Mv=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{Ym(),t.componentWillUnmount()}finally{qm(e)}else t.componentWillUnmount()};function jv(e,t){try{qv(4,e)}catch(n){my(e,t,n)}}function Lv(e,t,n){try{Mv(e,n)}catch(r){my(e,t,r)}}function Vv(e,t){try{Xv(e)}catch(n){my(e,t,n)}}function Fv(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(2&e.mode)try{Ym(),r=n(null)}finally{qm(e)}else r=n(null)}catch(o){my(e,t,o)}"function"==typeof r&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else n.current=null}function zv(e,t,n){try{n()}catch(r){my(e,t,r)}}var Uv=!1;function Bv(e,t){hu(e.containerInfo),Nv=t,function(){for(;null!==Nv;){var e=Nv,t=e.child;0!==(e.subtreeFlags&br)&&null!==t?(t.return=e,Nv=t):$v()}}();var n=Uv;return Uv=!1,n}function $v(){for(;null!==Nv;){var e=Nv;He(e);try{Wv(e)}catch(n){my(e,e.return,n)}We();var t=e.sibling;if(null!==t)return t.return=e.return,void(Nv=t);Nv=e.return}}function Wv(e){var t,n=e.alternate;if(0!==(e.flags&ar)){switch(He(e),e.tag){case 0:case l:case p:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode;e.type!==e.elementType||Ph||(i.props!==e.memoizedProps&&a("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(e)||"instance"),i.state!==e.memoizedState&&a("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(e)||"instance"));var s=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:Qm(e.type,r),o),u=Av;void 0!==s||u.has(e.type)||(u.add(e.type),a("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ve(e))),i.__reactInternalSnapshotBeforeUpdate=s}break;case 3:var c=e.stateNode;1===(t=c.containerInfo).nodeType?t.textContent="":9===t.nodeType&&t.documentElement&&t.removeChild(t.documentElement);break;case 5:case 6:case 4:case f:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}We()}}function Hv(e,t,n){var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next,i=a;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,void 0!==s&&(8&e?ao(t):4&e&&uo(t),2&e&&Dy(!0),zv(t,n,s),2&e&&Dy(!1),8&e?io():4&e&&co())}i=i.next}while(i!==a)}}function qv(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,i=o;do{if((i.tag&e)===e){8&e?ro(t):4&e&&so(t);var s=i.create;2&e&&Dy(!0),i.destroy=s(),2&e&&Dy(!1),8&e?oo():4&e&&lo();var l=i.destroy;if(void 0!==l&&"function"!=typeof l){var u=void 0;a("%s must not return anything besides a function, which is used for clean-up.%s",u=4&i.tag?"useLayoutEffect":2&i.tag?"useInsertionEffect":"useEffect",null===l?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof l.then?"\n\nIt looks like you wrote "+u+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+u+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+l)}}i=i.next}while(i!==o)}}function Gv(e,t){if(4&t.flags&&t.tag===u){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,a=r.onPostCommit,i=Um(),s=null===t.alternate?"mount":"update";zm()&&(s="nested-update"),"function"==typeof a&&a(o,s,n,i);var l=t.return;e:for(;null!==l;){switch(l.tag){case 3:l.stateNode.passiveEffectDuration+=n;break e;case u:l.stateNode.passiveEffectDuration+=n;break e}l=l.return}}}function Yv(e,t,n,r){if(0!==(n.flags&wr))switch(n.tag){case 0:case l:case p:if(!Ov)if(2&n.mode)try{Ym(),qv(5,n)}finally{qm(n)}else qv(5,n);break;case 1:var o=n.stateNode;if(4&n.flags&&!Ov)if(null===t)if(n.type!==n.elementType||Ph||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(n)||"instance")),2&n.mode)try{Ym(),o.componentDidMount()}finally{qm(n)}else o.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Qm(n.type,t.memoizedProps),s=t.memoizedState;if(n.type!==n.elementType||Ph||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(n)||"instance")),2&n.mode)try{Ym(),o.componentDidUpdate(i,s,o.__reactInternalSnapshotBeforeUpdate)}finally{qm(n)}else o.componentDidUpdate(i,s,o.__reactInternalSnapshotBeforeUpdate)}var d=n.updateQueue;null!==d&&(n.type!==n.elementType||Ph||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(n)||"instance")),Rp(0,d,o));break;case 3:var m=n.updateQueue;if(null!==m){var y=null;if(null!==n.child)switch(n.child.tag){case 5:case 1:y=n.child.stateNode}Rp(0,m,y)}break;case 5:var w=n.stateNode;if(null===t&&4&n.flags)!function(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(w,n.type,n.memoizedProps);break;case 6:case 4:break;case u:var x=n.memoizedProps,_=x.onCommit,S=x.onRender,E=n.stateNode.effectDuration,k=Um(),C=null===t?"mount":"update";zm()&&(C="nested-update"),"function"==typeof S&&S(n.memoizedProps.id,C,n.actualDuration,n.treeBaseDuration,n.actualStartTime,k),"function"==typeof _&&_(n.memoizedProps.id,C,E,k),A=n,Sb.push(A),wb||(wb=!0,Ay(Ur,function(){return cy(),null}));var T=n.return;e:for(;null!==T;){switch(T.tag){case 3:T.stateNode.effectDuration+=E;break e;case u:T.stateNode.effectDuration+=E;break e}T=T.return}break;case c:!function(e,t){var n=t.memoizedState;if(null===n){var r=t.alternate;if(null!==r){var o=r.memoizedState;if(null!==o){var a=o.dehydrated;null!==a&&function(e){ai(e)}(a)}}}}(0,n);break;case h:case f:case v:case g:case b:case 25:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var A;Ov||n.flags&or&&Xv(n)}function Kv(e){switch(e.tag){case 0:case l:case p:if(2&e.mode)try{Ym(),jv(e,e.return)}finally{qm(e)}else jv(e,e.return);break;case 1:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(r){my(e,t,r)}}(e,e.return,t),Vv(e,e.return);break;case 5:Vv(e,e.return)}}function Xv(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,n=r,"function"==typeof t){var o;if(2&e.mode)try{Ym(),o=t(n)}finally{qm(e)}else o=t(n);"function"==typeof o&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else t.hasOwnProperty("current")||a("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ve(e)),t.current=n}}function Qv(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,Qv(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag){var r=e.stateNode;null!==r&&(delete(t=r)[Vu],delete t[Fu],delete t[Uu],delete t[Bu],delete t[$u])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Jv(e){return 5===e.tag||3===e.tag||4===e.tag}function Zv(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Jv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&t.tag!==m;){if(2&t.flags)continue e;if(null===t.child||4===t.tag)continue e;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function eg(e){var t=function(e){for(var t=e.return;null!==t;){if(Jv(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case 5:var n=t.stateNode;32&t.flags&&(ku(n),t.flags&=-33),ng(e,Zv(e),n);break;case 3:case 4:var r=t.stateNode.containerInfo;tg(e,Zv(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function tg(e,t,n){var r=e.tag;if(5===r||6===r){var o=e.stateNode;t?function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,o,t):function(e,t){var n;8===e.nodeType?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Hl(n)}(n,o)}else if(4===r);else{var a=e.child;if(null!==a){tg(a,t,n);for(var i=a.sibling;null!==i;)tg(i,t,n),i=i.sibling}}}function ng(e,t,n){var r=e.tag;if(5===r||6===r){var o=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,o,t):function(e,t){e.appendChild(t)}(n,o)}else if(4===r);else{var a=e.child;if(null!==a){ng(a,t,n);for(var i=a.sibling;null!==i;)ng(i,t,n),i=i.sibling}}}var rg=null,og=!1;function ag(e,t,n){var r,o,a=t;e:for(;null!==a;){switch(a.tag){case 5:rg=a.stateNode,og=!1;break e;case 3:case 4:rg=a.stateNode.containerInfo,og=!0;break e}a=a.return}if(null===rg)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");sg(e,t,n),rg=null,og=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function ig(e,t,n){for(var r=n.child;null!==r;)sg(e,t,r),r=r.sibling}function sg(e,t,n){switch(function(e){if(Gr&&"function"==typeof Gr.onCommitFiberUnmount)try{Gr.onCommitFiberUnmount(qr,e)}catch(t){Kr||(Kr=!0,a("React instrumentation encountered an error: %s",t))}}(n),n.tag){case 5:Ov||Fv(n,t);case 6:var r=rg,o=og;return rg=null,ig(e,t,n),og=o,void(null!==(rg=r)&&(og?(S=rg,E=n.stateNode,8===S.nodeType?S.parentNode.removeChild(E):S.removeChild(E)):function(e,t){e.removeChild(t)}(rg,n.stateNode)));case m:return void(null!==rg&&(og?function(e,t){8===e.nodeType?Cu(e.parentNode,t):1===e.nodeType&&Cu(e,t),ai(e)}(rg,n.stateNode):Cu(rg,n.stateNode)));case 4:var i=rg,s=og;return rg=n.stateNode.containerInfo,og=!0,ig(e,t,n),rg=i,void(og=s);case 0:case l:case d:case p:if(!Ov){var u=n.updateQueue;if(null!==u){var c=u.lastEffect;if(null!==c){var f=c.next,h=f;do{var b=h,y=b.destroy,w=b.tag;void 0!==y&&(2&w?zv(n,t,y):4&w&&(uo(n),2&n.mode?(Ym(),zv(n,t,y),qm(n)):zv(n,t,y),co())),h=h.next}while(h!==f)}}}return void ig(e,t,n);case 1:if(!Ov){Fv(n,t);var x=n.stateNode;"function"==typeof x.componentWillUnmount&&Lv(n,t,x)}return void ig(e,t,n);case v:return void ig(e,t,n);case g:if(1&n.mode){var _=Ov;Ov=_||null!==n.memoizedState,ig(e,t,n),Ov=_}else ig(e,t,n);break;default:return void ig(e,t,n)}var S,E}function lg(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Dv),t.forEach(function(t){var r=by.bind(null,e,t);if(!n.has(t)){if(n.add(t),Xr){if(null===Pv||null===Iv)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Cy(Iv,Pv)}t.then(r,r)}})}}function ug(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{ag(e,t,a)}catch(l){my(a,t,l)}}var i=ze;if(t.subtreeFlags&yr)for(var s=t.child;null!==s;)He(s),cg(s,e),s=s.sibling;He(i)}function cg(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case l:case d:case p:if(ug(t,e),dg(e),4&o){try{Hv(3,e,e.return),qv(3,e)}catch(O){my(e,e.return,O)}if(2&e.mode){try{Ym(),Hv(5,e,e.return)}catch(O){my(e,e.return,O)}qm(e)}else try{Hv(5,e,e.return)}catch(O){my(e,e.return,O)}}return;case 1:return ug(t,e),dg(e),void(o&or&&null!==r&&Fv(r,r.return));case 5:if(ug(t,e),dg(e),o&or&&null!==r&&Fv(r,r.return),32&e.flags){var a=e.stateNode;try{ku(a)}catch(O){my(e,e.return,O)}}if(4&o){var i=e.stateNode;if(null!=i){var s=e.memoizedProps,u=null!==r?r.memoizedProps:s,f=e.type,m=e.updateQueue;if(e.updateQueue=null,null!==m)try{!function(e,t,n,r,o){Yl(e,t,n,r,o),Ju(e,o)}(i,m,f,u,s)}catch(O){my(e,e.return,O)}}}return;case 6:if(ug(t,e),dg(e),4&o){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var y=e.stateNode,w=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(y,0,w)}catch(O){my(e,e.return,O)}}return;case 3:if(ug(t,e),dg(e),4&o)if(null!==r)if(r.memoizedState.isDehydrated)try{ai(t.containerInfo)}catch(O){my(e,e.return,O)}return;case 4:return ug(t,e),void dg(e);case c:ug(t,e),dg(e);var x=e.child;if(x.flags&lr){var _=x.stateNode,S=null!==x.memoizedState;if(_.isHidden=S,S)null!==x.alternate&&null!==x.alternate.memoizedState||(cb=Lr())}if(4&o){try{!function(e){e.memoizedState}(e)}catch(O){my(e,e.return,O)}lg(e)}return;case g:var E=null!==r&&null!==r.memoizedState;if(1&e.mode){var k=Ov;Ov=k||E,ug(t,e),Ov=k}else ug(t,e);if(dg(e),o&lr){var C=e.stateNode,T=null!==e.memoizedState,A=e;if(C.isHidden=T,T&&!E&&1&A.mode){Nv=A;for(var R=A.child;null!==R;)Nv=R,hg(R),R=R.sibling}!function(e,t){for(var n=null,r=e;;){if(5===r.tag){if(null===n){n=r;try{var o=r.stateNode;t?Tu(o):Ru(r.stateNode,r.memoizedProps)}catch(O){my(e,e.return,O)}}}else if(6===r.tag){if(null===n)try{var a=r.stateNode;t?Au(a):Ou(a,r.memoizedProps)}catch(O){my(e,e.return,O)}}else if((r.tag!==g&&r.tag!==b||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(A,T)}return;case h:return ug(t,e),dg(e),void(4&o&&lg(e));case v:return;default:return ug(t,e),void dg(e)}}function dg(e){var t=e.flags;if(2&t){try{eg(e)}catch(n){my(e,e.return,n)}e.flags&=-3}t&sr&&(e.flags&=-4097)}function pg(e,t,n){Pv=n,Iv=t,Nv=e,fg(e,t,n),Pv=null,Iv=null}function fg(e,t,n){for(var r=!!(1&e.mode);null!==Nv;){var o=Nv,a=o.child;if(o.tag===g&&r){var i=null!==o.memoizedState||Rv;if(i){mg(e,t,n);continue}var s=o.alternate,l=null!==s&&null!==s.memoizedState,u=Rv,c=Ov;Rv=i,(Ov=l||Ov)&&!c&&(Nv=o,gg(o));for(var d=a;null!==d;)Nv=d,fg(d,t,n),d=d.sibling;Nv=o,Rv=u,Ov=c,mg(e,t,n)}else 0!==(o.subtreeFlags&wr)&&null!==a?(a.return=o,Nv=a):mg(e,t,n)}}function mg(e,t,n){for(;null!==Nv;){var r=Nv;if(0!==(r.flags&wr)){var o=r.alternate;He(r);try{Yv(0,o,r)}catch(i){my(r,r.return,i)}We()}if(r===e)return void(Nv=null);var a=r.sibling;if(null!==a)return a.return=r.return,void(Nv=a);Nv=r.return}}function hg(e){for(;null!==Nv;){var t=Nv,n=t.child;switch(t.tag){case 0:case l:case d:case p:if(2&t.mode)try{Ym(),Hv(4,t,t.return)}finally{qm(t)}else Hv(4,t,t.return);break;case 1:Fv(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&Lv(t,t.return,r);break;case 5:Fv(t,t.return);break;case g:if(null!==t.memoizedState){vg(e);continue}}null!==n?(n.return=t,Nv=n):vg(e)}}function vg(e){for(;null!==Nv;){var t=Nv;if(t===e)return void(Nv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Nv=n);Nv=t.return}}function gg(e){for(;null!==Nv;){var t=Nv,n=t.child;if(t.tag===g)if(null!==t.memoizedState){bg(e);continue}null!==n?(n.return=t,Nv=n):bg(e)}}function bg(e){for(;null!==Nv;){var t=Nv;He(t);try{Kv(t)}catch(r){my(t,t.return,r)}if(We(),t===e)return void(Nv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Nv=n);Nv=t.return}}function yg(e,t,n,r){Nv=t,function(e,t,n,r){for(;null!==Nv;){var o=Nv,a=o.child;0!==(o.subtreeFlags&xr)&&null!==a?(a.return=o,Nv=a):wg(e,t,n,r)}}(t,e,n,r)}function wg(e,t,n,r){for(;null!==Nv;){var o=Nv;if(0!==(o.flags&ir)){He(o);try{xg(t,o,n,r)}catch(i){my(o,o.return,i)}We()}if(o===e)return void(Nv=null);var a=o.sibling;if(null!==a)return a.return=o.return,void(Nv=a);Nv=o.return}}function xg(e,t,n,r){switch(t.tag){case 0:case l:case p:if(2&t.mode){Km();try{qv(9,t)}finally{Gm(t)}}else qv(9,t)}}function _g(e){Nv=e,function(){for(;null!==Nv;){var e=Nv,t=e.child;if(0!==(Nv.flags&tr)){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];Nv=o,kg(o,e)}var a=e.alternate;if(null!==a){var i=a.child;if(null!==i){a.child=null;do{var s=i.sibling;i.sibling=null,i=s}while(null!==i)}}Nv=e}}0!==(e.subtreeFlags&xr)&&null!==t?(t.return=e,Nv=t):Sg()}}()}function Sg(){for(;null!==Nv;){var e=Nv;0!==(e.flags&ir)&&(He(e),Eg(e),We());var t=e.sibling;if(null!==t)return t.return=e.return,void(Nv=t);Nv=e.return}}function Eg(e){switch(e.tag){case 0:case l:case p:2&e.mode?(Km(),Hv(9,e,e.return),Gm(e)):Hv(9,e,e.return)}}function kg(e,t){for(;null!==Nv;){var n=Nv;He(n),Tg(n,t),We();var r=n.child;null!==r?(r.return=n,Nv=r):Cg(e)}}function Cg(e){for(;null!==Nv;){var t=Nv,n=t.sibling,r=t.return;if(Qv(t),t===e)return void(Nv=null);if(null!==n)return n.return=r,void(Nv=n);Nv=r}}function Tg(e,t){switch(e.tag){case 0:case l:case p:2&e.mode?(Km(),Hv(8,e,t),Gm(e)):Hv(8,e,t)}}function Ag(e){switch(e.tag){case 0:case l:case p:try{qv(5,e)}catch(n){my(e,e.return,n)}break;case 1:var t=e.stateNode;try{t.componentDidMount()}catch(n){my(e,e.return,n)}}}function Rg(e){switch(e.tag){case 0:case l:case p:try{qv(9,e)}catch(t){my(e,e.return,t)}}}function Og(e){switch(e.tag){case 0:case l:case p:try{Hv(5,e,e.return)}catch(n){my(e,e.return,n)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Lv(e,e.return,t)}}function Dg(e){switch(e.tag){case 0:case l:case p:try{Hv(9,e,e.return)}catch(t){my(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Ng=Symbol.for;Ng("selector.component"),Ng("selector.has_pseudo_class"),Ng("selector.role"),Ng("selector.test_id"),Ng("selector.text")}var Pg=[];var Ig=n.ReactCurrentActQueue;function Mg(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===Ig.current||a("The current testing environment is not configured to support act(...)"),e}var jg=Math.ceil,Lg=n.ReactCurrentDispatcher,Vg=n.ReactCurrentOwner,Fg=n.ReactCurrentBatchConfig,zg=n.ReactCurrentActQueue,Ug=0,Bg=2,$g=4,Wg=0,Hg=1,qg=2,Gg=3,Yg=4,Kg=5,Xg=6,Qg=Ug,Jg=null,Zg=null,eb=0,tb=0,nb=sc(0),rb=Wg,ob=null,ab=0,ib=0,sb=0,lb=null,ub=null,cb=0,db=500,pb=1/0,fb=500,mb=null;function hb(){pb=Lr()+fb}function vb(){return pb}var gb=!1,bb=null,yb=null,wb=!1,xb=null,_b=0,Sb=[],Eb=null,kb=50,Cb=0,Tb=null,Ab=!1,Rb=!1,Ob=50,Db=0,Nb=null,Pb=ea,Ib=0,Mb=!1;function jb(){return Jg}function Lb(){return(Qg&(Bg|$g))!==Ug?Lr():Pb!==ea?Pb:Pb=Lr()}function Vb(e){if(!(1&e.mode))return _o;if((Qg&Bg)!==Ug&&0!==eb)return fa(eb);if(null!==wd.transition){if(null!==Fg.transition){var t=Fg.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return 0===Ib&&(Ib=da()),Ib}var n,r=La();return 0!==r?r:void 0===(n=window.event)?Ia:mi(n.type)}function Fb(e){var t;return 1&e.mode?(t=na,!((na<<=1)&Uo)&&(na=Bo),t):_o}function zb(e,t,n,r){!function(){if(Cb>kb)throw Cb=0,Tb=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Db>Ob&&(Db=0,Nb=null,a("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),Mb&&a("useInsertionEffect must not schedule updates."),Ab&&(Rb=!0),_a(e,n,r),0!==(Qg&Bg)&&e===Jg?function(e){if(Ue&&!mm)switch(e.tag){case 0:case l:case p:var t=Zg&&Ve(Zg)||"Unknown",n=t;if(!Ey.has(n))Ey.add(n),a("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",Ve(e)||"Unknown",t,t);break;case 1:ky||(a("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ky=!0)}}(t):(Xr&&ka(e,t,n),function(e){if(1&e.mode){if(!Mg())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(Qg!==Ug)return;if(0!==e.tag&&e.tag!==l&&e.tag!==p)return}var t;if(null===zg.current){var n=ze;try{He(e),a("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",Ve(e))}finally{n?He(e):We()}}}(t),e===Jg&&((Qg&Bg)===Ug&&(ib=ba(ib,n)),rb===Yg&&Hb(e,eb)),Ub(e,r),n!==_o||Qg!==Ug||1&t.mode||zg.isBatchingLegacy||(hb(),Oc()))}function Ub(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=n;i>0;){var s=ma(i),l=1<<s,u=a[s];u===ea?0!==(l&r)&&0===(l&o)||(a[s]=aa(l,t)):u<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=oa(e,e===Jg?eb:0);if(0===r)return null!==n&&Ry(n),e.callbackNode=null,void(e.callbackPriority=0);var o=pa(r),i=e.callbackPriority;if(i!==o||null!==zg.current&&n!==Ty){var s,l;if(null!=n&&Ry(n),o===_o)0===e.tag?(null!==zg.isBatchingLegacy&&(zg.didScheduleLegacyUpdate=!0),l=qb.bind(null,e),Tc=!0,Rc(l)):Rc(qb.bind(null,e)),null!==zg.current?zg.current.push(Dc):Su(function(){(Qg&(Bg|$g))===Ug&&Dc()}),s=null;else{var u;switch(za(r)){case Na:u=Fr;break;case Pa:u=zr;break;case Ia:u=Ur;break;case Ma:u=$r;break;default:u=Ur}s=Ay(u,Bb.bind(null,e))}e.callbackPriority=o,e.callbackNode=s}else null==n&&i!==_o&&a("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function Bb(e,t){if(Vm=!1,Fm=!1,Pb=ea,Ib=0,(Qg&(Bg|$g))!==Ug)throw new Error("Should not already be working.");var n=e.callbackNode;if(cy()&&e.callbackNode!==n)return null;var r=oa(e,e===Jg?eb:0);if(0===r)return null;var o=!ua(0,r)&&!function(e,t){return 0!==(t&e.expiredLanes)}(e,r)&&!t,a=o?function(e,t){var n=Qg;Qg|=Bg;var r=ey();if(Jg!==e||eb!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(Cy(e,eb),o.clear()),Ca(e,t)}mb=null,hb(),Jb(e,t)}mo(t);for(;;)try{iy();break}catch(a){Zb(e,a)}return Jd(),ty(r),Qg=n,null!==Zg?(null!==Yr&&"function"==typeof Yr.markRenderYielded&&Yr.markRenderYielded(),Wg):(ho(),Jg=null,eb=0,rb)}(e,r):oy(e,r);if(a!==Wg){if(a===qg){var i=ia(e);0!==i&&(r=i,a=$b(e,i))}if(a===Hg){var s=ob;throw Jb(e,0),Hb(e,r),Ub(e,Lr()),s}if(a===Xg)Hb(e,r);else{var l=!ua(0,r),u=e.current.alternate;if(l&&!function(e){var t=e;for(;;){if(t.flags&ur){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.getSnapshot,s=a.value;try{if(!As(i(),s))return!1}catch(u){return!1}}}}var l=t.child;if(t.subtreeFlags&ur&&null!==l)l.return=t,t=l;else{if(t===e)return!0;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}(u)){if((a=oy(e,r))===qg){var c=ia(e);0!==c&&(r=c,a=$b(e,c))}if(a===Hg){var d=ob;throw Jb(e,0),Hb(e,r),Ub(e,Lr()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case Wg:case Hg:throw new Error("Root did not complete. This is a bug in React.");case qg:uy(e,ub,mb);break;case Gg:if(Hb(e,n),la(n)&&!Oy()){var r=cb+db-Lr();if(r>10){if(0!==oa(e,0))break;var o=e.suspendedLanes;if(!ga(o,n)){Lb(),Sa(e,o);break}e.timeoutHandle=wu(uy.bind(null,e,ub,mb),r);break}}uy(e,ub,mb);break;case Yg:if(Hb(e,n),function(e){return(e&Ao)===e}(n))break;if(!Oy()){var a=function(e,t){for(var n=e.eventTimes,r=ea;t>0;){var o=ma(t),a=1<<o,i=n[o];i>r&&(r=i),t&=~a}return r}(e,n),i=a,s=Lr()-i,l=((u=s)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*jg(u/1960))-s;if(l>10){e.timeoutHandle=wu(uy.bind(null,e,ub,mb),l);break}}uy(e,ub,mb);break;case Kg:uy(e,ub,mb);break;default:throw new Error("Unknown root exit status.")}var u}(e,a,r)}}return Ub(e,Lr()),e.callbackNode===n?Bb.bind(null,e):null}function $b(e,t){var n=lb;Ua(e)&&(Jb(e,t).flags|=rr,a("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=oy(e,t);if(r!==qg){var o=ub;ub=n,null!==o&&Wb(o)}return r}function Wb(e){null===ub?ub=e:ub.push.apply(ub,e)}function Hb(e,t){t=ya(t,sb),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=ma(r),a=1<<o;n[o]=ea,r&=~a}}(e,t=ya(t,ib))}function qb(e){if(Vm=Fm,Fm=!1,(Qg&(Bg|$g))!==Ug)throw new Error("Should not already be working.");cy();var t=oa(e,0);if(!va(t,_o))return Ub(e,Lr()),null;var n=oy(e,t);if(0!==e.tag&&n===qg){var r=ia(e);0!==r&&(t=r,n=$b(e,r))}if(n===Hg){var o=ob;throw Jb(e,0),Hb(e,t),Ub(e,Lr()),o}if(n===Xg)throw new Error("Root did not complete. This is a bug in React.");var a=e.current.alternate;return e.finishedWork=a,e.finishedLanes=t,uy(e,ub,mb),Ub(e,Lr()),null}function Gb(e,t){var n=Qg;Qg|=1;try{return e(t)}finally{(Qg=n)!==Ug||zg.isBatchingLegacy||(hb(),Oc())}}function Yb(e){null!==xb&&0===xb.tag&&(Qg&(Bg|$g))===Ug&&cy();var t=Qg;Qg|=1;var n=Fg.transition,r=La();try{return Fg.transition=null,Va(Na),e?e():void 0}finally{Va(r),Fg.transition=n,((Qg=t)&(Bg|$g))===Ug&&Dc()}}function Kb(){return(Qg&(Bg|$g))!==Ug}function Xb(e,t){uc(nb,tb,e),tb=ba(tb,t)}function Qb(e){tb=nb.current,lc(nb,e)}function Jb(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xu(n)),null!==Zg)for(var r=Zg.return;null!==r;){r.alternate;Tv(0,r),r=r.return}Jg=e;var o=Ky(e.current,null);return Zg=o,eb=tb=t,rb=Wg,ob=null,ab=0,ib=0,sb=0,lb=null,ub=null,function(){if(null!==sp){for(var e=0;e<sp.length;e++){var t=sp[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var a=o.next;o.next=r,n.next=a}t.pending=n}}sp=null}}(),xd.discardPendingWarnings(),o}function Zb(e,t){for(;;){var n=Zg;try{if(Jd(),Sf(),We(),Vg.current=null,null===n||null===n.return)return rb=Hg,ob=t,void(Zg=null);2&n.mode&&Hm(n,!0),no(),null!==t&&"object"==typeof t&&"function"==typeof t.then?fo(n,t,eb):po(n,t,eb),Th(e,n.return,n,t,eb),ly(n)}catch(r){t=r,Zg===n&&null!==n?(n=n.return,Zg=n):n=Zg;continue}return}}function ey(){var e=Lg.current;return Lg.current=Sm,null===e?Sm:e}function ty(e){Lg.current=e}function ny(e){ab=ba(e,ab)}function ry(){rb!==Wg&&rb!==Gg&&rb!==qg||(rb=Yg),null!==Jg&&(sa(ab)||sa(ib))&&Hb(Jg,eb)}function oy(e,t){var n=Qg;Qg|=Bg;var r=ey();if(Jg!==e||eb!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(Cy(e,eb),o.clear()),Ca(e,t)}mb=null,Jb(e,t)}for(mo(t);;)try{ay();break}catch(a){Zb(e,a)}if(Jd(),Qg=n,ty(r),null!==Zg)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return ho(),Jg=null,eb=0,rb}function ay(){for(;null!==Zg;)sy(Zg)}function iy(){for(;null!==Zg&&!Mr();)sy(Zg)}function sy(e){var t,n=e.alternate;He(e),2&e.mode?($m(e),t=xy(n,e,tb),Hm(e,!0)):t=xy(n,e,tb),We(),e.memoizedProps=e.pendingProps,null===t?ly(e):Zg=t,Vg.current=null}function ly(e){var t=e;do{var n=t.alternate,r=t.return;if(0===(t.flags&cr)){He(t);var o=void 0;if(2&t.mode?($m(t),o=kv(n,t,tb),Hm(t,!1)):o=kv(n,t,tb),We(),null!==o)return void(Zg=o)}else{var a=Cv(0,t);if(null!==a)return a.flags&=32767,void(Zg=a);if(2&t.mode){Hm(t,!1);for(var i=t.actualDuration,s=t.child;null!==s;)i+=s.actualDuration,s=s.sibling;t.actualDuration=i}if(null===r)return rb=Xg,void(Zg=null);r.flags|=cr,r.subtreeFlags=0,r.deletions=null}var l=t.sibling;if(null!==l)return void(Zg=l);Zg=t=r}while(null!==t);rb===Wg&&(rb=Kg)}function uy(e,t,n){var r=La(),o=Fg.transition;try{Fg.transition=null,Va(Na),function(e,t,n,r){do{cy()}while(null!==xb);if(function(){xd.flushLegacyContextWarning(),xd.flushPendingUnsafeLifecycleWarnings()}(),(Qg&(Bg|$g))!==Ug)throw new Error("Should not already be working.");var o=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Yr&&"function"==typeof Yr.markCommitStarted&&Yr.markCommitStarted(e)}(i),null===o)return eo(),null;0===i&&a("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=0;var s=ba(o.lanes,o.childLanes);(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;for(var r=e.entanglements,o=e.eventTimes,a=e.expirationTimes,i=n;i>0;){var s=ma(i),l=1<<s;r[s]=0,o[s]=ea,a[s]=ea,i&=~l}})(e,s),e===Jg&&(Jg=null,Zg=null,eb=0);0===(o.subtreeFlags&xr)&&0===(o.flags&xr)||wb||(wb=!0,Eb=n,Ay(Ur,function(){return cy(),null}));var l=!!(15990&o.subtreeFlags),u=!!(15990&o.flags);if(l||u){var c=Fg.transition;Fg.transition=null;var d=La();Va(Na);var p=Qg;Qg|=$g,Vg.current=null,Bv(e,o),Bm(),function(e,t,n){Pv=n,Iv=e,He(t),cg(t,e),He(t),Pv=null,Iv=null}(e,o,i),e.containerInfo,zs(mu),li(fu),fu=null,mu=null,e.current=o,function(e){null!==Yr&&"function"==typeof Yr.markLayoutEffectsStarted&&Yr.markLayoutEffectsStarted(e)}(i),pg(o,e,i),null!==Yr&&"function"==typeof Yr.markLayoutEffectsStopped&&Yr.markLayoutEffectsStopped(),jr(),Qg=p,Va(d),Fg.transition=c}else e.current=o,Bm();var f=wb;wb?(wb=!1,xb=e,_b=i):(Db=0,Nb=null);s=e.pendingLanes,0===s&&(yb=null);f||yy(e.current,!1);(function(e,t){if(Gr&&"function"==typeof Gr.onCommitFiberRoot)try{var n,r=(e.current.flags&nr)===nr;switch(t){case Na:n=Fr;break;case Pa:n=zr;break;case Ia:n=Ur;break;case Ma:n=$r;break;default:n=Ur}Gr.onCommitFiberRoot(qr,e,n,r)}catch(o){Kr||(Kr=!0,a("React instrumentation encountered an error: %s",o))}})(o.stateNode,r),Xr&&e.memoizedUpdaters.clear();if(function(){Pg.forEach(function(e){return e()})}(),Ub(e,Lr()),null!==t)for(var m=e.onRecoverableError,h=0;h<t.length;h++){var v=t[h],g=v.stack,b=v.digest;m(v.value,{componentStack:g,digest:b})}if(gb){gb=!1;var y=bb;throw bb=null,y}va(_b,_o)&&0!==e.tag&&cy();s=e.pendingLanes,va(s,_o)?(Fm=!0,e===Tb?Cb++:(Cb=0,Tb=e)):Cb=0;Dc(),eo()}(e,t,n,r)}finally{Fg.transition=o,Va(r)}return null}function cy(){if(null!==xb){var e=za(_b),t=(o=Ia)>(i=e)?o:i,n=Fg.transition,r=La();try{return Fg.transition=null,Va(t),function(){if(null===xb)return!1;var e=Eb;Eb=null;var t=xb,n=_b;if(xb=null,_b=0,(Qg&(Bg|$g))!==Ug)throw new Error("Cannot flush passive effects while already rendering.");Ab=!0,Rb=!1,function(e){null!==Yr&&"function"==typeof Yr.markPassiveEffectsStarted&&Yr.markPassiveEffectsStarted(e)}(n);var r=Qg;Qg|=$g,_g(t.current),yg(t,t.current,n,e);var o=Sb;Sb=[];for(var i=0;i<o.length;i++){Gv(0,o[i])}void(null!==Yr&&"function"==typeof Yr.markPassiveEffectsStopped&&Yr.markPassiveEffectsStopped()),yy(t.current,!0),Qg=r,Dc(),Rb?t===Nb?Db++:(Db=0,Nb=t):Db=0;Ab=!1,Rb=!1,function(e){if(Gr&&"function"==typeof Gr.onPostCommitFiberRoot)try{Gr.onPostCommitFiberRoot(qr,e)}catch(t){Kr||(Kr=!0,a("React instrumentation encountered an error: %s",t))}}(t);var s=t.current.stateNode;return s.effectDuration=0,s.passiveEffectDuration=0,!0}()}finally{Va(r),Fg.transition=n}}var o,i;return!1}function dy(e){return null!==yb&&yb.has(e)}var py=function(e){gb||(gb=!0,bb=e)};function fy(e,t,n){var r=xp(e,_h(e,bh(n,t),_o),_o),o=Lb();null!==r&&(_a(r,_o,o),Ub(r,o))}function my(e,t,n){var r;if(r=n,Jn(null,function(){throw r}),Zn(),Dy(!1),3!==e.tag){var o=null;for(o=t;null!==o;){if(3===o.tag)return void fy(o,e,n);if(1===o.tag){var i=o.type,s=o.stateNode;if("function"==typeof i.getDerivedStateFromError||"function"==typeof s.componentDidCatch&&!dy(s)){var l=xp(o,Sh(o,bh(n,e),_o),_o),u=Lb();return void(null!==l&&(_a(l,_o,u),Ub(l,u)))}}o=o.return}a("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else fy(e,e,n)}function hy(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var o=Lb();Sa(e,n),function(e){0!==e.tag&&Mg()&&null===zg.current&&a("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),Jg===e&&ga(eb,n)&&(rb===Yg||rb===Gg&&la(eb)&&Lr()-cb<db?Jb(e,0):sb=ba(sb,n)),Ub(e,o)}function vy(e,t){0===t&&(t=Fb(e));var n=Lb(),r=cp(e,t);null!==r&&(_a(r,t,n),Ub(r,n))}function gy(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),vy(e,n)}function by(e,t){var n,r=0;switch(e.tag){case c:n=e.stateNode;var o=e.memoizedState;null!==o&&(r=o.retryLane);break;case h:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),vy(e,r)}function yy(e,t){He(e),wy(e,vr,Og),t&&wy(e,gr,Dg),wy(e,vr,Ag),t&&wy(e,gr,Rg),We()}function wy(e,t,n){for(var r=e,o=null;null!==r;){var a=r.subtreeFlags&t;r!==o&&null!==r.child&&0!==a?r=r.child:(0!==(r.flags&t)&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var xy,_y=null;function Sy(e){if((Qg&Bg)===Ug&&1&e.mode){var t=e.tag;if(2===t||3===t||1===t||0===t||t===l||t===d||t===p){var n=Ve(e)||"ReactComponent";if(null!==_y){if(_y.has(n))return;_y.add(n)}else _y=new Set([n]);var r=ze;try{He(e),a("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?He(e):We()}}}}xy=function(e,t,n){var r=rw(null,t);try{return yv(e,t,n)}catch(a){if(Qc||null!==a&&"object"==typeof a&&"function"==typeof a.then)throw a;if(Jd(),Sf(),Tv(0,t),rw(t,r),2&t.mode&&$m(t),Jn(null,yv,null,e,t,n),Gn){var o=Zn();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof a&&null!==a&&!a._suppressLogging&&(a._suppressLogging=!0)}throw a}};var Ey,ky=!1;function Cy(e,t){Xr&&e.memoizedUpdaters.forEach(function(n){ka(e,n,t)})}Ey=new Set;var Ty={};function Ay(e,t){var n=zg.current;return null!==n?(n.push(t),Ty):Pr(e,t)}function Ry(e){if(e!==Ty)return Ir(e)}function Oy(){return null!==zg.current}function Dy(e){Mb=e}var Ny=null,Py=null,Iy=function(e){Ny=e};function My(e){if(null===Ny)return e;var t=Ny(e);return void 0===t?e:t.current}function jy(e){return My(e)}function Ly(e){if(null===Ny)return e;var t=Ny(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=My(e.render);if(e.render!==n){var r={$$typeof:ie,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Vy(e,t){if(null===Ny)return!1;var n=e.elementType,r=t.type,o=!1,a="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(o=!0);break;case 0:("function"==typeof r||a===ce)&&(o=!0);break;case l:(a===ie||a===ce)&&(o=!0);break;case d:case p:(a===ue||a===ce)&&(o=!0);break;default:return!1}if(o){var i=Ny(n);if(void 0!==i&&i===Ny(r))return!0}return!1}function Fy(e){null!==Ny&&"function"==typeof WeakSet&&(null===Py&&(Py=new WeakSet),Py.add(e))}var zy=function(e,t){if(null!==Ny){var n=t.staleFamilies,r=t.updatedFamilies;cy(),Yb(function(){By(e.current,r,n)})}},Uy=function(e,t){e.context===cc&&(cy(),Yb(function(){fw(t,e,null,null)}))};function By(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,s=e.type,u=null;switch(i){case 0:case p:case 1:u=s;break;case l:u=s.render}if(null===Ny)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==u){var f=Ny(u);void 0!==f&&(n.has(f)?d=!0:t.has(f)&&(1===i?d=!0:c=!0))}if(null!==Py&&(Py.has(e)||null!==r&&Py.has(r))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var m=cp(e,_o);null!==m&&zb(m,e,_o,ea)}null===o||d||By(o,t,n),null!==a&&By(a,t,n)}var $y,Wy=function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return Hy(e.current,r,n),n};function Hy(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,s=null;switch(a){case 0:case p:case 1:s=i;break;case l:s=i.render}var u=!1;null!==s&&t.has(s)&&(u=!0),u?function(e,t){var n=function(e,t){var n=e,r=!1;for(;;){if(5===n.tag)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(n)return;var r=e;for(;;){switch(r.tag){case 5:return void t.add(r.stateNode);case 4:case 3:return void t.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,n):null!==r&&Hy(r,t,n),null!==o&&Hy(o,t,n)}$y=!1;try{Object.preventExtensions({})}catch(rx){$y=!0}function qy(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=0,this.subtreeFlags=0,this.deletions=null,this.lanes=0,this.childLanes=0,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,$y||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var Gy=function(e,t,n,r){return new qy(e,t,n,r)};function Yy(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function Ky(e,t){var n=e.alternate;null===n?((n=Gy(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&_r,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 2:case 0:case p:n.type=My(e.type);break;case 1:n.type=jy(e.type);break;case l:n.type=Ly(e.type)}return n}function Xy(e,t){e.flags&=14680066;var n=e.alternate;if(null===n)e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function Qy(e,t,n,r,o,i){var p=2,f=e;if("function"==typeof e)Yy(e)?(p=1,f=jy(f)):f=My(f);else if("string"==typeof e)p=5;else e:switch(e){case te:return Zy(n.children,o,i,t);case ne:p=8,1&(o|=8)&&(o|=go);break;case re:return function(e,t,n,r){"string"!=typeof e.id&&a('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=Gy(u,e,r,2|t);return o.elementType=re,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,i,t);case se:return function(e,t,n,r){var o=Gy(c,e,r,t);return o.elementType=se,o.lanes=n,o}(n,o,i,t);case le:return function(e,t,n,r){var o=Gy(h,e,r,t);return o.elementType=le,o.lanes=n,o}(n,o,i,t);case de:return ew(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:p=s;break e;case ae:p=9;break e;case ie:p=l,f=Ly(f);break e;case ue:p=d;break e;case ce:p=16,f=null;break e}var m="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var v=r?Ve(r):null;throw v&&(m+="\n\nCheck the render method of `"+v+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+m)}var g=Gy(p,n,t,o);return g.elementType=e,g.type=f,g.lanes=i,g._debugOwner=r,g}function Jy(e,t,n){var r;r=e._owner;var o=Qy(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function Zy(e,t,n,r){var o=Gy(7,e,r,t);return o.lanes=n,o}function ew(e,t,n,r){var o=Gy(g,e,r,t);o.elementType=de,o.lanes=n;return o.stateNode={isHidden:!1},o}function tw(e,t,n){var r=Gy(6,e,null,t);return r.lanes=n,r}function nw(e,t,n){var r=null!==e.children?e.children:[],o=Gy(4,r,e.key,t);return o.lanes=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function rw(e,t){return null===e&&(e=Gy(2,null,null,0)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function ow(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=-1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=xa(0),this.expirationTimes=xa(ea),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=xa(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var a=this.pendingUpdatersLaneMap=[],i=0;i<xo;i++)a.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function aw(e,t,n,r,o,a,i,s,l,u){var c=new ow(e,t,n,s,l),d=function(e,t){var n;return 1===e?(n=1,!0===t&&(n|=8,n|=go)):n=0,Xr&&(n|=2),Gy(3,null,null,n)}(t,a);c.current=d,d.stateNode=c;var p={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return d.memoizedState=p,bp(d),c}var iw,sw,lw="18.3.1";function uw(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(e){if(R(e))a("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",A(e)),O(e)}(r),{$$typeof:ee,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function cw(e){if(!e)return cc;var t=er(e),n=kc(t);if(1===t.tag){var r=t.type;if(bc(r))return _c(t,r,n)}return n}function dw(e,t,n,r,o,a,i,s){return aw(e,t,!1,null,0,r,0,a,i)}function pw(e,t,n,r,o,a,i,s,l,u){var c=aw(n,r,!0,e,0,a,0,s,l);c.context=cw(null);var d=c.current,p=Lb(),f=Vb(d),m=wp(p,f);return m.callback=null!=t?t:null,xp(d,m,f),function(e,t,n){e.current.lanes=t,_a(e,t,n),Ub(e,n)}(c,f,p),c}function fw(e,t,n,r){!function(e,t){if(Gr&&"function"==typeof Gr.onScheduleFiberRoot)try{Gr.onScheduleFiberRoot(qr,e,t)}catch(n){Kr||(Kr=!0,a("React instrumentation encountered an error: %s",n))}}(t,e);var o=t.current,i=Lb(),s=Vb(o);!function(e){null!==Yr&&"function"==typeof Yr.markRenderScheduled&&Yr.markRenderScheduled(e)}(s);var l=cw(n);null===t.context?t.context=l:t.pendingContext=l,Ue&&null!==ze&&!iw&&(iw=!0,a("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Ve(ze)||"Unknown"));var u=wp(i,s);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&a("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=xp(o,u,s);return null!==c&&(zb(c,o,s,i),_p(c,o,s)),s}function mw(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function hw(e,t){var n,r,o=e.memoizedState;null!==o&&null!==o.dehydrated&&(o.retryLane=(n=o.retryLane,r=t,0!==n&&n<r?n:r))}function vw(e,t){hw(e,t);var n=e.alternate;n&&hw(n,t)}function gw(e){var t=Dr(e);return null===t?null:t.stateNode}iw=!1,sw={};var bw=function(e){return null};var yw=function(e){return!1};var ww,xw,_w,Sw,Ew,kw,Cw,Tw,Aw,Rw=function(e,t,n){var r=t[n],o=wt(e)?e.slice():xe({},e);return n+1===t.length?(wt(o)?o.splice(r,1):delete o[r],o):(o[r]=Rw(e[r],t,n+1),o)},Ow=function(e,t){return Rw(e,t,0)},Dw=function(e,t,n,r){var o=t[r],a=wt(e)?e.slice():xe({},e);r+1===t.length?(a[n[r]]=a[o],wt(a)?a.splice(o,1):delete a[o]):a[o]=Dw(e[o],t,n,r+1);return a},Nw=function(e,t,n){if(t.length===n.length){for(var r=0;r<n.length-1;r++)if(t[r]!==n[r])return void o("copyWithRename() expects paths to be the same except for the deepest key");return Dw(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Pw=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],a=wt(e)?e.slice():xe({},e);return a[o]=Pw(e[o],t,n+1,r),a},Iw=function(e,t,n){return Pw(e,t,0,n)},Mw=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function jw(e){var t=Rr(e);return null===t?null:t.stateNode}function Lw(e){return null}function Vw(){return ze}ww=function(e,t,n,r){var o=Mw(e,t);if(null!==o){var a=Iw(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=xe({},e.memoizedProps);var i=cp(e,_o);null!==i&&zb(i,e,_o,ea)}},xw=function(e,t,n){var r=Mw(e,t);if(null!==r){var o=Ow(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=xe({},e.memoizedProps);var a=cp(e,_o);null!==a&&zb(a,e,_o,ea)}},_w=function(e,t,n,r){var o=Mw(e,t);if(null!==o){var a=Nw(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=xe({},e.memoizedProps);var i=cp(e,_o);null!==i&&zb(i,e,_o,ea)}},Sw=function(e,t,n){e.pendingProps=Iw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=cp(e,_o);null!==r&&zb(r,e,_o,ea)},Ew=function(e,t){e.pendingProps=Ow(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=cp(e,_o);null!==n&&zb(n,e,_o,ea)},kw=function(e,t,n){e.pendingProps=Nw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=cp(e,_o);null!==r&&zb(r,e,_o,ea)},Cw=function(e){var t=cp(e,_o);null!==t&&zb(t,e,_o,ea)},Tw=function(e){bw=e},Aw=function(e){yw=e};var Fw="function"==typeof reportError?reportError:function(e){console.error(e)};function zw(e){this._internalRoot=e}function Uw(e){this._internalRoot=e}function Bw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function $w(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ww(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Gu(e)&&(e._reactRootContainer?a("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):a("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}Uw.prototype.render=zw.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?a("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Bw(arguments[1])?a("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&a("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=gw(t.current);r&&r.parentNode!==n&&a("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}fw(e,t,null,null)},Uw.prototype.unmount=zw.prototype.unmount=function(){"function"==typeof arguments[0]&&a("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Kb()&&a("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Yb(function(){fw(null,e,null,null)}),qu(t)}},Uw.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Oa(),n={blockedOn:null,target:e,priority:t},r=0;r<Xa.length&&Fa(t,Xa[r].priority);r++);Xa.splice(r,0,n),0===r&&ei(n)}(e)};var Hw,qw=n.ReactCurrentOwner;function Gw(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function Yw(){}function Kw(e,t,n,r,o){Hw(n),function(e,t){null!==e&&"function"!=typeof e&&a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var i,s=n._reactRootContainer;if(s){if("function"==typeof o){var l=o;o=function(){var e=mw(i);l.call(e)}}fw(t,i=s,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=mw(i);a.call(e)}}var i=pw(t,r,e,0,0,!1,0,"",Yw);return e._reactRootContainer=i,Hu(i.current,e),vl(8===e.nodeType?e.parentNode:e),Yb(),i}for(var s;s=e.lastChild;)e.removeChild(s);if("function"==typeof r){var l=r;r=function(){var e=mw(u);l.call(e)}}var u=dw(e,0,0,!1,0,"",Yw);return e._reactRootContainer=u,Hu(u.current,e),vl(8===e.nodeType?e.parentNode:e),Yb(function(){fw(t,u,n,r)}),u}(n,t,e,o,r);return mw(i)}Hw=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=gw(e._reactRootContainer.current);t&&t.parentNode!==e&&a("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=Gw(e);!(!r||!Ku(r))&&!n&&a("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};var Xw=!1;var Qw=!1;Ta=function(e){switch(e.tag){case 3:var t=e.stateNode;if(Ua(t)){var n=function(e){return ra(e.pendingLanes)}(t);!function(e,t){0!==t&&(Ea(e,ba(t,_o)),Ub(e,Lr()),(Qg&(Bg|$g))===Ug&&(hb(),Dc()))}(t,n)}break;case c:Yb(function(){var t=cp(e,_o);if(null!==t){var n=Lb();zb(t,e,_o,n)}}),vw(e,_o)}},function(e){Aa=e}(function(e){if(e.tag===c){var t=Yo,n=cp(e,t);if(null!==n)zb(n,e,t,Lb());vw(e,t)}}),function(e){Ra=e}(function(e){if(e.tag===c){var t=Vb(e),n=cp(e,t);if(null!==n)zb(n,e,t,Lb());vw(e,t)}}),function(e){Oa=e}(La),function(e){Da=e}(function(e,t){var n=ja;try{return ja=e,t()}finally{ja=n}}),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||a("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Rn=function(e,t,n){switch(t){case"input":return void pt(e,n);case"textarea":return void function(e,t){Rt(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&St(n,!!t.multiple,r,!1)}(e,n)}},Mn=Gb,jn=Yb;var Jw,Zw,ex,tx={usingClientEntryPoint:!1,Events:[Ku,Xu,Qu,Pn,In,Gb]};if(!(Zw=(Jw={findFiberByHostInstance:Yu,bundleType:1,version:lw,rendererPackageName:"react-dom"}).findFiberByHostInstance,ex=n.ReactCurrentDispatcher,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return a("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{e=xe({},e,{getLaneLabelMap:Zr,injectProfilingHooks:Jr}),qr=t.inject(e),Gr=t}catch(n){a("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}({bundleType:Jw.bundleType,version:Jw.version,rendererPackageName:Jw.rendererPackageName,rendererConfig:Jw.rendererConfig,overrideHookState:ww,overrideHookStateDeletePath:xw,overrideHookStateRenamePath:_w,overrideProps:Sw,overridePropsDeletePath:Ew,overridePropsRenamePath:kw,setErrorHandler:Tw,setSuspenseHandler:Aw,scheduleUpdate:Cw,currentDispatcherRef:ex,findHostInstanceByFiber:jw,findFiberByHostInstance:Zw||Lw,findHostInstancesForRefresh:Wy,scheduleRefresh:zy,scheduleRoot:Uy,setRefreshHandler:Iy,getCurrentFiber:Vw,reconcilerVersion:lw}))&&C&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var nx=window.location.protocol;/^(https?|file):$/.test(nx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===nx?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}reactDom_development.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tx,reactDom_development.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!Bw(t))throw new Error("Target container is not a DOM element.");return uw(e,t,null,n)},reactDom_development.createRoot=function(e,t){return tx.usingClientEntryPoint||a('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!Bw(e))throw new Error("createRoot(...): Target container is not a DOM element.");Ww(e);var n=!1,r="",i=Fw;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===Z&&a("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var s=dw(e,1,0,n,0,r,i);return Hu(s.current,e),vl(8===e.nodeType?e.parentNode:e),new zw(s)}(e,t)},reactDom_development.findDOMNode=function(e){Xw||(Xw=!0,a("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=qw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||a("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",je(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:1===e.nodeType?e:function(e,t){var n=er(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var o=Rr(n);if(null===o)return null;if(8&o.mode){var i=Ve(n)||"Component";if(!sw[i]){sw[i]=!0;var s=ze;try{He(o),8&n.mode?a("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):a("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{s?He(s):We()}}}return o.stateNode}(e,"findDOMNode")},reactDom_development.flushSync=function(e){return Kb()&&a("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Yb(e)},reactDom_development.hydrate=function(e,t,n){if(a("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!$w(t))throw new Error("Target container is not a DOM element.");return Gu(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),Kw(null,e,t,!0,n)},reactDom_development.hydrateRoot=function(e,t,n){return tx.usingClientEntryPoint||a('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!Bw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Ww(e),void 0===t&&a("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,i="",s=Fw;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError));var l=pw(t,null,e,1,0,o,0,i,s);if(Hu(l.current,e),vl(e),r)for(var u=0;u<r.length;u++)Qp(l,r[u]);return new Uw(l)}(e,t,n)},reactDom_development.render=function(e,t,n){if(a("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!$w(t))throw new Error("Target container is not a DOM element.");return Gu(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),Kw(null,e,t,!1,n)},reactDom_development.unmountComponentAtNode=function(e){if(Qw||(Qw=!0,a("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!$w(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Gu(e)&&void 0===e._reactRootContainer&&a("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=Gw(e);return t&&!Ku(t)&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),Yb(function(){Kw(null,null,e,!1,function(){e._reactRootContainer=null,qu(e)})}),!0}var n=Gw(e),r=!(!n||!Ku(n)),o=1===e.nodeType&&$w(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},reactDom_development.unstable_batchedUpdates=Gb,reactDom_development.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(a("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!$w(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return Kw(e,t,n,!1,r)}(e,t,n,r)},reactDom_development.version=lw,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),reactDom_development}function requireReactDom(){return hasRequiredReactDom||(hasRequiredReactDom=1,reactDom.exports=requireReactDom_development()),reactDom.exports}var reactDomExports=requireReactDom();function defaultNoopBatch(e){e()}function observerBatching(e){e||(e=defaultNoopBatch,console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),configure({reactionScheduler:e})}function printDebugValue(e){return getDependencyTree(e)}var REGISTRY_FINALIZE_AFTER=1e4,REGISTRY_SWEEP_INTERVAL=1e4,TimerBasedFinalizationRegistry=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=REGISTRY_FINALIZE_AFTER),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))}),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,REGISTRY_SWEEP_INTERVAL))}}),e}(),UniversalFinalizationRegistry="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:TimerBasedFinalizationRegistry,observerFinalizationRegistry=new UniversalFinalizationRegistry(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),shim={exports:{}},useSyncExternalStoreShim_development={},hasRequiredUseSyncExternalStoreShim_development,hasRequiredShim;function requireUseSyncExternalStoreShim_development(){return hasRequiredUseSyncExternalStoreShim_development||(hasRequiredUseSyncExternalStoreShim_development=1,function(){function e(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(o){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=requireReact(),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useState,o=t.useEffect,a=t.useLayoutEffect,i=t.useDebugValue,s=!1,l=!1,u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(u,c){s||void 0===t.startTransition||(s=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var d=c();if(!l){var p=c();n(d,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l=!0)}var f=(p=r({inst:{value:d,getSnapshot:c}}))[0].inst,m=p[1];return a(function(){f.value=d,f.getSnapshot=c,e(f)&&m({inst:f})},[u,d,c]),o(function(){return e(f)&&m({inst:f}),u(function(){e(f)&&m({inst:f})})},[u]),i(d),d};useSyncExternalStoreShim_development.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:u,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),useSyncExternalStoreShim_development}function requireShim(){return hasRequiredShim||(hasRequiredShim=1,shim.exports=requireUseSyncExternalStoreShim_development()),shim.exports}var shimExports=requireShim(),_a$2,_b;function createReaction(e){e.reaction=new Reaction("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}function useObserver(e,t){void 0===t&&(t="observed");var n=React.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return observerFinalizationRegistry.unregister(r),r.onStoreChange=e,r.reaction||(createReaction(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 o,a,i=n.current;if(i.reaction||(createReaction(i),observerFinalizationRegistry.register(n,i,i)),React.useDebugValue(i.reaction,printDebugValue),shimExports.useSyncExternalStore(i.subscribe,i.getSnapshot,i.getSnapshot),i.reaction.track(function(){try{o=e()}catch(t){a=t}}),a)throw a;return o}var warnLegacyContextTypes=!0,hasSymbol="function"==typeof Symbol&&Symbol.for,isFunctionNameConfigurable=null!==(_b=null===(_a$2=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===_a$2?void 0:_a$2.configurable)&&void 0!==_b&&_b,ReactForwardRefSymbol=hasSymbol?Symbol.for("react.forward_ref"):"function"==typeof reactExports.forwardRef&&reactExports.forwardRef(function(e){return null}).$$typeof,ReactMemoSymbol=hasSymbol?Symbol.for("react.memo"):"function"==typeof reactExports.memo&&reactExports.memo(function(e){return null}).$$typeof;function observer(e,t){if(ReactMemoSymbol&&e.$$typeof===ReactMemoSymbol)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,o=e.displayName||e.name;if(ReactForwardRefSymbol&&e.$$typeof===ReactForwardRefSymbol&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a=function(e,t){return useObserver(function(){return r(e,t)},o)};return a.displayName=e.displayName,isFunctionNameConfigurable&&Object.defineProperty(a,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(a.contextTypes=e.contextTypes,warnLegacyContextTypes&&(warnLegacyContextTypes=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),n&&(a=reactExports.forwardRef(a)),copyStaticProperties(e,a=reactExports.memo(a)),Object.defineProperty(a,"contextTypes",{set:function(){var e,t;throw new Error("[mobx-react-lite] `".concat(this.displayName||(null===(e=this.type)||void 0===e?void 0:e.displayName)||(null===(t=this.type)||void 0===t?void 0:t.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),a}var hoistBlackList={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0},_a$1;function copyStaticProperties(e,t){Object.keys(e).forEach(function(n){hoistBlackList[n]||Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}observerBatching(reactDomExports.unstable_batchedUpdates),_a$1=observerFinalizationRegistry.finalizeAllImmediately;const staticCounter=createCounter(e=>e.toString(16)),generateVmId=e=>{if(!e.generateId){const t=staticCounter(),n=createCounter(e=>e.toString().padStart(5,"0"));e.generateId=()=>`${t}_${n().toString().padStart(5,"0")}`}{const t=e.VM?.name??"";return t?`${t}_${e.generateId()}`:e.generateId()}},mergeVMConfigs=(...e)=>{const t={...viewModelsConfig,startViewTransitions:structuredClone(viewModelsConfig.startViewTransitions),observable:{viewModels:{...viewModelsConfig.observable.viewModels},viewModelStores:{...viewModelsConfig.observable.viewModelStores}}};return e.forEach(e=>{if(!e)return;const{startViewTransitions:n,comparePayload:r,observable:o,generateId:a,...i}=e;if(a&&(t.generateId=a),n){const e="boolean"==typeof n?{mount:n,payloadChange:n,unmount:n}:n;Object.assign(t.startViewTransitions,e)}o?.viewModels&&Object.assign(t.observable.viewModels,o.viewModels||{}),o?.viewModelStores&&Object.assign(t.observable.viewModelStores,o.viewModelStores||{}),null!=r&&(t.comparePayload=r),Object.assign(t,i)}),t},viewModelsConfig=createGlobalConfig({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:generateVmId,factory:e=>new(0,e.VM)({...e,vmConfig:mergeVMConfigs(e.vmConfig)}),hooks:{storeCreate:createPubSub()}},Symbol.for("VIEW_MODELS_CONFIG")),applyObservable=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||applyObservable$1(e,t,n.useDecorators)},isViewModelClass=e=>e.prototype.payloadChanged,baseAnnotations=[["_isMounted",observable.ref],["_isUnmounting",observable.ref],["isMounted",computed],["isUnmounting",computed],["parentViewModel",computed],["mount",action.bound],["didMount",action],["unmount",action.bound],["didUnmount",action],["willUnmount",action],["setPayload",action]];class ViewModelBase{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=mergeVMConfigs(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=comparer.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=isShallowEqual:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...baseAnnotations];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",observable[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",computed.struct]):t.push(["payload",computed({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),applyObservable(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||console.error("Error #3: No access to ViewModelStore.\nThis happened because [viewModels] param is not provided during to creating instance ViewModelBase.\nMore info: https://js2me.github.io/mobx-view-model/errors/3"),this.vmParams.viewModels}get isMounted(){return this._isMounted}get isUnmounting(){return this._isUnmounting}willUnmount(){this._isUnmounting=!0}willMount(){}mount(){this.vmConfig.onMount?.(this),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),runInAction(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||startViewTransitionSafety(()=>{runInAction(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class ViewModelStoreBase{constructor(e){this.config=e,this.viewModels=observable.map([],{deep:!1}),this.linkedComponentVMClasses=observable.map([],{deep:!1}),this.viewModelIdsByClasses=observable.map([],{deep:!0}),this.instanceAttachedCount=observable.map([],{deep:!1}),this.mountingViews=observable.set([],{deep:!1}),this.unmountingViews=observable.set([],{deep:!1}),this.vmConfig=mergeVMConfigs(e?.vmConfig),this.viewModelsTempHeap=new Map,applyObservable(this,[["mountedViewsCount",computed],["mount",action],["unmount",action],["attachVMConstructor",action],["attach",action],["detach",action],["linkComponents",action],["unlinkComponents",action]],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=mergeVMConfigs(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.length>1&&console.warn("Found more than 1 view model with the same identifier. Last instance will been returned"),t.at(-1))}has(e){const t=this.getId(e);return!!t&&this.viewModels.has(t)}get(e){const t=this.getId(e);if(!t)return null;return this.viewModels.get(t)??this.viewModelsTempHeap.get(t)??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?.()),runInAction(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),runInAction(()=>{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 ActiveViewModelContext=reactExports.createContext(null),ViewModelsContext=reactExports.createContext(null),ActiveViewModelProvider=ActiveViewModelContext.Provider,useIsomorphicLayoutEffect="undefined"==typeof window?reactExports.useEffect:reactExports.useLayoutEffect;let useValueImpl=null;useValueImpl=e=>reactExports.useMemo(e,[]);const useValue=useValueImpl;function useCreateViewModel(e,t,n){return isViewModelClass(e)?useCreateViewModelBase(e,t,n):useCreateViewModelSimple(e,t)}const useCreateViewModelBase=(e,t,n)=>{const r=reactExports.useContext(ViewModelsContext),o=reactExports.useContext(ActiveViewModelContext),a=n?.ctx??{},i=useValue(()=>{const i=r?.generateViewModelId({...n,ctx:a,VM:e,parentViewModelId:o?.id??null})??n?.id??viewModelsConfig.generateId(a),s=r?r.get(i):null;if(s)return s;{const s={...n,vmConfig:n?.vmConfig,id:i,parentViewModelId:o?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:o,ctx:a};r?.processCreateConfig(s);const l=n?.factory?.(s)??r?.createViewModel(s)??viewModelsConfig.factory(s);return l.willMount(),r?.markToBeAttached(l),l}});return useIsomorphicLayoutEffect(()=>r?(r.attach(i),()=>{r.detach(i.id)}):(i.mount(),()=>{i.willUnmount(),i.unmount()}),[i]),i.setPayload(t??{}),i},useCreateViewModelSimple=(e,t)=>{const n=reactExports.useContext(ViewModelsContext),r=reactExports.useContext(ActiveViewModelContext),o=useValue(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in o&&reactExports.useLayoutEffect(()=>{o.setPayload(t)},[t]),useIsomorphicLayoutEffect(()=>n?(n.attach(o),()=>{n.detach(o.id)}):(o.mount?.(),()=>{o.unmount?.()}),[o]),o};observer(({model:e,config:t,payload:n,children:r})=>{const o=useCreateViewModel(e,n,t);return o.isMounted?"function"==typeof r?r(o):jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:r}):null});const ViewModelsProvider=ViewModelsContext.Provider;function withViewModel(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return withViewModelWrapper(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=>withViewModelWrapper(e,r,t)}}const REACT_MEMO_SYMBOL=Symbol.for("react.memo"),withViewModelWrapper=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??viewModelsConfig.processViewComponent,o=t.vmConfig?.wrapViewsInObserver??viewModelsConfig.wrapViewsInObserver;let a=r?.(n,e,t)??n;o&&a&&a.$$typeof!==REACT_MEMO_SYMBOL&&(a=observer(a));const i=t.reactHook,s=t.getPayload,l=t.fallback??viewModelsConfig.fallbackComponent;let u=(n,r)=>{const o=reactExports.useContext(ViewModelsContext);i?.(n,t.ctx,o,r);const{payload:u,...c}=n,d=s?.(n)??u;t.forwardRef&&!("forwardedRef"in c)&&(c.forwardedRef=r);const p=useCreateViewModel(e,d,{...t,props:c});return(!o||o.isAbleToRenderView(p.id))&&!1!==p.isMounted?jsxRuntimeExports.jsx(ActiveViewModelProvider,{value:p,children:a&&jsxRuntimeExports.jsx(a,{...c,model:p})}):l&&jsxRuntimeExports.jsx(l,{...n,payload:d})};return t.forwardRef&&(u=reactExports.forwardRef(u)),u=observer(u),u.displayName=`ConnectedViewModel(${e.name}->Component)`,t.component=u,u};class ViewModelImpl extends ViewModelBase{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}class LinkedAbortController extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const callFunction=(e,...t)=>"function"==typeof e?e(...t):e;var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root$1=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root$1.Symbol,objectProto$1=Object.prototype,hasOwnProperty=objectProto$1.hasOwnProperty,nativeObjectToString$1=objectProto$1.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty.call(e,symToStringTag$1),n=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var r=!0}catch(a){}var o=nativeObjectToString$1.call(e);return r&&(t?e[symToStringTag$1]=n:delete e[symToStringTag$1]),o}var objectProto=Object.prototype,nativeObjectToString=objectProto.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(e){return null==e?void 0===e?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObjectLike(e){return null!=e&&"object"==typeof e}var symbolTag="[object Symbol]";function isSymbol(e){return"symbol"==typeof e||isObjectLike(e)&&baseGetTag(e)==symbolTag}var reWhitespace=/\s/;function trimmedEndIndex(e){for(var t=e.length;t--&&reWhitespace.test(e.charAt(t)););return t}var reTrimStart=/^\s+/;function baseTrim(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(reTrimStart,""):e}function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=baseTrim(e);var n=reIsBinary.test(e);return n||reIsOctal.test(e)?freeParseInt(e.slice(2),n?2:8):reIsBadHex.test(e)?NAN:+e}function baseClamp(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function clamp(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=toNumber(n))==n?n:0),void 0!==t&&(t=(t=toNumber(t))==t?t:0),baseClamp(toNumber(e),t,n)}var now=function(){return root$1.Date.now()},FUNC_ERROR_TEXT$1="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(e,t,n){var r,o,a,i,s,l,u=0,c=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT$1);function f(t){var n=r,a=o;return r=o=void 0,u=t,i=e.apply(a,n)}function m(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=a}function h(){var e=now();if(m(e))return v(e);s=setTimeout(h,function(e){var n=t-(e-l);return d?nativeMin(n,a-(e-u)):n}(e))}function v(e){return s=void 0,p&&r?f(e):(r=o=void 0,i)}function g(){var e=now(),n=m(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(h,t),c?f(e):i}(l);if(d)return clearTimeout(s),s=setTimeout(h,t),f(l)}return void 0===s&&(s=setTimeout(h,t)),i}return t=toNumber(t)||0,isObject(n)&&(c=!!n.leading,a=(d="maxWait"in n)?nativeMax(toNumber(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=o=s=void 0},g.flush=function(){return void 0===s?i:v(now())},g}var FUNC_ERROR_TEXT="Expected a function";function throttle(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);return isObject(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),debounce(e,t,{leading:r,maxWait:t,trailing:o})}let KeyboardHandler$1=class{constructor(e){if(this.config=e,this.abortController=new LinkedAbortController(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),observable.ref(this,"isActivated"),observable.ref(this,"localActions"),computed.struct(this,"actions"),action.bound(this,"handleKeyboardClick"),action.bound(this,"setActions"),makeObservable(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new LinkedAbortController;reaction(()=>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 LinkedAbortController(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 callFunction(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(!callFunction(n.disabled))for(let t=0;t<n.shortcuts.length;t++){if(n.shortcuts[t].split("+").every(t=>this.checkKey(e,t)))return void runInAction(()=>{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 Storage{constructor(e){this.config=e,this.abortController=new LinkedAbortController(e?.abortSignal),this.abortSignal=this.abortController.signal,makeObservable(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,o=n&&"fallback"in n?n.fallback:e[t];runInAction(()=>{e[t]=this.get({...n,key:r,fallback:o})??e[t]});const a=autorun(()=>{const o=e[t];this.set({...n,key:r,value:o})},{signal:this.abortSignal});return this.abortSignal.addEventListener("abort",a),()=>{this.abortSignal.removeEventListener("abort",a),a()}}destroy(){this.abortController.abort()}}var client={},hasRequiredClient;function requireClient(){if(hasRequiredClient)return client;hasRequiredClient=1;var e=requireReactDom(),t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return client.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},client.hydrateRoot=function(n,r,o){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,o)}finally{t.usingClientEntryPoint=!1}},client}var clientExports=requireClient(),jsxDevRuntime={exports:{}},reactJsxDevRuntime_development={},hasRequiredReactJsxDevRuntime_development,hasRequiredJsxDevRuntime;function requireReactJsxDevRuntime_development(){return hasRequiredReactJsxDevRuntime_development||(hasRequiredReactJsxDevRuntime_development=1,function(){var e=requireReact(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator;var h=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=h.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map(function(e){return String(e)});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,n)}var g;function b(e){return e.displayName||"Context"}function y(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return b(e)+".Consumer";case i:return b(e._context)+".Provider";case l:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case d:var t=e.displayName||null;return null!==t?t:y(e.type)||"Memo";case p:var f=e,m=f._payload,h=f._init;try{return y(h(m))}catch(g){return null}}return null}g=Symbol.for("react.module.reference");var w,x,_,S,E,k,C,T=Object.assign,A=0;function R(){}R.__reactDisabledLog=!0;var O,D=h.ReactCurrentDispatcher;function N(e,t,n){if(void 0===O)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);O=r&&r[1]||""}return"\n"+O+e}var P,I=!1,M="function"==typeof WeakMap?WeakMap:Map;function j(e,t){if(!e||I)return"";var n,r=P.get(e);if(void 0!==r)return r;I=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=D.current,D.current=null,function(){if(0===A){w=console.log,x=console.info,_=console.warn,S=console.error,E=console.group,k=console.groupCollapsed,C=console.groupEnd;var e={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(m){n=m}Reflect.construct(e,[],i)}else{try{i.call()}catch(m){n=m}e.call(i.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(h){if(h&&n&&"string"==typeof h.stack){for(var s=h.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&P.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{I=!1,D.current=o,function(){if(0===--A){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:w}),info:T({},e,{value:x}),warn:T({},e,{value:_}),error:T({},e,{value:S}),group:T({},e,{value:E}),groupCollapsed:T({},e,{value:k}),groupEnd:T({},e,{value:C})})}A<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",f=p?N(p):"";return"function"==typeof e&&P.set(e,f),f}function L(e,t,n){if(null==e)return"";if("function"==typeof e)return j(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return N(e);switch(e){case u:return N("Suspense");case c:return N("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return j(e.render,!1);case d:return L(e.type,t,n);case p:var o=e,a=o._payload,i=o._init;try{return L(i(a),t,n)}catch(s){}}return""}P=new M;var V=Object.prototype.hasOwnProperty,F={},z=h.ReactDebugCurrentFrame;function U(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);z.setExtraStackFrame(n)}else z.setExtraStackFrame(null)}var B=Array.isArray;function $(e){return B(e)}function W(e){return""+e}function H(e){if(function(e){try{return W(e),!1}catch(t){return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),W(e)}var q,G,Y,K=h.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};Y={};function Q(e,n,r,o,a){var i,s={},l=null,u=null;for(i in void 0!==r&&(H(r),l=""+r),function(e){if(V.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(H(n.key),l=""+n.key),function(e){if(V.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(n)&&(u=n.ref,function(e,t){if("string"==typeof e.ref&&K.current&&t&&K.current.stateNode!==t){var n=y(K.current.type);Y[n]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',y(K.current.type),e.ref),Y[n]=!0)}}(n,a)),n)V.call(n,i)&&!X.hasOwnProperty(i)&&(s[i]=n[i]);if(e&&e.defaultProps){var c=e.defaultProps;for(i in c)void 0===s[i]&&(s[i]=c[i])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){q||(q=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(s,d),u&&function(e,t){var n=function(){G||(G=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(s,d)}return function(e,n,r,o,a,i,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:i,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,a,o,K.current,s)}var J,Z=h.ReactCurrentOwner,ee=h.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(n)}else ee.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function re(){if(Z.current){var e=y(Z.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var oe={};function ae(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=re();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!oe[n]){oe[n]=!0;var r="";e&&e._owner&&e._owner!==Z.current&&(r=" It was passed a child from "+y(e._owner.type)+"."),te(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),te(null)}}}function ie(e,t){if("object"==typeof e)if($(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&ae(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ne(a.value)&&ae(a.value,t)}}function se(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==l&&n.$$typeof!==d)return;t=n.propTypes}if(t){var r=y(n);!function(e,t,n,r,o){var a=Function.call.bind(V);for(var i in e)if(a(e,i)){var s=void 0;try{if("function"!=typeof e[i]){var l=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(U(o),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof s),U(null)),s instanceof Error&&!(s.message in F)&&(F[s.message]=!0,U(o),v("Failed %s type: %s",n,s.message),U(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!J){J=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};var ue=function(e,n,m,h,b,w){var x=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===a||e===o||e===u||e===c||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===l||e.$$typeof===g||void 0!==e.getModuleId)}(e);if(!x){var _="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var S,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(b);_+=E||re(),null===e?S="null":$(e)?S="array":void 0!==e&&e.$$typeof===t?(S="<"+(y(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,_)}var k=Q(e,n,m,b,w);if(null==k)return k;if(x){var C=n.children;if(void 0!==C)if(h)if($(C)){for(var T=0;T<C.length;T++)ie(C[T],e);Object.freeze&&Object.freeze(C)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ie(C,e)}if(V.call(n,"key")){var A=y(e),R=Object.keys(n).filter(function(e){return"key"!==e}),O=R.length>0?"{key: someKey, "+R.join(": ..., ")+": ...}":"{key: someKey}";if(!le[A+O])v('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',O,A,R.length>0?"{"+R.join(": ..., ")+": ...}":"{}",A),le[A+O]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){te(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),te(null);break}}null!==e.ref&&(te(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(k):se(k),k};reactJsxDevRuntime_development.Fragment=r,reactJsxDevRuntime_development.jsxDEV=ue}()),reactJsxDevRuntime_development}function requireJsxDevRuntime(){return hasRequiredJsxDevRuntime||(hasRequiredJsxDevRuntime=1,jsxDevRuntime.exports=requireReactJsxDevRuntime_development()),jsxDevRuntime.exports}var jsxDevRuntimeExports=requireJsxDevRuntime();function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function clsx(){for(var e,t,n=0,o="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}const CLASS_PART_SEPARATOR="-",createClassGroupUtils=e=>{const t=createClassMap(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split(CLASS_PART_SEPARATOR);return""===n[0]&&1!==n.length&&n.shift(),getGroupRecursive(n,t)||getGroupIdForArbitraryProperty(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},getGroupRecursive=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?getGroupRecursive(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join(CLASS_PART_SEPARATOR);return t.validators.find(({validator:e})=>e(a))?.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=e=>{if(arbitraryPropertyRegex.test(e)){const t=arbitraryPropertyRegex.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},createClassMap=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)processClassesRecursively(n[o],r,o,t);return r},processClassesRecursively=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:getPart(t,e)).classGroupId=n)}if("function"==typeof e)return isThemeGetter(e)?void processClassesRecursively(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{processClassesRecursively(o,getPart(t,e),n,r)})})},getPart=(e,t)=>{let n=e;return t.split(CLASS_PART_SEPARATOR).forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},isThemeGetter=e=>e.isThemeGetter,createLruCache=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,a)=>{n.set(o,a),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))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},IMPORTANT_MODIFIER="!",MODIFIER_SEPARATOR=":",MODIFIER_SEPARATOR_LENGTH=MODIFIER_SEPARATOR.length,createParseClassName=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,a=0;for(let l=0;l<e.length;l++){let i=e[l];if(0===r&&0===o){if(i===MODIFIER_SEPARATOR){t.push(e.slice(a,l)),a=l+MODIFIER_SEPARATOR_LENGTH;continue}if("/"===i){n=l;continue}}"["===i?r++:"]"===i?r--:"("===i?o++:")"===i&&o--}const i=0===t.length?e:e.substring(a),s=stripImportantModifier(i);return{modifiers:t,hasImportantModifier:s!==i,baseClassName:s,maybePostfixModifierPosition:n&&n>a?n-a:void 0}};if(t){const e=t+MODIFIER_SEPARATOR,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},stripImportantModifier=e=>e.endsWith(IMPORTANT_MODIFIER)?e.substring(0,e.length-1):e.startsWith(IMPORTANT_MODIFIER)?e.substring(1):e,createSortModifiers=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}},createConfigUtils=e=>({cache:createLruCache(e.cacheSize),parseClassName:createParseClassName(e),sortModifiers:createSortModifiers(e),...createClassGroupUtils(e)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],s=e.trim().split(SPLIT_CLASSES_REGEX);let l="";for(let u=s.length-1;u>=0;u-=1){const e=s[u],{isExternal:t,modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let m=!!f,h=r(m?p.substring(0,f):p);if(!h){if(!m){l=e+(l.length>0?" "+l:l);continue}if(h=r(p),!h){l=e+(l.length>0?" "+l:l);continue}m=!1}const v=a(c).join(":"),g=d?v+IMPORTANT_MODIFIER:v,b=g+h;if(i.includes(b))continue;i.push(b);const y=o(h,m);for(let n=0;n<y.length;++n){const e=y[n];i.push(g+e)}l=e+(l.length>0?" "+l:l)}return l};function twJoin(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=toValue(e))&&(r&&(r+=" "),r+=t);return r}const toValue=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=toValue(e[r]))&&(n&&(n+=" "),n+=t);return n};function createTailwindMerge(e,...t){let n,r,o,a=function(s){const l=t.reduce((e,t)=>t(e),e());return n=createConfigUtils(l),r=n.cache.get,o=n.cache.set,a=i,i(s)};function i(e){const t=r(e);if(t)return t;const a=mergeClassList(e,n);return o(e,a),a}return function(){return a(twJoin.apply(null,arguments))}}const fromTheme=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},arbitraryValueRegex=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,arbitraryVariableRegex=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fractionRegex=/^\d+\/\d+$/,tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\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$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isFraction=e=>fractionRegex.test(e),isNumber=e=>!!e&&!Number.isNaN(Number(e)),isInteger=e=>!!e&&Number.isInteger(Number(e)),isPercent=e=>e.endsWith("%")&&isNumber(e.slice(0,-1)),isTshirtSize=e=>tshirtUnitRegex.test(e),isAny=()=>!0,isLengthOnly=e=>lengthUnitRegex.test(e)&&!colorFunctionRegex.test(e),isNever=()=>!1,isShadow=e=>shadowRegex.test(e),isImage=e=>imageRegex.test(e),isAnyNonArbitrary=e=>!isArbitraryValue(e)&&!isArbitraryVariable(e),isArbitrarySize=e=>getIsArbitraryValue(e,isLabelSize,isNever),isArbitraryValue=e=>arbitraryValueRegex.test(e),isArbitraryLength=e=>getIsArbitraryValue(e,isLabelLength,isLengthOnly),isArbitraryNumber=e=>getIsArbitraryValue(e,isLabelNumber,isNumber),isArbitraryPosition=e=>getIsArbitraryValue(e,isLabelPosition,isNever),isArbitraryImage=e=>getIsArbitraryValue(e,isLabelImage,isImage),isArbitraryShadow=e=>getIsArbitraryValue(e,isLabelShadow,isShadow),isArbitraryVariable=e=>arbitraryVariableRegex.test(e),isArbitraryVariableLength=e=>getIsArbitraryVariable(e,isLabelLength),isArbitraryVariableFamilyName=e=>getIsArbitraryVariable(e,isLabelFamilyName),isArbitraryVariablePosition=e=>getIsArbitraryVariable(e,isLabelPosition),isArbitraryVariableSize=e=>getIsArbitraryVariable(e,isLabelSize),isArbitraryVariableImage=e=>getIsArbitraryVariable(e,isLabelImage),isArbitraryVariableShadow=e=>getIsArbitraryVariable(e,isLabelShadow,!0),getIsArbitraryValue=(e,t,n)=>{const r=arbitraryValueRegex.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},getIsArbitraryVariable=(e,t,n=!1)=>{const r=arbitraryVariableRegex.exec(e);return!!r&&(r[1]?t(r[1]):n)},isLabelPosition=e=>"position"===e||"percentage"===e,isLabelImage=e=>"image"===e||"url"===e,isLabelSize=e=>"length"===e||"size"===e||"bg-size"===e,isLabelLength=e=>"length"===e,isLabelNumber=e=>"number"===e,isLabelFamilyName=e=>"family-name"===e,isLabelShadow=e=>"shadow"===e,getDefaultConfig=()=>{const e=fromTheme("color"),t=fromTheme("font"),n=fromTheme("text"),r=fromTheme("font-weight"),o=fromTheme("tracking"),a=fromTheme("leading"),i=fromTheme("breakpoint"),s=fromTheme("container"),l=fromTheme("spacing"),u=fromTheme("radius"),c=fromTheme("shadow"),d=fromTheme("inset-shadow"),p=fromTheme("text-shadow"),f=fromTheme("drop-shadow"),m=fromTheme("blur"),h=fromTheme("perspective"),v=fromTheme("aspect"),g=fromTheme("ease"),b=fromTheme("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",isArbitraryVariable,isArbitraryValue],w=()=>[isArbitraryVariable,isArbitraryValue,l],x=()=>[isFraction,"full","auto",...w()],_=()=>[isInteger,"none","subgrid",isArbitraryVariable,isArbitraryValue],S=()=>["auto",{span:["full",isInteger,isArbitraryVariable,isArbitraryValue]},isInteger,isArbitraryVariable,isArbitraryValue],E=()=>[isInteger,"auto",isArbitraryVariable,isArbitraryValue],k=()=>["auto","min","max","fr",isArbitraryVariable,isArbitraryValue],C=()=>["auto",...w()],T=()=>[isFraction,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],A=()=>[e,isArbitraryVariable,isArbitraryValue],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",isArbitraryVariablePosition,isArbitraryPosition,{position:[isArbitraryVariable,isArbitraryValue]}],O=()=>["auto","cover","contain",isArbitraryVariableSize,isArbitrarySize,{size:[isArbitraryVariable,isArbitraryValue]}],D=()=>[isPercent,isArbitraryVariableLength,isArbitraryLength],N=()=>["","none","full",u,isArbitraryVariable,isArbitraryValue],P=()=>["",isNumber,isArbitraryVariableLength,isArbitraryLength],I=()=>[isNumber,isPercent,isArbitraryVariablePosition,isArbitraryPosition],M=()=>["","none",m,isArbitraryVariable,isArbitraryValue],j=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],L=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],V=()=>[isNumber,isArbitraryVariable,isArbitraryValue],F=()=>[isFraction,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[isTshirtSize],breakpoint:[isTshirtSize],color:[isAny],container:[isTshirtSize],"drop-shadow":[isTshirtSize],ease:["in","out","in-out"],font:[isAnyNonArbitrary],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[isTshirtSize],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[isTshirtSize],shadow:[isTshirtSize],spacing:["px",isNumber],text:[isTshirtSize],"text-shadow":[isTshirtSize],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",isFraction,isArbitraryValue,isArbitraryVariable,v]}],container:["container"],columns:[{columns:[isNumber,isArbitraryValue,isArbitraryVariable,s]}],"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:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{start:x()}],end:[{end:x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[isInteger,"auto",isArbitraryVariable,isArbitraryValue]}],basis:[{basis:[isFraction,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[isNumber,isFraction,"auto","initial","none",isArbitraryValue]}],grow:[{grow:["",isNumber,isArbitraryVariable,isArbitraryValue]}],shrink:[{shrink:["",isNumber,isArbitraryVariable,isArbitraryValue]}],order:[{order:[isInteger,"first","last","none",isArbitraryVariable,isArbitraryValue]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],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:T()}],w:[{w:[s,"screen",...T()]}],"min-w":[{"min-w":[s,"screen","none",...T()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",n,isArbitraryVariableLength,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,isArbitraryVariable,isArbitraryNumber]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",isPercent,isArbitraryValue]}],"font-family":[{font:[isArbitraryVariableFamilyName,isArbitraryValue,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:[o,isArbitraryVariable,isArbitraryValue]}],"line-clamp":[{"line-clamp":[isNumber,"none",isArbitraryVariable,isArbitraryNumber]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",isArbitraryVariable,isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",isArbitraryVariable,isArbitraryValue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[isNumber,"from-font","auto",isArbitraryVariable,isArbitraryLength]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[isNumber,"auto",isArbitraryVariable,isArbitraryValue]}],"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",isArbitraryVariable,isArbitraryValue]}],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",isArbitraryVariable,isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},isInteger,isArbitraryVariable,isArbitraryValue],radial:["",isArbitraryVariable,isArbitraryValue],conic:[isInteger,isArbitraryVariable,isArbitraryValue]},isArbitraryVariableImage,isArbitraryImage]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:P()}],"border-w-x":[{"border-x":P()}],"border-w-y":[{"border-y":P()}],"border-w-s":[{"border-s":P()}],"border-w-e":[{"border-e":P()}],"border-w-t":[{"border-t":P()}],"border-w-r":[{"border-r":P()}],"border-w-b":[{"border-b":P()}],"border-w-l":[{"border-l":P()}],"divide-x":[{"divide-x":P()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":P()}],"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:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[isNumber,isArbitraryVariable,isArbitraryValue]}],"outline-w":[{outline:["",isNumber,isArbitraryVariableLength,isArbitraryLength]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",c,isArbitraryVariableShadow,isArbitraryShadow]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",d,isArbitraryVariableShadow,isArbitraryShadow]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[isNumber,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":P()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",p,isArbitraryVariableShadow,isArbitraryShadow]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[isNumber,isArbitraryVariable,isArbitraryValue]}],"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":[isNumber]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[isArbitraryVariable,isArbitraryValue]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"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":[isNumber]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",isArbitraryVariable,isArbitraryValue]}],filter:[{filter:["","none",isArbitraryVariable,isArbitraryValue]}],blur:[{blur:M()}],brightness:[{brightness:[isNumber,isArbitraryVariable,isArbitraryValue]}],contrast:[{contrast:[isNumber,isArbitraryVariable,isArbitraryValue]}],"drop-shadow":[{"drop-shadow":["","none",f,isArbitraryVariableShadow,isArbitraryShadow]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"hue-rotate":[{"hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],invert:[{invert:["",isNumber,isArbitraryVariable,isArbitraryValue]}],saturate:[{saturate:[isNumber,isArbitraryVariable,isArbitraryValue]}],sepia:[{sepia:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-filter":[{"backdrop-filter":["","none",isArbitraryVariable,isArbitraryValue]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-contrast":[{"backdrop-contrast":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-invert":[{"backdrop-invert":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-opacity":[{"backdrop-opacity":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-saturate":[{"backdrop-saturate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-sepia":[{"backdrop-sepia":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"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",isArbitraryVariable,isArbitraryValue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[isNumber,"initial",isArbitraryVariable,isArbitraryValue]}],ease:[{ease:["linear","initial",g,isArbitraryVariable,isArbitraryValue]}],delay:[{delay:[isNumber,isArbitraryVariable,isArbitraryValue]}],animate:[{animate:["none",b,isArbitraryVariable,isArbitraryValue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,isArbitraryVariable,isArbitraryValue]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:j()}],"rotate-x":[{"rotate-x":j()}],"rotate-y":[{"rotate-y":j()}],"rotate-z":[{"rotate-z":j()}],scale:[{scale:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{skew:V()}],"skew-x":[{"skew-x":V()}],"skew-y":[{"skew-y":V()}],transform:[{transform:[isArbitraryVariable,isArbitraryValue,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"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",isArbitraryVariable,isArbitraryValue]}],"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",isArbitraryVariable,isArbitraryValue]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[isNumber,isArbitraryVariableLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:["none",...A()]}],"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"]}},twMerge=createTailwindMerge(getDefaultConfig),cx=(...e)=>twMerge(clsx(...e)),createEnhancedAtom=(e,t,n,r)=>{const o=createAtom(e,t&&(()=>t(o)),n&&(()=>n(o)));return o.meta=r??{},o.reportChanged=o.reportChanged.bind(o),o.reportObserved=o.reportObserved.bind(o),o},requestPermission=async(e,t)=>{if(globalThis.navigator&&"permissions"in globalThis.navigator)try{const n=await navigator.permissions.query({name:e});t.meta.permissionStatus=n,"prompt"!==t.meta.permissionStatus.state&&t.reportChanged(),t.meta.permissionStatus.addEventListener("change",t.reportChanged)}catch(n){runInAction(()=>{t.meta.error=n})}},getOrCreatePermissionAtom=(e,t)=>(e._atom||(e._atom=createEnhancedAtom(`${t}_permission`,e=>{e.meta.permissionStatus||requestPermission(t,e)},e=>e.meta.permissionStatus?.removeEventListener("change",e.reportChanged),makeObservable({retry:()=>requestPermission(t,e._atom)},{error:observable.ref}))),e._atom),createPermissionInfo=e=>({retry(){return getOrCreatePermissionAtom(this,e).meta.retry()},get state(){const t=getOrCreatePermissionAtom(this,e);return t.reportObserved(),t.meta.permissionStatus?.state??"prompt"},get isGranted(){return"granted"===this.state},get isDenied(){return"denied"===this.state},get isPrompt(){return"prompt"===this.state},get error(){const t=getOrCreatePermissionAtom(this,e);return t.reportObserved(),t.meta.error}}),permissions=new Proxy({},{get:(e,t)=>(e[t]||(e[t]=createPermissionInfo(t)),e[t])});class BaseGeolocationProvider{constructor(e){this.positionOptions=e,makeObservable(this,{position:observable.deep,error:computed.struct}),onBecomeObserved(this,"position",()=>{this.activate()}),onBecomeUnobserved(this,"position",()=>{this.deactivate()})}watchId;position={coords:{accuracy:0,altitude:null,altitudeAccuracy:null,heading:null,latitude:0,longitude:0,speed:null},timestamp:0};get error(){return permissions.geolocation.error}activate(){return!(!globalThis.navigator||!("geolocation"in globalThis.navigator))&&(globalThis.navigator.geolocation.getCurrentPosition(action(e=>{this.position=e}),void 0,this.positionOptions),this.watchId=globalThis.navigator.geolocation.watchPosition(action(e=>{this.position=e}),void 0,this.positionOptions),!0)}deactivate(){null!=this.watchId&&globalThis.navigator.geolocation.clearWatch(this.watchId)}}makeObservable({get permission(){return permissions.geolocation},get position(){return this.provider||(this.provider=new BaseGeolocationProvider),this.provider.position}},{position:computed.struct});const matchMediaTrackerFactory={_trackers:new Map,create(e){if(this._trackers.has(e))return this._trackers.get(e);const t=globalThis.matchMedia(e),n={_atom:createEnhancedAtom(`matchMediaTracker_${e}`,e=>{t.addEventListener("change",e.reportChanged)},e=>{t.removeEventListener("change",e.reportChanged)}),get matches(){return this._atom.reportObserved(),t.matches}};return this._trackers.set(e,n),n}};makeObservable({get sizes(){return this._atom||(this._atom=createEnhancedAtom("mediaQuery_sizes",e=>{globalThis.addEventListener?.("resize",e.reportChanged)},e=>{globalThis.removeEventListener?.("resize",e.reportChanged)})),this._atom.reportObserved(),{inner:{width:globalThis.innerWidth??0,height:globalThis.innerHeight??0},outer:{width:globalThis.outerWidth??0,height:globalThis.outerHeight??0},client:{width:globalThis.document?.documentElement?.clientWidth??0,height:globalThis.document?.documentElement?.clientHeight??0},offset:{width:globalThis.document?.documentElement?.offsetWidth??0,height:globalThis.document?.documentElement?.offsetHeight??0}}},track:e=>matchMediaTrackerFactory.create(e),match:e=>matchMediaTrackerFactory.create(e).matches},{sizes:computed.struct});const pageVisibility={get isVisible(){return!globalThis.document||(this._atom||(this._atom=createEnhancedAtom("pageVisibility",e=>globalThis.document.addEventListener("visibilitychange",e.reportChanged),e=>{globalThis.document.removeEventListener("visibilitychange",e.reportChanged)})),this._atom.reportObserved(),"visible"===globalThis.document.visibilityState)},get isHidden(){return!this.isVisible}},keysMapping=[["current","language"],["all","languages"]];makeObservable(keysMapping.reduce((e,[t,n])=>(Object.defineProperty(e,t,{get(){e._atom||(e._atom=createEnhancedAtom("languages",e=>{globalThis.addEventListener("languagechange",e.reportChanged)},e=>{globalThis.removeEventListener("languagechange",e.reportChanged)},{headerLanguage:computed(()=>{if(!e.acceptLanguageHeader)return null;const t=e.acceptLanguageHeader.split(",").map(e=>e.split(";")[0]?.trim()).filter(e=>e&&"*"!==e);return t.length?{language:t[0],languages:t}:null})})),e._atom.reportObserved();return(e._atom.meta.headerLanguage.get()??globalThis.navigator)[n]}}),e),{acceptLanguageHeader:void 0}),{acceptLanguageHeader:observable.ref});const screenOrientationKeys=["angle","type"],screenOrientationInfo=screenOrientationKeys.reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>(e._atom||(e._atom=createEnhancedAtom("screen-orientation-info-atom",e=>{globalThis.screen.orientation.addEventListener("change",e.reportChanged)},e=>{globalThis.screen.orientation.removeEventListener("change",e.reportChanged)})),e._atom.reportObserved(),globalThis.screen.orientation[t])}),e),{}),screenKeys=["availWidth","availHeight","colorDepth","height","pixelDepth","width","orientation"];screenKeys.reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>(e._atom||(e._atom=createEnhancedAtom("screen-change-atom",e=>{globalThis.screen.addEventListener?.("change",e.reportChanged)},e=>{globalThis.screen.removeEventListener?.("change",e.reportChanged)})),e._atom.reportObserved(),"orientation"===t?screenOrientationInfo:globalThis.screen[t])}),e),{});const vmPopup="vmPopup_0hkGL",dragging$1="dragging_bOvPC",closePopupButton="closePopupButton_igv9j",css$6={vmPopup:vmPopup,dragging:dragging$1,closePopupButton:closePopupButton};class VmDevtoolsPopupVM extends ViewModelImpl{devtools=this.parentViewModel.devtools;static lastX=null;dragState={isDragging:!1,offsetX:0,hasMoved:!1,startX:0};rect=null;contentRef=createRef({onSet:e=>{null!==VmDevtoolsPopupVM.lastX&&(e.style.left=`${this.fixX(VmDevtoolsPopupVM.lastX)}px`),e.addEventListener("mousedown",t=>{if(!t.composedPath().some(e=>e.dataset?.contentHeader))return;this.dragState.isDragging=!0,this.dragState.hasMoved=!1;const n=e.getBoundingClientRect();this.dragState.offsetX=n.left-t.clientX,this.dragState.startX=n.left,e.classList.add(css$6.dragging)},{signal:this.unmountSignal});const t=()=>{this.dragState.isDragging=!1,e.classList.remove(css$6.dragging),this.dragState.hasMoved=!1};reaction(()=>pageVisibility.isHidden,e=>{e&&t()},{signal:this.unmountSignal}),document.addEventListener("mousemove",t=>{if(!this.dragState.isDragging)return;const n=this.fixX(t.clientX+this.dragState.offsetX);e.style.left=`${n}px`,VmDevtoolsPopupVM.lastX=n,n!==this.dragState.startX&&(this.dragState.hasMoved=!0)},{signal:this.unmountSignal}),document.addEventListener("mouseup",t,{signal:this.unmountSignal}),window.addEventListener("blur",t,{signal:this.unmountSignal})}});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.contentRef.current?.getBoundingClientRect(),{left:this.rect?.left??0,top:this.rect?.top??0}}get size(){return!this.rect&&this.contentRef.current&&(this.rect=this.contentRef.current.getBoundingClientRect()),{width:this.rect?.width??0,height:this.rect?.height??0}}fixX(e){const t=window.innerWidth-this.size.width-12;return clamp(("string"==typeof e?+e.replace("px",""):e)||0,12,t)}}const vmButton="vmButton_esipO",dragging="dragging_kUMCE",opened="opened_NYAFW",isConnected="isConnected_eObxX",css$5={vmButton:vmButton,dragging:dragging,opened:opened,isConnected:isConnected};class VmDevtoolsButtonVM extends ViewModelBase{devtools=this.parentViewModel.devtools;storage=new Storage({namespace:"mobx-view-model-devtools",prefix:"devtools-button",type:"local"});rect=null;ref=createRef({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:""}),{x:o,y:a}=this.fixPosition(n,r);e.style.left=`${o}px`,e.style.top=`${a}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(css$5.dragging)},{signal:this.unmountSignal});const i=()=>{t.isDragging=!1,e.classList.remove(css$5.dragging),this.storage.set({key:"left",value:e.style.left}),this.storage.set({key:"top",value:e.style.top}),this.position!==this.devtools.position&&runInAction(()=>{this.devtools.position=this.position})};e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()},{signal:this.unmountSignal}),document.addEventListener("mousemove",n=>{if(!t.isDragging)return;const{x:r,y:o}=this.fixPosition(n.clientX+t.offsetX,n.clientY+t.offsetY);e.style.left=`${r}px`,e.style.top=`${o}px`,VmDevtoolsPopupVM.lastX=null,r===t.startX&&o===t.startY||(t.hasMoved=!0)},{signal:this.unmountSignal}),document.addEventListener("mouseup",i,{signal:this.unmountSignal}),window.addEventListener("blur",i,{signal:this.unmountSignal})}});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,o="string"==typeof e?+e.replace("px",""):e,a="string"==typeof t?+t.replace("px",""):t;return{x:clamp(o||0,12,n),y:clamp(a||0,12,r)}}}const VmDevtoolsButton=withViewModel(VmDevtoolsButtonVM,({model:e})=>jsxDevRuntimeExports.jsxDEV("button",{className:cx(css$5.vmButton,{[css$5.opened]:e.devtools.isPopupOpened,[css$5.isConnected]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[jsxDevRuntimeExports.jsxDEV("img",{src:e.devtools.logoUrl},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:22,columnNumber:9},void 0),jsxDevRuntimeExports.jsxDEV("div",{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:23,columnNumber:9},void 0),jsxDevRuntimeExports.jsxDEV("span",{children:e.devtools.allVms.length},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:24,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:10,columnNumber:7},void 0)),ArrowsRotateRight=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 1.5a6.5 6.5 0 0 0-6.445 5.649.75.75 0 1 0 1.488.194A5.001 5.001 0 0 1 11.57 4.5h-1.32a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 .75-.75v-3a.75.75 0 0 0-1.5 0v1.06A6.48 6.48 0 0 0 8 1.5m-5.25 13a.75.75 0 0 1-.75-.75v-3a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 0 1.5H4.43a5.001 5.001 0 0 0 8.528-2.843.75.75 0 1 1 1.487.194A6.501 6.501 0 0 1 3.5 12.691v1.059a.75.75 0 0 1-.75.75",clipRule:"evenodd"})),BarsAscendingAlignLeftArrowDown=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),BarsDescendingAlignCenter=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),BarsDescendingAlignLeftArrowUp=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Check=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.488 3.43a.75.75 0 0 1 .081 1.058l-6 7a.75.75 0 0 1-1.1.042l-3.5-3.5A.75.75 0 0 1 4.03 6.97l2.928 2.927 5.473-6.385a.75.75 0 0 1 1.057-.081",clipRule:"evenodd"})),ChevronRight=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Copy=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),FileArrowRightOut=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7.14a3 3 0 0 0-.758-1.992L8.395 2.507A3 3 0 0 0 6.153 1.5H4a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h6.25a.75.75 0 0 0 0-1.5H4a1.5 1.5 0 0 1-1.5-1.5v-7A1.5 1.5 0 0 1 4 3h1.5v2a3 3 0 0 0 3 3h2.25a.75.75 0 0 0 .75-.75zM9.856 6.5H8.5A1.5 1.5 0 0 1 7 5V3.262q.15.103.274.241L9.62 6.144a1.5 1.5 0 0 1 .235.356M13.44 11l-.72.72a.75.75 0 1 0 1.061 1.06l2-2a.75.75 0 0 0 0-1.06l-2-2a.75.75 0 1 0-1.06 1.06l.72.72H6.75a.75.75 0 0 0 0 1.5z",clipRule:"evenodd"})),FolderTree=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),ListUl=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Magnifier=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),Pencil=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.423 1A3.577 3.577 0 0 1 15 4.577c0 .27-.108.53-.3.722l-.528.529-1.971 1.971-5.059 5.059a3 3 0 0 1-1.533.82l-2.638.528a1 1 0 0 1-1.177-1.177l.528-2.638a3 3 0 0 1 .82-1.533l5.059-5.059 2.5-2.5c.191-.191.451-.299.722-.299m-2.31 4.009-4.91 4.91a1.5 1.5 0 0 0-.41.766l-.38 1.903 1.902-.38a1.5 1.5 0 0 0 .767-.41l4.91-4.91a2.08 2.08 0 0 0-1.88-1.88m3.098.658a3.6 3.6 0 0 0-1.878-1.879l1.28-1.28c.995.09 1.788.884 1.878 1.88z",clipRule:"evenodd"})),Play=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.createElement("path",{fill:"currentColor",d:"M14.642 6.285c1.294.777 1.294 2.653 0 3.43L5.53 15.183c-1.292.775-2.924-.102-3.025-1.571l-.005-.144V2.532l.005-.143C2.605.919 4.238.043 5.53.818zm-.771 2.144a.5.5 0 0 0 0-.857L4.756 2.104A.5.5 0 0 0 4 2.532v10.936a.5.5 0 0 0 .757.429z"})),Xmark=e=>reactExports.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),reactExports.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"})),iconToggleButton="iconToggleButton_R48wm",activePosition="activePosition_IXsRn",option="option_a5IcR",active="active_6QS-2",css$4={iconToggleButton:iconToggleButton,activePosition:activePosition,option:option,active:active},IconToggleButton=({value:e,options:t,className:n,onUpdate:r})=>{const o=[];let a;return t.forEach((n,i)=>{const{icon:s,value:l}=n,u=e===l;u&&(a=i),o.push(jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$4.option,{[css$4.active]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[i].value)},children:jsxDevRuntimeExports.jsxDEV(s,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:40,columnNumber:9},void 0)},i,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:29,columnNumber:7},void 0))}),jsxDevRuntimeExports.jsxDEV("button",{className:cx(css$4.iconToggleButton,n),children:[jsxDevRuntimeExports.jsxDEV("div",{className:css$4.activePosition,style:{"--index":a}},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:47,columnNumber:7},void 0),o]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:46,columnNumber:5},void 0)};var __assign=function(){return __assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign.apply(this,arguments)};function getElementWindow$1(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function getElementDocument$1(e){return e&&e.ownerDocument?e.ownerDocument:document}var getOptions$1=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 addClasses$1(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function removeClasses$1(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function classNamesToQuery$1(e){return".".concat(e.split(" ").join("."))}var canUseDOM$1=!("undefined"==typeof window||!window.document||!window.document.createElement),helpers=Object.freeze({__proto__:null,addClasses:addClasses$1,canUseDOM:canUseDOM$1,classNamesToQuery:classNamesToQuery$1,getElementDocument:getElementDocument$1,getElementWindow:getElementWindow$1,getOptions:getOptions$1,removeClasses:removeClasses$1}),cachedScrollbarWidth=null,cachedDevicePixelRatio=null;function scrollbarWidth(){if(null===cachedScrollbarWidth){if("undefined"==typeof document)return cachedScrollbarWidth=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),cachedScrollbarWidth=n}return cachedScrollbarWidth}canUseDOM$1&&window.addEventListener("resize",function(){cachedDevicePixelRatio!==window.devicePixelRatio&&(cachedDevicePixelRatio=window.devicePixelRatio,cachedScrollbarWidth=null)});var getElementWindow=getElementWindow$1,getElementDocument=getElementDocument$1,getOptions$2=getOptions$1,addClasses$2=addClasses$1,removeClasses=removeClasses$1,classNamesToQuery=classNamesToQuery$1,SimpleBarCore=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=getElementWindow(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,addClasses$2(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(){removeClasses(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(addClasses$2(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){removeClasses(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,o,a,i,s,l,u,c,d,p,f;if(r.draggedAxis&&r.contentWrapperEl){var m=r.axis[r.draggedAxis].track,h=null!==(o=null===(n=m.rect)||void 0===n?void 0:n[r.axis[r.draggedAxis].sizeAttr])&&void 0!==o?o:0,v=r.axis[r.draggedAxis].scrollbar,g=null!==(i=null===(a=r.contentWrapperEl)||void 0===a?void 0:a[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==i?i:0,b=parseInt(null!==(l=null===(s=r.elStyles)||void 0===s?void 0:s[r.axis[r.draggedAxis].sizeAttr])&&void 0!==l?l:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===r.draggedAxis?t.pageY:t.pageX)-(null!==(c=null===(u=m.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!==(p=null===(d=m.rect)||void 0===d?void 0:d[r.axis[r.draggedAxis].sizeAttr])&&void 0!==p?p:0)-v.size-y:y)/(h-v.size)*(g-b);"x"===r.draggedAxis&&r.isRtl&&(w=(null===(f=e.getRtlHelpers())||void 0===f?void 0:f.isScrollingToNegative)?-w:w),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){r.isDragging=!1;var t=getElementDocument(r.el),n=getElementWindow(r.el);e.preventDefault(),e.stopPropagation(),removeClasses(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=__assign(__assign({},e.defaultOptions),n),this.classNames=__assign(__assign({},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=throttle(this._onMouseMove,64),this.onWindowResize=debounce(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=debounce(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=debounce(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 o=e.getOffset(n),a=e.getOffset(r);n.scrollLeft=-999;var i=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==a.left,isScrollingToNegative:a.left!==i.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:scrollbarWidth()}catch(e){return scrollbarWidth()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=getElementDocument(e),r=getElementWindow(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){canUseDOM$1&&(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(classNamesToQuery(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(classNamesToQuery(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(classNamesToQuery(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(classNamesToQuery(this.classNames.offset)),this.maskEl=this.el.querySelector(classNamesToQuery(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,classNamesToQuery(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(classNamesToQuery(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(classNamesToQuery(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(classNamesToQuery(this.classNames.track)).concat(classNamesToQuery(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(classNamesToQuery(this.classNames.track)).concat(classNamesToQuery(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(classNamesToQuery(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(classNamesToQuery(this.classNames.scrollbar)))||null,this.options.autoHide||(addClasses$2(this.axis.x.scrollbar.el,this.classNames.visible),addClasses$2(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=getElementWindow(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,o=n.ResizeObserver||ResizeObserver;this.resizeObserver=new o(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=getElementWindow(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,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,i=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 s=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||l,"px"):"auto",this.placeholderEl.style.height="".concat(s,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&l>t,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==a&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==i&&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&&l>o-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>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,o=this.contentEl[this.axis[e].scrollSizeAttr],a=null!==(n=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==n?n:0,i=a/o;return r=Math.max(~~(i*a),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(r=Math.min(r,this.options.scrollbarMaxSize)),r},e.prototype.positionScrollbar=function(t){var n,r,o;void 0===t&&(t="y");var a=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&a.el&&this.elStyles){var i=this.contentWrapperEl[this.axis[t].scrollSizeAttr],s=(null===(n=this.axis[t].track.el)||void 0===n?void 0:n[this.axis[t].offsetSizeAttr])||0,l=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===(o=e.getRtlHelpers())||void 0===o?void 0:o.isScrollingToNegative)?u:-u);var c=u/(i-l),d=~~((s-a.size)*c);d="x"===t&&this.isRtl?-d+(s-a.size):d,a.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&&(addClasses$2(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&&(removeClasses(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),addClasses$2(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?addClasses$2(t.scrollbar.el,this.classNames.hover):removeClasses(t.scrollbar.el,this.classNames.hover)):(removeClasses(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),removeClasses(this.axis[e].track.el,this.classNames.hover),removeClasses(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=getElementDocument(this.el),o=getElementWindow(this.el),a=this.axis[t].scrollbar,i="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=i-((null===(n=a.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])||0),this.draggedAxis=t,addClasses$2(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)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n,r,o,a,i=this;void 0===t&&(t="y");var s=this.axis[t];if(this.options.clickOnTrack&&s.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var l=getElementWindow(this.el);this.axis[t].scrollbar.rect=s.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!==(a=null===(o=this.elStyles)||void 0===o?void 0:o[this.axis[t].sizeAttr])&&void 0!==a?a:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],p=("y"===t?this.mouseY-u:this.mouseX-u)<0?-1:1,f=-1===p?d-c:d+c,m=function(){i.contentWrapperEl&&(-1===p?d>f&&(d-=40,i.contentWrapperEl[i.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(m)):d<f&&(d+=40,i.contentWrapperEl[i.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(m)))};m()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=getElementWindow(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=getOptions$2,e.helpers=helpers,e}(),extendStatics=function(e,t){return(extendStatics=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)};function __extends(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}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var _a=SimpleBarCore.helpers,getOptions=_a.getOptions,addClasses=_a.addClasses,canUseDOM=_a.canUseDOM,SimpleBar=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return t.instances.set(n[0],o),o}return __extends(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,getOptions(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"),addClasses(this.wrapperEl,this.classNames.wrapper),addClasses(this.contentWrapperEl,this.classNames.contentWrapper),addClasses(this.offsetEl,this.classNames.offset),addClasses(this.maskEl,this.classNames.mask),addClasses(this.contentEl,this.classNames.contentEl),addClasses(this.placeholderEl,this.classNames.placeholder),addClasses(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),addClasses(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 o=document.createElement("div"),a=document.createElement("div");addClasses(o,this.classNames.track),addClasses(a,this.classNames.scrollbar),o.appendChild(a),this.axis.x.track.el=o.cloneNode(!0),addClasses(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),addClasses(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}SimpleBarCore.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){SimpleBarCore.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,getOptions(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,getOptions(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}(SimpleBarCore);canUseDOM&&SimpleBar.initHtmlApi();class ListItem{constructor(e,t,n,r,o){this.devtools=e,this.key=t,this._data=n,this.getChildren=r,this.cache=o??e.anyCache,this.expandKey=`${t}/expand-key`,computed(this,"isExpanded"),computed(this,"totalChildCount"),computed(this,"depthLine"),computed(this,"depth"),computed(this,"stringifiedData"),computed.struct(this,"operations"),computed.struct(this,"children"),computed.struct(this,"expandedChildren"),computed.struct(this,"expandedChildrenWithSelf"),computed(this,"data"),computed(this,"isExpandable"),action(this,"expand"),action(this,"collapse"),makeObservable(this)}position=0;metaData={};cache;tempVarName="";dataWatchAtom=createAtom("");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=new Set,t=[],n=r=>{if(!e.has(r)&&(e.add(r),t.push(r),r.isExpanded)){for(const e of r.children)n(e);r.closingItem&&t.push(r.closingItem)}};for(const r of this.children)n(r);return t}get expandedChildrenWithSelf(){return[this,...this.expandedChildren]}get data(){return this._data}get closingItem(){return null}get depthLine(){return String().padEnd(this.depth,"-")}get stringifiedData(){return String(this.data)}get operations(){return[{title:"Save into $temp(N) global variable. $temp1, $temp2, $temp3",icon:FileArrowRightOut,action:()=>{if(!this.tempVarName){let e=1;for(;`$temp${e}`in globalThis;)e++;this.tempVarName=`$temp${e}`}Object.assign(globalThis,{[this.tempVarName]:this.data}),this.devtools.notifications.push({title:this.getSavedTempVarNotification(this.tempVarName)})}},{title:"Refresh value",icon:ArrowsRotateRight,action:()=>this.dataWatchAtom.reportChanged()}]}getSavedTempVarNotification(e){return`Saved into ${e}`}expandKey}const ignoredKeys=new Set(["constructor"]),ignoredPrototypes=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 getAllKeys(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)ignoredKeys.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(ignoredPrototypes.has(r))break;n=r}return Array.from(t)}class MetaListItem extends ListItem{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}class VMListItem extends ListItem{constructor(e,t,n,r){const o=t.constructor.name;super(e,`${o}-${t.id}`,t),this.allVms=n,this.parent=r,this.displayName=o,this.searchData={name:o.toLowerCase().trim(),id:(t.id||"").toLowerCase().trim()},computed.struct(this,"childVMListItems"),computed.struct(this,"propertyListItems"),makeObservable(this),untracked(()=>{this.cache.has(this.expandKey)||this.expand()})}get childVMListItems(){return this.dataWatchAtom.reportObserved(),this.allVms.filter(e=>{const t=this.getVmParams(e);return t?.parentViewModel&&t.parentViewModel===this.data}).map(e=>new VMListItem(this.devtools,e,this.allVms,this))}get propertyListItems(){this.dataWatchAtom.reportObserved();let e=getAllKeys(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)=>PropertyListItem.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems,...this.childVMListItems]}getVmParams(e){return"vmParams"in e?e.vmParams:null}getSavedTempVarNotification(e){return`VM instance ${this.displayName} (${this.data.id}) saved into ${e}`}get operations(){return super.operations}get depth(){return this.parent&&"tree"===this.devtools.presentationMode?this.parent.depth+1:0}searchData;displayName}class PropertyListItem extends ListItem{constructor(e,t,n,r,o){super(e,PropertyListItem.createKey(o,t),void 0),this.property=t,this.path=n,this.order=r,this.parent=o,computed(this,"type"),computed(this,"searchData"),computed(this,"propertyClosingTag"),computed(this,"dataType"),computed(this,"stringifiedDataType"),computed(this,"extraContent"),observable.ref(this,"failedStringify"),observable.ref(this,"editContent"),observable(this,"isEditMode"),action(this,"handleChangeEditContent"),makeObservable(this)}editContent="";isEditMode=!1;get isExpanded(){return this.devtools.searchEngine.isPropertyItemExpanded(this)}get isExpandable(){return this.devtools.searchEngine.isPropertyItemExpandable(this)}get data(){return this.dataWatchAtom.reportObserved(),this.property&&this.parent.data[this.property]}get descriptor(){return this.property?Object.getOwnPropertyDescriptor(this.parent.data,this.property):null}get dataType(){return typeof this.data}get stringifiedDataType(){return Object.prototype.toString.call(this.data)}get type(){return Array.isArray(this.data)?"array":_exports.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":_exports.isFunction(this.data)?"function":_exports.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)=>PropertyListItem.create(this.devtools,e,`${this.path}.${e}`,t,this)),e.push(PropertyListItem.create(this.devtools,"length",`${this.path}.length`,e.length,this));else if("function"===this.type)e=Object.keys(this.data).map((e,t)=>PropertyListItem.create(this.devtools,e,`${this.path}.${e}`,t,this));else if("instance"===this.type||"object"===this.type)return getAllKeys(this.data).map((e,t)=>PropertyListItem.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 extraContent(){if(this.isExpanded)return null;if(this.parent.isExpanded){if(this.parent instanceof VMListItem)return",";if(this.parent instanceof PropertyListItem)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new MetaListItem(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new MetaListItem(this.devtools,`${this.key}/closing-tag`,"}",this.depth);default:return null}}get closingItem(){return this.propertyClosingTag}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.closingItem&&e.push(this.closingItem),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 runInAction(()=>{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(){const operations=[];return this.isEditMode?(operations.push("function"===this.dataType?{title:"Call function",icon:Play,action:()=>{const args=eval(`[${this.editContent.trim()}]`);this.data.apply(this.parent.data,args),this.editContent="",this.isEditMode=!1}}:{title:"Apply",icon:Check,action:()=>{this.isEditMode=!1}},{title:"Cancel",icon:Xmark,action:()=>{this.isEditMode=!1}}),operations):("function"===this.dataType?operations.push({title:"Call",icon:Play,action:()=>{this.isEditMode=!0}}):operations.push({title:"Edit",icon:Pencil,action:()=>{this.isEditMode=!0}}),"instance"===this.type||this.failedStringify||operations.push({title:"Copy",icon:Copy,action:()=>navigator.clipboard.writeText(this.stringifiedData)}),[...operations,...super.operations])}handleChangeEditContent=e=>{this.editContent=e.target.value};getSavedTempVarNotification(e){return`Property value "${this.property}" saved into ${e}`}get parentListItem(){return this.parent}static createKey(e,t){return`${e.key}-${t}`}static create(e,t,n,r,o){const a=o.cache??e.anyCache,i=`${PropertyListItem.createKey(o,t)}/list-item`;let s=a.get(i);return s||(s=new PropertyListItem(e,t,n,r,o),a.set(i,s)),s}}class ExtraListItem extends ListItem{get propertyListItems(){this.dataWatchAtom.reportObserved();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)=>PropertyListItem.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems]}get operations(){return super.operations}get depth(){return 0}searchData;displayName;constructor(e,t){const n="Extras";super(e,`extra$$$-${n}-`,t),this.displayName=n,this.searchData={name:n.toLowerCase().trim()},computed.struct(this,"propertyListItems"),makeObservable(this),untracked(()=>{this.cache.has(this.expandKey)||this.expand()})}}const root="root_Xsw1F",treeItemHeader="treeItemHeader_9gR6Q",treeItemLabel="treeItemLabel_eiMgP",treeItemMetaText="treeItemMetaText_cmfX0",treeItem="treeItem_sRXPA",vmTreeItem="vmTreeItem_t-7jc",extraTreeItem="extraTreeItem_z3KA1",css$3={root:root,treeItemHeader:treeItemHeader,treeItemLabel:treeItemLabel,treeItemMetaText:treeItemMetaText,treeItem:treeItem,vmTreeItem:vmTreeItem,extraTreeItem:extraTreeItem},expandButton="expandButton_B24E3",expanded="expanded_8-pD6",disabled="disabled_MBq1Q",vmContentVirtualizedContent="vmContentVirtualizedContent_LtS91",vmContent="vmContent_TIK57",vmContentHeader="vmContentHeader_M1JNM",vmContentHeaderLogo="vmContentHeaderLogo_FRJDO",vmContentHeaderTitle="vmContentHeaderTitle_lYmde",vmContentHeaderTitleText="vmContentHeaderTitleText_RlIFH",vmContentControlPanel="vmContentControlPanel_CgUN9",vmContentInput="vmContentInput_29GM1",vmContentControlPanelActions="vmContentControlPanelActions_lONbA",inputGhost="inputGhost_J-ksi",inputGhostTyped="inputGhostTyped_UxVAJ",inputGhostSuggestion="inputGhostSuggestion_Ys7F3",inputWithSuggestion="inputWithSuggestion_C9PIe",filled="filled_6JZa0",vmContentVirtualScroll="vmContentVirtualScroll_TVyLu",gradientBlur="gradientBlur_-y-re",css$2={expandButton:expandButton,expanded:expanded,disabled:disabled,vmContentVirtualizedContent:vmContentVirtualizedContent,vmContent:vmContent,vmContentHeader:vmContentHeader,vmContentHeaderLogo:vmContentHeaderLogo,vmContentHeaderTitle:vmContentHeaderTitle,vmContentHeaderTitleText:vmContentHeaderTitleText,vmContentControlPanel:vmContentControlPanel,vmContentInput:vmContentInput,vmContentControlPanelActions:vmContentControlPanelActions,inputGhost:inputGhost,inputGhostTyped:inputGhostTyped,inputGhostSuggestion:inputGhostSuggestion,inputWithSuggestion:inputWithSuggestion,filled:filled,vmContentVirtualScroll:vmContentVirtualScroll,gradientBlur:gradientBlur},ExpandButton=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:o})=>jsxDevRuntimeExports.jsxDEV("span",{onClick:n,className:cx(css$2.expandButton,{[css$2.expandable]:e,[css$2.expanded]:t,[css$2.disabled]:r}),children:(e||o)&&jsxDevRuntimeExports.jsxDEV(ChevronRight,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/expand-button.tsx",lineNumber:27,columnNumber:42},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/expand-button.tsx",lineNumber:19,columnNumber:5},void 0),ExtraListItemRender=observer(({item:e})=>jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$3.treeItem,css$3.extraTreeItem),"data-fitted":e.devtools.searchEngine.isItemFitted(e),"data-depth":e.depthLine,style:{"--level":e.depth},children:jsxDevRuntimeExports.jsxDEV("header",{className:css$3.treeItemHeader,onClick:()=>e.toggleExpand(),children:[jsxDevRuntimeExports.jsxDEV(ExpandButton,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.isExpandable,expanded:e.isExpanded},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:21,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("label",{className:css$3.treeItemLabel,title:e.displayName,children:e.displayName},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:26,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:17,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:11,columnNumber:7},void 0)),property="property_sD8FG",isEditMode="isEditMode_S3NAq",expandable="expandable_np03F",instance="instance_jv3IW",primitive="primitive_v6LAV",boolean="boolean_Z6znK",number="number_U9H45",object="object_bHf4I",bigint="bigint_HkgX8",symbol="symbol_oKSwT",string="string_87vm1",propertyName="propertyName_KicXG",propertyMeta="propertyMeta_Ia9ce",propertyValue="propertyValue_fYO2g",editContent="editContent_WSktI",css$1={property:property,isEditMode:isEditMode,expandable:expandable,instance:instance,primitive:primitive,boolean:boolean,number:number,object:object,bigint:bigint,symbol:symbol,undefined:"undefined_6CapW",null:"null_lugoL",string:string,propertyName:propertyName,propertyMeta:propertyMeta,propertyValue:propertyValue,editContent:editContent},MetaListItemRender=observer(({item:e})=>jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$1.property,css$1.primitive),style:{"--level":e.depth},"data-fitted":e.devtools.searchEngine.isItemFitted(e),title:e.stringifiedData,"data-depth":e.depthLine,children:e.content},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/meta-list-item-render.tsx",lineNumber:10,columnNumber:7},void 0)),ListItemOperations=observer(({item:e})=>e.operations.length?jsxDevRuntimeExports.jsxDEV("div",{"data-list-item-operations":!0,children:e.operations.map((t,n)=>{if("title"in t)return jsxDevRuntimeExports.jsxDEV("button",{title:t.title,"data-list-item-operation":!0,onClick:e=>{e.stopPropagation(),runInAction(()=>{t.action()})},children:jsxDevRuntimeExports.jsxDEV(t.icon,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-item-operations.tsx",lineNumber:32,columnNumber:17},void 0)},t.title,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-item-operations.tsx",lineNumber:21,columnNumber:15},void 0);const r=t;return jsxDevRuntimeExports.jsxDEV(r,{item:e},`${n}_component`,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-item-operations.tsx",lineNumber:39,columnNumber:18},void 0)})},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-item-operations.tsx",lineNumber:17,columnNumber:7},void 0):null),ArrayPropertyContent=observer(({item:e})=>jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:11,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:10,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyValue,children:e.isExpanded?"[":e.isExpandable?"[...]":"[]"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:15,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:8,columnNumber:7},void 0)),FunctionPropertyContent=observer(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/function.tsx",lineNumber:15,columnNumber:9},void 0),e.isEditMode?jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:["(",jsxDevRuntimeExports.jsxDEV("input",{value:e.editContent,className:css$1.editContent,onChange:e.handleChangeEditContent,onClick:skipEvent,"data-ignore-global-keys":!0},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/function.tsx",lineNumber:19,columnNumber:13},void 0),")"]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/function.tsx",lineNumber:17,columnNumber:11},void 0):`(${t.join(", ")})`]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/function.tsx",lineNumber:14,columnNumber:7},void 0)}),InstancePropertyContent=observer(({item:e})=>{const t=e.data.constructor.name;return jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:14,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:13,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyValue,children:`${t}`},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:18,columnNumber:9},void 0),e.isExpanded&&jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[" ","{"]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:19,columnNumber:29},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:11,columnNumber:7},void 0)}),ObjectPropertyContent=observer(({item:e})=>jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:11,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:10,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyValue,children:e.isExpanded?"{":e.isExpandable?"{...}":"{}"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:15,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:8,columnNumber:7},void 0)),PrimitivePropertyContent=observer(({item:e})=>jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[void 0===e.property?null:jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment,{children:[jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:11,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:10,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$1.propertyValue,children:e.stringifiedData},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:15,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:8,columnNumber:7},void 0)),PropertyListItemRender=observer(e=>{const{item:t}=e;let n=null;switch(e.item.type){case"array":n=jsxDevRuntimeExports.jsxDEV(ArrayPropertyContent,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:25,columnNumber:19},void 0);break;case"function":n=jsxDevRuntimeExports.jsxDEV(FunctionPropertyContent,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:29,columnNumber:19},void 0);break;case"instance":n=jsxDevRuntimeExports.jsxDEV(InstancePropertyContent,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:33,columnNumber:19},void 0);break;case"object":n=jsxDevRuntimeExports.jsxDEV(ObjectPropertyContent,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:37,columnNumber:19},void 0);break;case"primitive":n=jsxDevRuntimeExports.jsxDEV(PrimitivePropertyContent,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:41,columnNumber:19},void 0)}return jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$1.property,css$1[t.type],css$1[t.dataType],{[css$1.null]:null===t.data,[css$1.expandable]:t.isExpandable,[css$1.expanded]:t.isExpanded,[css$1.isEditMode]:t.isEditMode}),style:{"--level":t.depth,"--order":t.order},"data-fitted":t.devtools.searchEngine.isItemFitted(t),title:t.stringifiedData,onClick:e=>t.devtools.handlePropertyClick(t,e),"data-depth":t.depthLine,children:[jsxDevRuntimeExports.jsxDEV("span",{children:[n,t.extraContent]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:62,columnNumber:9},void 0),jsxDevRuntimeExports.jsxDEV(ListItemOperations,{item:t},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:66,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:47,columnNumber:7},void 0)}),VmListItemRender=observer(({item:e})=>jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$3.treeItem,css$3.vmTreeItem),"data-fitted":e.devtools.searchEngine.isItemFitted(e),"data-depth":e.depthLine,style:{"--level":e.depth},children:[jsxDevRuntimeExports.jsxDEV("header",{className:css$3.treeItemHeader,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[jsxDevRuntimeExports.jsxDEV(ExpandButton,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.devtools.isExpandable(e),expanded:e.isExpanded},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:21,columnNumber:9},void 0),jsxDevRuntimeExports.jsxDEV("label",{className:css$3.treeItemLabel,title:e.displayName,children:e.displayName},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:26,columnNumber:9},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$3.treeItemMetaText,title:e.data.id,children:e.data.id},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:29,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:17,columnNumber:7},void 0),jsxDevRuntimeExports.jsxDEV(ListItemOperations,{item:e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:33,columnNumber:7},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:11,columnNumber:5},void 0)),listItemRenderersMap=new Map([[VMListItem,VmListItemRender],[ExtraListItem,ExtraListItemRender],[PropertyListItem,PropertyListItemRender],[MetaListItem,MetaListItemRender]]),ITEM_HEIGHT=22,BUFFER_SIZE=10;class DevtoolsContentVM extends(_a2=ViewModelImpl,_virtualHeight_dec=[computed],_a2){constructor(){super(...arguments),__runInitializers(_init,5,this),__publicField(this,"startIndex",0),__publicField(this,"endIndex",0),__publicField(this,"itemsCount",0),__publicField(this,"contentRef",createRef({meta:{scrollbar:null},onChange:this.payload.ref,onSet:e=>{const t=new SimpleBar(e);this.contentRef.meta={scrollbar:t};const n=t.getScrollElement();n&&(runInAction(()=>{const e=Math.ceil(n.clientHeight/ITEM_HEIGHT);this.itemsCount=e+2*BUFFER_SIZE}),reaction(()=>this.payload.devtools.listItems.length,()=>this.handleRefreshItems(),{fireImmediately:!0}),reaction(()=>[this.startIndex,this.endIndex],()=>{},{fireImmediately:!1}),n.addEventListener("scroll",this.handleRefreshItems))}})),__publicField(this,"updateVisibleRange",()=>{const e=this.contentRef.meta.scrollbar?.getScrollElement();if(!e)return this.startIndex=0,void(this.endIndex=Math.min(this.itemsCount,this.payload.devtools.listItems.length));const t=e.scrollTop,n=Math.floor(t/ITEM_HEIGHT),r=Math.ceil(e.clientHeight/ITEM_HEIGHT),o=Math.max(0,n-BUFFER_SIZE),a=Math.min(this.payload.devtools.listItems.length,n+r+BUFFER_SIZE);this.startIndex===o&&this.endIndex===a||runInAction(()=>{this.startIndex=o,this.endIndex=a})}),__publicField(this,"handleRefreshItems",()=>{this.updateVisibleRange()})}get virtualHeight(){return this.payload.devtools.listItems.length*ITEM_HEIGHT}get itemNodes(){const e=[];if(this.updateVisibleRange(),this.startIndex>0){const t=this.startIndex*ITEM_HEIGHT;e.push(reactExports.createElement("div",{key:"top-offset",style:{height:`${t}px`}}))}for(let n=this.startIndex;n<this.endIndex;n++){const t=this.payload.devtools.listItems[n],r=listItemRenderersMap.get(t?.constructor);r&&e.push(reactExports.createElement(r,{key:`item-${n}`,item:t}))}const t=this.payload.devtools.listItems.length-this.endIndex;if(t>0){const n=t*ITEM_HEIGHT;e.push(reactExports.createElement("div",{key:"bottom-offset",style:{height:`${n}px`}}))}return e}willMount(){makeObservable(this,{startIndex:observable.ref,endIndex:observable.ref,itemsCount:observable.ref})}}_init=__decoratorStart(_a2),__decorateElement(_init,2,"virtualHeight",_virtualHeight_dec,DevtoolsContentVM),__decoratorMetadata(_init,DevtoolsContentVM);class NotificationsVM extends ViewModelBase{items=observable.map();push(e){const t=e.id??crypto.randomUUID();this.items.set(t,{...e,id:t}),setTimeout(action(()=>this.items.delete(t)),5e3)}willMount(){makeObservable(this,{push:action.bound})}}const notifications="notifications_50ZEK",notification="notification_Yxzo-",css={notifications:notifications,notification:notification},Notifications=withViewModel(NotificationsVM,({model:e})=>e.items.size?jsxDevRuntimeExports.jsxDEV("div",{className:css.notifications,children:Array.from(e.items.values()).map(e=>jsxDevRuntimeExports.jsxDEV("div",{className:css.notification,children:e.title},e.id,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/notifications/index.tsx",lineNumber:13,columnNumber:9},void 0))},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/notifications/index.tsx",lineNumber:11,columnNumber:5},void 0):null),VmDevtoolsContent=withViewModel(DevtoolsContentVM,({model:e,className:t,headerContent:n,...r})=>{const{devtools:o}=e.payload;return jsxDevRuntimeExports.jsxDEV("div",{...r,className:cx(css$2.vmContent,t),ref:e.contentRef,children:[jsxDevRuntimeExports.jsxDEV("header",{className:css$2.vmContentHeader,children:[jsxDevRuntimeExports.jsxDEV(Notifications,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:38,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("div",{className:css$2.gradientBlur},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:39,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("div",{className:css$2.vmContentHeaderTitle,"data-content-header":!0,children:[jsxDevRuntimeExports.jsxDEV("img",{className:css$2.vmContentHeaderLogo,src:o.logoUrl},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:41,columnNumber:13},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$2.vmContentHeaderTitleText,children:"mobx-view-model devtools"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:42,columnNumber:13},void 0),n]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:40,columnNumber:11},void 0),jsxDevRuntimeExports.jsxDEV("div",{className:css$2.vmContentControlPanel,children:[jsxDevRuntimeExports.jsxDEV("div",{className:css$2.vmContentControlPanelActions,children:[jsxDevRuntimeExports.jsxDEV(IconToggleButton,{onUpdate:o.handleChangePresentationMode,options:[{value:"tree",icon:FolderTree},{value:"list",icon:ListUl}],value:o.presentationMode},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:49,columnNumber:15},void 0),jsxDevRuntimeExports.jsxDEV(IconToggleButton,{onUpdate:o.handleSortPropertiesChange,options:[{value:"none",icon:BarsDescendingAlignCenter},{value:"asc",icon:BarsAscendingAlignLeftArrowDown},{value:"desc",icon:BarsDescendingAlignLeftArrowUp}],value:o.sortPropertiesBy},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:63,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:48,columnNumber:13},void 0),jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$2.vmContentInput,o.searchEngine.isActive&&css$2.filled),children:[jsxDevRuntimeExports.jsxDEV(Magnifier,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:85,columnNumber:15},void 0),o.searchEngine.suggestionSuffix&&jsxDevRuntimeExports.jsxDEV("div",{className:css$2.inputGhost,"aria-hidden":"true",children:[jsxDevRuntimeExports.jsxDEV("span",{className:css$2.inputGhostTyped,children:o.searchEngine.searchText},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:88,columnNumber:19},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$2.inputGhostSuggestion,children:o.searchEngine.suggestionSuffix},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:91,columnNumber:19},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:87,columnNumber:17},void 0),jsxDevRuntimeExports.jsxDEV("input",{ref:o.searchEngine.searchInputRef,autoFocus:!0,value:o.searchEngine.searchText,onChange:o.searchEngine.handleSearchInput,onKeyDown:o.searchEngine.handleKeyDown,placeholder:o.searchEngine.suggestionSuffix?"":"search by property path or ViewModel name",className:o.searchEngine.suggestionSuffix?css$2.inputWithSuggestion:void 0},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:96,columnNumber:15},void 0),jsxDevRuntimeExports.jsxDEV("button",{onClick:o.searchEngine.resetSearch,children:jsxDevRuntimeExports.jsxDEV(Xmark,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:106,columnNumber:17},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:105,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:82,columnNumber:13},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:47,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:37,columnNumber:9},void 0),jsxDevRuntimeExports.jsxDEV("div",{className:css$2.vmContentVirtualScroll,style:{height:e.virtualHeight},children:jsxDevRuntimeExports.jsxDEV("div",{className:css$2.vmContentVirtualizedContent,children:e.itemNodes},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:115,columnNumber:11},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:111,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:32,columnNumber:7},void 0)}),VmDevtoolsPopup=withViewModel(VmDevtoolsPopupVM,({model:e})=>jsxDevRuntimeExports.jsxDEV(VmDevtoolsContent,{className:css$6.vmPopup,"data-position":e.devtools.position,payload:{devtools:e.devtools,ref:e.contentRef},headerContent:jsxDevRuntimeExports.jsxDEV("button",{className:css$6.closePopupButton,onClick:e.devtools.hidePopup,children:jsxDevRuntimeExports.jsxDEV(Xmark,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",lineNumber:21,columnNumber:11},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",lineNumber:17,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",lineNumber:9,columnNumber:5},void 0));class DevtoolsClientVM extends ViewModelImpl{devtools=this.payload.devtools}const DevtoolsClient=withViewModel(DevtoolsClientVM,({model:e})=>jsxDevRuntimeExports.jsxDEV(ViewModelsProvider,{value:e.devtools.vmStore,children:jsxDevRuntimeExports.jsxDEV(ActiveViewModelProvider,{value:e,children:[jsxDevRuntimeExports.jsxDEV(VmDevtoolsButton,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:14,columnNumber:9},void 0),e.devtools.isPopupOpened&&"popup"===e.devtools.displayType&&jsxDevRuntimeExports.jsxDEV(VmDevtoolsPopup,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:16,columnNumber:53},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:13,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:12,columnNumber:5},void 0));class KeyboardHandler extends KeyboardHandler$1{constructor(e){super({actions:[{shortcuts:["Ctrl+F12"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||(e.isPopupOpened?e.hidePopup():e.showPopup())}},{shortcuts:["Escape"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.hidePopup()}},{shortcuts:["Ctrl+ArrowLeft"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.collapseAllVms()}},{shortcuts:["Ctrl+ArrowRight"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.expandAllVMs()}},{shortcuts:["Tab"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.searchEngine.searchInputRef.meta.focused&&t.preventDefault()}},{shortcuts:["Ctrl+ArrowDown","PageDown"],action:t=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||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=>{_exports.isElement(t.target)&&t.target.dataset.ignoreGlobalKeys||e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset-400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}}]})}}class ViewModelStoreImpl extends ViewModelStoreBase{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}const createFocusableRef=e=>{const t=()=>{runInAction(()=>{n.meta.focused=document.activeElement===n.current})},n=createRef({meta:{focused:!1},onSet:(e,n)=>{t(),e.addEventListener("focus",t,!0),e.addEventListener("blur",t,!0)},onUnset:e=>{e?.removeEventListener("focus",t,!0),e?.removeEventListener("blur",t,!0)}});return n};class SearchEngine{constructor(e){this.config=e,this.searchInputRef=createFocusableRef(),makeObservable(this,{searchText:observable.ref,formattedSearchText:computed,segments:computed.struct,endsWithDot:computed,isActive:computed,suggestionSuffix:computed,handleSearchInput:action,handleKeyDown:action,resetSearch:action})}searchInputRef;searchText="";searchCacheKey="";isSearching=!1;get formattedSearchText(){return this.searchText.toLowerCase().trim()}get segments(){if(!this.formattedSearchText)return[];const e=this.formattedSearchText.split(".");return""===e[e.length-1]?e.slice(0,-1):e}get endsWithDot(){return this.searchText.trim().endsWith(".")}get isActive(){return this.formattedSearchText.length>0}get suggestionSuffix(){if(!this.isActive)return"";const{segments:e}=this;if(0===e.length)return"";const t=e[e.length-1];if(!t)return"";const n=this.config.getRootItems(),r=this.getCandidatePropsAtDepth(n,e.slice(0,-1));for(const o of r){const e=o.searchData.property,n=o.property??"";if(e.startsWith(t)&&e.length>t.length)return n.slice(t.length)}return""}handleSearchInput=e=>{this.searchText=e.target.value};handleKeyDown=e=>{"Tab"===e.key&&this.suggestionSuffix&&(e.preventDefault(),this.searchText+=this.suggestionSuffix)};getCandidatePropsAtDepth(e,t){const n=e.filter(e=>e instanceof VMListItem);if(0===t.length){const e=[];for(const t of n)e.push(...t.children.filter(e=>e instanceof PropertyListItem));return e}const r=t[0],o=[];for(const a of n){const e=a.children.filter(e=>e instanceof PropertyListItem);if(a.searchData.name.includes(r)||a.searchData.id.includes(r))1===t.length?o.push(...e):o.push(...this.navigatePropertyPath(e,t.slice(1)));else{const n=e.filter(e=>e.searchData.property.includes(r));if(1===t.length)for(const e of n)o.push(...e.children);else for(const e of n)o.push(...this.navigatePropertyPath(e.children,t.slice(1)))}}return o}navigatePropertyPath(e,t){if(0===t.length)return e;const[n,...r]=t,o=e.filter(e=>e.searchData.property.includes(n));if(0===r.length){const e=[];for(const t of o)e.push(...t.children);return e}const a=[];for(const i of o)a.push(...this.navigatePropertyPath(i.children,r));return a}getListItems(e){return this.isActive?e.flatMap(e=>this.getFilteredItemsForSearch(e)):e.flatMap(e=>e.expandedChildrenWithSelf)}getFilteredItemsForSearch(e){return e instanceof VMListItem?this.getVMSearchItems(e):e instanceof ExtraListItem&&e.isExpanded?[e,...e.children]:[e]}getVMSearchItems(e){const t=[];if(!this.vmMatchesSearch(e)){for(const n of e.children)n instanceof VMListItem&&t.push(...this.getVMSearchItems(n));return t}t.push(e);const{segments:n}=this,r=n[0]??"",o=e.searchData.name.includes(r)||e.searchData.id.includes(r)?n.slice(1):n,a=e.children.filter(e=>e instanceof PropertyListItem),i=e.children.filter(e=>e instanceof VMListItem);t.push(...this.getPropertySearchItems(a,o));for(const s of i)t.push(...this.getVMSearchItems(s));return t}getPropertySearchItems(e,t){const n=[];if(0===t.length){for(const t of e)n.push(t),t.isExpanded&&n.push(...t.expandedChildren);return n}const r=t[0],o=t.length>1||this.endsWithDot;for(const a of e){n.push(a);(!r||a.searchData.property.includes(r))&&o&&n.push(...this.getPropertySearchItems(a.children,t.slice(1)))}return n}vmMatchesSearch(e){const{segments:t}=this;if(0===t.length)return!0;const n=t[0];return!(!e.searchData.name.includes(n)&&!e.searchData.id.includes(n))||e.children.some(e=>e instanceof PropertyListItem&&e.searchData.property.includes(n))}isPropertyItemExpanded(e){return!0===e.cache.get(e.expandKey)}isPropertyItemExpandable(e){return e.children.length>0}isVmItemExpanded(e){return e.isExpanded}isItemFitted(e){if(!this.isActive)return!0;if(e instanceof PropertyListItem){const{segments:t}=this;if(0===t.length)return!0;let n=e.parentListItem,r=0;for(;n instanceof PropertyListItem;)r++,n=n.parentListItem;if(!(n instanceof VMListItem))return!0;const o=t[0],a=n.searchData.name.includes(o)||n.searchData.id.includes(o)?t.slice(1):t;if(r>=a.length)return!0;const i=a[r];return!i||e.searchData.property.includes(i)}return!0}resetSearch=()=>{this.searchText="",this.searchInputRef.current?.focus()}}class ViewModelDevtools{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 ViewModelStoreImpl,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=observable.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=createRef(),this.scrollListRef=createRef(),this.keyboardHandler=new KeyboardHandler(this),this.searchEngine=new SearchEngine({getContainerId:()=>this.containerId,getIsActive:()=>this.isActive,getItemOffset:e=>this.scrollListRef.current?.getItemOffset(e)??0,scrollToOffset:e=>this.scrollListRef.current?.scrollTo(e),getRootItems:()=>this.searchRootItems}),makeObservable(this,{position:observable.ref,isPopupOpened:observable.ref,projectVmStore:observable.ref,presentationMode:observable.ref,sortPropertiesBy:observable.ref,extras:observable.ref,setStore:action.bound,setExtras:action.bound,showPopup:action.bound,hidePopup:action.bound,handleChangePresentationMode:action.bound,handleSortPropertiesChange:action.bound,handleExpandVmPropertyClick:action.bound,expandAllVMs:action.bound,collapseAllVms:action.bound,isActive:computed,listItems:computed.struct,rootVmListItems:computed.struct,extraListItems:computed.struct}),this.render()}isPopupOpened;displayType;vmStore;projectVmStore;extras;expandedVmItemsPaths;logoUrl;scrollContentRef;keyboardHandler;searchEngine;presentationMode;sortPropertiesBy;position;scrollListRef;storage=new Storage({namespace:"mobx-view-model-devtools",type:"session"});anyCache=observable.map();get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!Object.prototype.isPrototypeOf.call(ViewModelImpl,e.constructor))}get rootVmListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new VMListItem(this,e,this.allVms))}get extraListItems(){return this.extras?[new ExtraListItem(this,this.extras)]:[]}get searchRootItems(){return[...this.rootVmListItems,...this.extraListItems]}get listItems(){return this.searchEngine.getListItems(this.searchRootItems)}get isActive(){return!!this.projectVmStore||Object.keys(this.extras||{}).length>0}get containerId(){return this.config.containerId??"view-model-devtools"}isExpanded(e){return this.searchEngine.isVmItemExpanded(e)}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()}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()}get notifications(){return this.vmStore.get(Notifications)}hidePopup(){this.isPopupOpened=!1}init(){this.isInitialized||(this.isInitialized=!0,this.storage.syncProperty(this,"sortPropertiesBy"),this.storage.syncProperty(this,"presentationMode"),this.storage.syncProperty(this,"position"))}isInitialized=!1;render(){let e=document.querySelector(`#${this.containerId}`);if(!e)if(e=document.createElement("div"),e.className=css$3.root,e.id=this.containerId,document.body){document.body.appendChild(e);clientExports.createRoot(e).render(reactExports.createElement(DevtoolsClient,{payload:{devtools:this}}))}else document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e);clientExports.createRoot(e).render(reactExports.createElement(DevtoolsClient,{payload:{devtools:this}}))});this.init()}static _instance=null;static define(e){return ViewModelDevtools._instance||(ViewModelDevtools._instance=new ViewModelDevtools(e??{})),ViewModelDevtools._instance}static connect(e,t){const n=ViewModelDevtools.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=ViewModelDevtools.define();return t.setStore(e),t}static connectExtras(e){const t=ViewModelDevtools.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:ViewModelDevtools});const lastCreatedStore=viewModelsConfig.hooks.storeCreate.lastPub?.[0];ViewModelDevtools.define({position:"top-right",defaultIsOpened:!1}),ViewModelDevtools.connectExtras({globalThis:globalThis});const connectStore=e=>{ViewModelStoreImpl!==e.constructor&&ViewModelDevtools.connectViewModels(e)};lastCreatedStore&&connectStore(lastCreatedStore),viewModelsConfig.hooks.storeCreate.sub(connectStore)});