mobx-view-model-devtools 0.0.45 → 0.0.46

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/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.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.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.dragging_bOvPC.dragging_bOvPC.dragging_bOvPC.dragging_bOvPC.dragging_bOvPC{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL[data-position=top-right]{top:12px;right:12px}.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL[data-position=top-left]{top:12px;left:12px}.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL[data-position=bottom-left]{bottom:12px;left:12px}.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL.vmPopup_0hkGL[data-position=bottom-right]{bottom:12px;right:12px}.closePopupButton_igv9j.closePopupButton_igv9j.closePopupButton_igv9j.closePopupButton_igv9j.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.dragging_bOvPC.dragging_bOvPC.dragging_bOvPC.dragging_bOvPC) *{-webkit-user-select:none!important;user-select:none!important}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.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.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.dragging_kUMCE.dragging_kUMCE.dragging_kUMCE.dragging_kUMCE.dragging_kUMCE{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.opened_NYAFW.opened_NYAFW.opened_NYAFW.opened_NYAFW.opened_NYAFW{opacity:0!important;pointer-events:none}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO[data-position=top-right]{top:12px;right:12px}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO[data-position=top-left]{top:12px;left:12px}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO[data-position=bottom-left]{bottom:12px;left:12px}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO[data-position=bottom-right]{bottom:12px;right:12px}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO>img{pointer-events:none;position:absolute;inset:0;border-radius:8px}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO>div{transition:all .15s ease-in-out;position:absolute;inset:0;border-radius:8px;border:2px solid #00000057}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO:not(.isConnected_eObxX.isConnected_eObxX.isConnected_eObxX.isConnected_eObxX.isConnected_eObxX){filter:grayscale(1)}.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO>.vmsCount_HhX1W.vmsCount_HhX1W.vmsCount_HhX1W.vmsCount_HhX1W.vmsCount_HhX1W{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.vmButton_esipO.vmButton_esipO.vmButton_esipO.vmButton_esipO>.keyboardHint_v8eo0.keyboardHint_v8eo0.keyboardHint_v8eo0.keyboardHint_v8eo0.keyboardHint_v8eo0{position:absolute;bottom:-3px;left:-2px;z-index:99999;font-family:monospace;font-weight:700!important;font-size:10px;line-height:10px;background:#1b3b00bf;color:#73ff00d4;letter-spacing:-1px;border-radius:2px}html:has(.dragging_kUMCE.dragging_kUMCE.dragging_kUMCE.dragging_kUMCE.dragging_kUMCE) *{-webkit-user-select:none!important;user-select:none!important}.iconToggleButton_R48wm.iconToggleButton_R48wm.iconToggleButton_R48wm.iconToggleButton_R48wm.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.activePosition_IXsRn.activePosition_IXsRn.activePosition_IXsRn.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.option_a5IcR.option_a5IcR.option_a5IcR.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.option_a5IcR.option_a5IcR.option_a5IcR.option_a5IcR.active_6QS-2.active_6QS-2.active_6QS-2.active_6QS-2.active_6QS-2{color:var(--vmd-control-active-color)}.option_a5IcR.option_a5IcR.option_a5IcR.option_a5IcR.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: #ffffff1c;--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.root_Xsw1F.root_Xsw1F.root_Xsw1F.root_Xsw1F{display:contents;box-sizing:border-box}.root_Xsw1F.root_Xsw1F.root_Xsw1F.root_Xsw1F.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.root_Xsw1F.root_Xsw1F.root_Xsw1F.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.hierarchyButton_h3FD7.hierarchyButton_h3FD7.hierarchyButton_h3FD7.hierarchyButton_h3FD7{width:18px;height:18px;padding:2px;border-radius:6px}.hierarchyButton_h3FD7.hierarchyButton_h3FD7.hierarchyButton_h3FD7.hierarchyButton_h3FD7.hierarchyButton_h3FD7.active_4JTx5.active_4JTx5.active_4JTx5.active_4JTx5.active_4JTx5{background:#f0f0f01f}.treeItemHeader_9gR6Q.treeItemHeader_9gR6Q.treeItemHeader_9gR6Q.treeItemHeader_9gR6Q.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.treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP{padding:0 4px;border-radius:4px}.treeItemMetaText_cmfX0.treeItemMetaText_cmfX0.treeItemMetaText_cmfX0.treeItemMetaText_cmfX0.treeItemMetaText_cmfX0{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItem_sRXPA.treeItem_sRXPA.treeItem_sRXPA.treeItem_sRXPA.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.treeItem_sRXPA.treeItem_sRXPA.treeItem_sRXPA.treeItem_sRXPA:hover{background:var(--vmd-content-highlight-bg)}.treeItem_sRXPA.treeItem_sRXPA.treeItem_sRXPA.treeItem_sRXPA.treeItem_sRXPA:not([data-fitted=true])>header{opacity:.6}.vmTreeItem_t-7jc.vmTreeItem_t-7jc.vmTreeItem_t-7jc.vmTreeItem_t-7jc.vmTreeItem_t-7jc .treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP{background:var(--vmd-primary-bg)}.vmTreeItem_t-7jc.vmTreeItem_t-7jc.vmTreeItem_t-7jc.vmTreeItem_t-7jc.vmTreeItem_t-7jc .treeItemMetaText_cmfX0.treeItemMetaText_cmfX0.treeItemMetaText_cmfX0.treeItemMetaText_cmfX0.treeItemMetaText_cmfX0{color:var(--vmd-primary-color)}.extraTreeItem_z3KA1.extraTreeItem_z3KA1.extraTreeItem_z3KA1.extraTreeItem_z3KA1.extraTreeItem_z3KA1 .treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP.treeItemLabel_eiMgP{background:var(--vmd-secondary-bg)}.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3{color:#a0a0a0;opacity:1!important;width:16px;height:16px;font-weight:700;cursor:pointer}.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.expanded_8-pD6.expanded_8-pD6.expanded_8-pD6.expanded_8-pD6.expanded_8-pD6{color:#b8b8b8;transform:rotate(90deg)}.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.expandButton_B24E3.disabled_MBq1Q.disabled_MBq1Q.disabled_MBq1Q.disabled_MBq1Q.disabled_MBq1Q{opacity:.35!important}.vmContentVirtualizedContent_LtS91.vmContentVirtualizedContent_LtS91.vmContentVirtualizedContent_LtS91.vmContentVirtualizedContent_LtS91.vmContentVirtualizedContent_LtS91{overflow:hidden}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper::-webkit-scrollbar,.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-content:after,.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-content:before{content:" ";display:table}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar].simplebar-dragging,.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-vertical{top:0;width:var(--vmd-scrollbar-track-size)}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{inset:2px}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal{left:0;height:var(--vmd-scrollbar-track-size)}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.vmContent_TIK57.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.vmContentHeader_M1JNM.vmContentHeader_M1JNM.vmContentHeader_M1JNM.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.vmContentHeaderLogo_FRJDO.vmContentHeaderLogo_FRJDO.vmContentHeaderLogo_FRJDO.vmContentHeaderLogo_FRJDO{width:16px;margin-right:6px}.vmContentHeaderTitle_lYmde.vmContentHeaderTitle_lYmde.vmContentHeaderTitle_lYmde.vmContentHeaderTitle_lYmde.vmContentHeaderTitle_lYmde{display:flex;justify-content:space-between;align-items:center;flex:none;font-weight:600;z-index:1}.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH{font-size:16px;margin-right:auto}.vmContentControlPanel_CgUN9.vmContentControlPanel_CgUN9.vmContentControlPanel_CgUN9.vmContentControlPanel_CgUN9.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.vmContentControlPanel_CgUN9.vmContentControlPanel_CgUN9.vmContentControlPanel_CgUN9.vmContentControlPanel_CgUN9.searchIsActive_cJutI.searchIsActive_cJutI.searchIsActive_cJutI.searchIsActive_cJutI.searchIsActive_cJutI>.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA{margin-left:-106px}.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center;gap:6px;transition:all .15s ease}.hiearchyToggleButton_0FTG-.hiearchyToggleButton_0FTG-.hiearchyToggleButton_0FTG-.hiearchyToggleButton_0FTG-.hiearchyToggleButton_0FTG-{display:flex}.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.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.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1>svg{position:absolute;width:16px;inset:50% 0;transform:translate(6px,-50%);pointer-events:none;opacity:.7}.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.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.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1>input::placeholder{color:var(--vmd-control-active-text-input-placeholder-color)}.inputGhost_J-ksi.inputGhost_J-ksi.inputGhost_J-ksi.inputGhost_J-ksi.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.inputGhostTyped_UxVAJ.inputGhostTyped_UxVAJ.inputGhostTyped_UxVAJ.inputGhostTyped_UxVAJ{color:transparent;white-space:pre}.inputGhostSuggestion_Ys7F3.inputGhostSuggestion_Ys7F3.inputGhostSuggestion_Ys7F3.inputGhostSuggestion_Ys7F3.inputGhostSuggestion_Ys7F3{color:var(--vmd-control-active-text-input-placeholder-color);white-space:pre;opacity:.7}.inputSuggestions_5btGB.inputSuggestions_5btGB.inputSuggestions_5btGB.inputSuggestions_5btGB.inputSuggestions_5btGB{position:absolute;left:35px;top:calc(100% - 10px);display:flex;align-items:flex-start;font-size:14px;white-space:pre;z-index:3}.inputSuggestionsList_3Gl-h.inputSuggestionsList_3Gl-h.inputSuggestionsList_3Gl-h.inputSuggestionsList_3Gl-h.inputSuggestionsList_3Gl-h{min-width:120px;max-width:320px;padding:3px;border:1px solid var(--vmd-control-border);border-radius:5px;background:var(--vmd-control-bg);box-shadow:0 6px 18px #00000059;overflow:hidden;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp{display:flex;align-items:baseline;cursor:pointer;gap:6px;padding:1px 2px;border-radius:3px;color:var(--vmd-control-active-text-input-placeholder-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk{flex:none;max-width:90px;font-size:10px;line-height:1;overflow:hidden;text-overflow:ellipsis;background:var(--vmd-primary-bg);color:#fff;padding:2px;direction:rtl;border-radius:3px;opacity:.85}.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk.inputSuggestionOwner_cMrNk.extras_THr24.extras_THr24.extras_THr24.extras_THr24.extras_THr24{background:var(--vmd-secondary-bg)}.inputSuggestionValue_6fYPI.inputSuggestionValue_6fYPI.inputSuggestionValue_6fYPI.inputSuggestionValue_6fYPI.inputSuggestionValue_6fYPI{overflow:hidden;text-overflow:ellipsis}.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp.inputSuggestionItem_GcQXp.selected_OPRUb.selected_OPRUb.selected_OPRUb.selected_OPRUb.selected_OPRUb{color:var(--vmd-control-active-text-input-color);background:var(--vmd-content-highlight-bg)}.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1>input.inputWithSuggestion_C9PIe.inputWithSuggestion_C9PIe.inputWithSuggestion_C9PIe.inputWithSuggestion_C9PIe.inputWithSuggestion_C9PIe{background:transparent}.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1>button{position:absolute;right:6px;width:16px;transform:translate(4px,-50%);top:50%;opacity:.6;display:none}.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.filled_6JZa0.filled_6JZa0.filled_6JZa0.filled_6JZa0.filled_6JZa0>svg{opacity:.9}.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.vmContentInput_29GM1.filled_6JZa0.filled_6JZa0.filled_6JZa0.filled_6JZa0.filled_6JZa0>button{display:block}.gradientBlur_-y-re.gradientBlur_-y-re.gradientBlur_-y-re.gradientBlur_-y-re.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.gradientBlur_-y-re.gradientBlur_-y-re.gradientBlur_-y-re.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.property_sD8FG.property_sD8FG.property_sD8FG.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.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG:hover,.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.isEditMode_S3NAq.isEditMode_S3NAq.isEditMode_S3NAq.isEditMode_S3NAq.isEditMode_S3NAq{background:var(--vmd-content-highlight-bg)}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.expandable_np03F.expandable_np03F.expandable_np03F.expandable_np03F.expandable_np03F{cursor:pointer}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG>span{flex:1;overflow:hidden;text-overflow:ellipsis;padding-right:12px;display:flex;flex-direction:row}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG[data-fitted=false]{opacity:.5}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.instance_jv3IW.instance_jv3IW.instance_jv3IW.instance_jv3IW.instance_jv3IW{--value-color: rgb(190 113 195)}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.inaccessible_YWXKM.inaccessible_YWXKM.inaccessible_YWXKM.inaccessible_YWXKM.inaccessible_YWXKM{--value-color: var(--vmd-property-meta-color)}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.boolean_Z6znK.boolean_Z6znK.boolean_Z6znK.boolean_Z6znK.boolean_Z6znK,.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.number_U9H45.number_U9H45.number_U9H45.number_U9H45.number_U9H45,.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.object_bHf4I.object_bHf4I.object_bHf4I.object_bHf4I.object_bHf4I,.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.bigint_HkgX8.bigint_HkgX8.bigint_HkgX8.bigint_HkgX8.bigint_HkgX8,.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.symbol_oKSwT.symbol_oKSwT.symbol_oKSwT.symbol_oKSwT.symbol_oKSwT{--value-color: rgb(89, 153, 205)}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.undefined_6CapW.undefined_6CapW.undefined_6CapW.undefined_6CapW.undefined_6CapW,.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.null_lugoL.null_lugoL.null_lugoL.null_lugoL.null_lugoL{--value-color: #499098}.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.string_87vm1.string_87vm1.string_87vm1.string_87vm1.string_87vm1{--value-color: #af7249}.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG{color:#ccc}.propertyMeta_Ia9ce.propertyMeta_Ia9ce.propertyMeta_Ia9ce.propertyMeta_Ia9ce.propertyMeta_Ia9ce{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g.propertyValue_fYO2g.propertyValue_fYO2g.propertyValue_fYO2g.propertyValue_fYO2g{color:var(--value-color, var(--vmd-property-meta-color));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g.propertyValue_fYO2g.propertyValue_fYO2g.propertyValue_fYO2g.propertyValue_fYO2g:has(+.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG){margin-right:4px}.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.property_sD8FG.isEditMode_S3NAq.isEditMode_S3NAq.isEditMode_S3NAq.isEditMode_S3NAq.isEditMode_S3NAq>[data-list-item-operations]{width:auto}.editContent_WSktI.editContent_WSktI.editContent_WSktI.editContent_WSktI.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.notifications_50ZEK.notifications_50ZEK.notifications_50ZEK.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-.notification_Yxzo-.notification_Yxzo-.notification_Yxzo-.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
- "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,i=e[t>>1],a=i&&i.length;o<a;o++)1&t?i[o].call(n):r=i[o].call(n,r);return r},__decorateElement=(e,t,n,r,o,i)=>{var a,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],g=d>3&&(e[m-1]=[]),v=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,i)},set[n](e){return __privateSet(this,i,e)}},n));d?f&&d<4&&__name(i,(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],v),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?i:b.get):e=>e[n]),d>2&&(c.set=f?(e,t)=>__privateSet(e,o,t,4^d?i:b.set):(e,t)=>e[n]=t)),s=(0,r[y])(d?d<4?f?i: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?g.unshift(s):d?f?i=s:b[h]=s:o=s):"object"!=typeof s||null===s?__typeError("Object expected"):(__expectFn(a=s.get)&&(b.get=a),__expectFn(a=s.set)&&(b.set=a),__expectFn(a=s.init)&&g.unshift(a));return d||__decoratorMetadata(e,o),b&&__defProp(o,n,b),f?4^d?i: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;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var 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,unset:()=>{e=void 0},set:t=>(e=t,t)}}const t=globalThis;return{get:()=>t[e],unset:()=>{delete 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},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$2(){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$1(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$1(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$1(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$1(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$1(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 i=createActionDescriptor(e,this,t,n,!1);return defineProperty(r,t,i),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,i=t.addInitializer,a=this,s=function(e){var t,n,r,i;return createAction(null!=(t=null==(n=a.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=a.options_)?void 0:i.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&&i(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void die("Cannot apply '"+a.annotationType_+"' to '"+String(o)+"' (kind: "+r+"):\n'"+a.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 i,a,s,l,u,c,d;void 0===o&&(o=globalState.safeDescriptors),assertActionDescriptor(e,t,n,r);var p,f=r.value;null!=(i=t.options_)&&i.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_));return{value:createAction(null!=(a=null==(s=t.options_)?void 0:s.name)?a: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 i=createFlowDescriptor(e,this,t,n,!1,!1);return defineProperty(r,t,i),2}function extend_$2(e,t,n,r){var o,i=createFlowDescriptor(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,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,i){void 0===i&&(i=globalState.safeDescriptors),assertFlowDescriptor(e,t,n,r);var a,s=r.value;(isFlow(s)||(s=flow(s)),o)&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0);return{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}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,i;return assertObservableDescriptor(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.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,i=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,s.name_+"."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[$mobx].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[$mobx].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(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,i,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 u,c=!1===(null==(o=this.options_)?void 0:o.deep)?observable.ref:observable;"function"==typeof n.value&&null!=(i=this.options_)&&i.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,i,a;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!=(a=e.proxy_)?a:e.target_));return(!1===(null==(i=this.options_)?void 0:i.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 i=_startAction(e,t,r,o);try{return n.apply(r,o)}catch(a){throw i.error_=a,a}finally{_endAction(i)}}function _startAction(e,t,n,r){var o=isSpyEnabled()&&!!e,i=0;if(o){i=Date.now();var a=r?Array.from(r):EMPTY_ARRAY;spyReportStart({type:ACTION,name:e,object:n,arguments:a})}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_:i,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,i){var a,s;(void 0===r&&(r="ObservableValue@"+getNextId()),void 0===o&&(o=!0),void 0===i&&(i=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=i,a.value_=n(t,void 0,r),o&&isSpyEnabled())&&spyReport({type:CREATE,object:a,observableKind:"value",debugObjectName:a.name_,newValue:""+(null==(s=a.value_)?void 0:s.toString())});return 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){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 i=n.get();if(!r||t){var a=untrackedStart();e({observableKind:"computed",debugObjectName:n.name_,type:UPDATE,object:n,newValue:i,oldValue:o}),untrackedEnd(a)}r=!1,o=i})},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,i=0;i<o;i++){var a=r[i];if(isComputedValue(a)){if(globalState.disableErrorBoundaries)a.get();else try{a.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,i=globalState.trackingDerivation;if(globalState.trackingDerivation=e,globalState.inBatch++,!0===globalState.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(a){o=new CaughtException(a)}return globalState.inBatch--,globalState.trackingDerivation=i,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,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];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$2();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$2();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),globalState=new MobXGlobals}}function getGlobalState(){return globalState}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,i;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 a,s=null!=(n=null==(r=t)?void 0:r.name)?n:e.name||"Autorun@"+getNextId();if(!t.scheduler&&!t.delay)a=new Reaction(s,function(){this.track(c)},t.onError,t.requiresObservable);else{var l=createSchedulerFromOptions(t),u=!1;a=new Reaction(s,function(){u||(u=!0,l(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}function c(){e(a)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.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,i;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 a,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=a;m.track(function(){var n=allowStateChanges(!1,function(){return e(m)});t=d||!f(a,n),a=n}),(d&&n.fireImmediately||!d&&t)&&l(a,r,m),d=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||m.schedule_(),m.getDisposer_(null==(i=n)?void 0:i.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),i=isFunction$1(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[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,!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,i=action(r+" - runid: "+o+" - 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: "+o+" - yield "+s++,i.next).call(i,e)}catch(l){return n(l)}c(t)}function u(e){var t;a=void 0;try{t=action(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,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):(a=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{a&&cancelPromise(a);var t=i.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,i=r.length;o<i&&((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,i=(r=r.slice()).length;o<i;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 i=interceptChange(this,{object:this.proxy_,type:SPLICE,index:e,removedCount:t,added:n});if(!i)return EMPTY_ARRAY;t=i.removedCount,n=i.added}n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_;var a=n.length-t;this.updateArrayLength_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),o=hasListeners(this),i=o||r?{observableKind:"array",object:this.proxy_,type:UPDATE,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;r&&spyReportStart(i),this.atom_.reportChanged(),o&&notifyListeners(this,i),r&&spyReportEnd()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),o=hasListeners(this),i=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(i),this.atom_.reportChanged(),o&&notifyListeners(this,i),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 i=new Array(e+1-n.length),a=0;a<i.length-1;a++)i[a]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},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 i=new Proxy(o.values_,arrayTraps);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i})}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 i=this[$mobx];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.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),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:UPDATE,object:this,oldValue:n.value_,name:e,newValue:t}:null;r&&spyReportStart(i),n.setNewValue_(t),o&&notifyListeners(this,i),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),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:ADD,object:this,name:e,newValue:t}:null;r&&spyReportStart(i),o&&notifyListeners(this,i),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,i=o[0],a=o[1];e.call(t,a,i,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,i=!1,a=_createForOfIteratorHelperLoose(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))i=!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||(i=!0)}}if(!i)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),v=o.keys(),b=g.next(),y=v.next();!b.done;){if(b.value!==y.value){t.keysAtom_.reportChanged();break}b=g.next(),y=v.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),i=o||r?{observableKind:"set",debugObjectName:this.name_,type:ADD,object:this,newValue:e}:null;r&&spyReportStart(i),o&&notifyListeners(this,i),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),i=isSpyEnabled(),a=o||i?{type:UPDATE,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;i&&spyReportStart(a),n.setNewValue_(t),o&&notifyListeners(this,a),i&&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 i=t.make_(this,e,o,r);if(0===i)return;if(1===i)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 i=o.newValue;t.value!==i&&(t=_extends({},t,{value:i}))}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 i=interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:t});if(!i)return null;t=i.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,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),i={configurable:!globalState.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else defineProperty(this.target_,e,i);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),i=isSpyEnabled(),a=this.values_.get(e),s=void 0;if(!a&&(o||i))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],a&&(this.values_.delete(e),a instanceof ObservableValue&&(s=a.value_),propagateChanged(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||i){var l={type:REMOVE,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&spyReportStart(l),o&&notifyListeners(this,l),i&&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 i=r||o?{type:ADD,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&spyReportStart(i),r&&notifyListeners(this,i),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 i;return void 0===r&&(r="ObservableArray@"+getNextId()),void 0===o&&(o=!1),i=e.call(this)||this,initObservable(function(){var e=new ObservableArrayAdministration(r,n,o,!0);e.proxy_=i,addHiddenFinalProp(i,$mobx,e),t&&t.length&&i.spliceWithArray(0,0,t),safariPrototypeSetterInheritanceBug&&Object.defineProperty(i,"0",ENTRY_0)}),i}_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 i=typeof e;if("function"!==i&&"object"!==i&&"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,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$2().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$2()[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});var applyObservable$1=(e,t,n)=>{if(n)t.forEach(([t,...n])=>{n.forEach(n=>{t(e,n)})}),makeObservable(e);else{const n={};t.forEach(([e,...t])=>{t.forEach(t=>{n[t]=e})}),makeObservable(e,n)}},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},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 i=t;for(const a of r)if(!Object.hasOwn(i,a)||e[a]!==i[a])return!1;return!0};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 _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}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}}const entries$1=Object.entries,setPrototypeOf$1=Object.setPrototypeOf,isFrozen$1=Object.isFrozen,getPrototypeOf$1=Object.getPrototypeOf,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor;let freeze$1=Object.freeze,seal$1=Object.seal,create$1=Object.create,_ref="undefined"!=typeof Reflect&&Reflect,apply$1=_ref.apply,construct$1=_ref.construct;freeze$1||(freeze$1=function(e){return e}),seal$1||(seal$1=function(e){return e}),apply$1||(apply$1=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$1||(construct$1=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$1=unapply$1(Array.prototype.forEach),arrayLastIndexOf$1=unapply$1(Array.prototype.lastIndexOf),arrayPop$1=unapply$1(Array.prototype.pop),arrayPush$1=unapply$1(Array.prototype.push),arraySplice$1=unapply$1(Array.prototype.splice),arrayIsArray=Array.isArray,stringToLowerCase$1=unapply$1(String.prototype.toLowerCase),stringToString$1=unapply$1(String.prototype.toString),stringMatch$1=unapply$1(String.prototype.match),stringReplace$1=unapply$1(String.prototype.replace),stringIndexOf$1=unapply$1(String.prototype.indexOf),stringTrim$1=unapply$1(String.prototype.trim),numberToString=unapply$1(Number.prototype.toString),booleanToString=unapply$1(Boolean.prototype.toString),bigintToString="undefined"==typeof BigInt?null:unapply$1(BigInt.prototype.toString),symbolToString="undefined"==typeof Symbol?null:unapply$1(Symbol.prototype.toString),objectHasOwnProperty$1=unapply$1(Object.prototype.hasOwnProperty),objectToString$1=unapply$1(Object.prototype.toString),regExpTest$1=unapply$1(RegExp.prototype.test),typeErrorCreate$1=unconstruct$1(TypeError);function unapply$1(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$1(e,t,r)}}function unconstruct$1(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return construct$1(e,n)}}function addToSet$1(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:stringToLowerCase$1;if(setPrototypeOf$1&&setPrototypeOf$1(e,null),!arrayIsArray(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(isFrozen$1(t)||(t[r]=e),o=e)}e[o]=!0}return e}function cleanArray$1(e){for(let t=0;t<e.length;t++){objectHasOwnProperty$1(e,t)||(e[t]=null)}return e}function clone$1(e){const t=create$1(null);for(const r of entries$1(e)){var n=_slicedToArray(r,2);const o=n[0],i=n[1];objectHasOwnProperty$1(e,o)&&(arrayIsArray(i)?t[o]=cleanArray$1(i):i&&"object"==typeof i&&i.constructor===Object?t[o]=clone$1(i):t[o]=i)}return t}function stringifyValue(e){switch(typeof e){case"string":return e;case"number":return numberToString(e);case"boolean":return booleanToString(e);case"bigint":return bigintToString?bigintToString(e):"0";case"symbol":return symbolToString?symbolToString(e):"Symbol()";case"undefined":default:return objectToString$1(e);case"function":case"object":{if(null===e)return objectToString$1(e);const t=e,n=lookupGetter$1(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:objectToString$1(e)}return objectToString$1(e)}}}function lookupGetter$1(e,t){for(;null!==e;){const n=getOwnPropertyDescriptor$1(e,t);if(n){if(n.get)return unapply$1(n.get);if("function"==typeof n.value)return unapply$1(n.value)}e=getPrototypeOf$1(e)}return function(){return null}}function isRegex(e){try{return regExpTest$1(e,""),!0}catch(t){return!1}}const html$1$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text$1=freeze$1(["#text"]),html$2=freeze$1(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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"]),svg$2=freeze$1(["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$2=freeze$1(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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$1=freeze$1(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR$1=seal$1(/{{[\w\W]*|^[\w\W]*}}/g),ERB_EXPR$1=seal$1(/<%[\w\W]*|^[\w\W]*%>/g),TMPLIT_EXPR$1=seal$1(/\${[\w\W]*/g),DATA_ATTR$1=seal$1(/^data-[\-\w.\u00B7-\uFFFF]+$/),ARIA_ATTR$1=seal$1(/^aria-[\-\w]+$/),IS_ALLOWED_URI$1=seal$1(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA$1=seal$1(/^(?:\w+script|data):/i),ATTR_WHITESPACE$1=seal$1(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME$1=seal$1(/^html$/i),CUSTOM_ELEMENT$1=seal$1(/^[a-z][.\w]*(-[.\w]+)+$/i),NODE_TYPE$1={element:1,text:3,progressingInstruction:7,comment:8,document:9},getGlobal$1=function(){return"undefined"==typeof window?null:window},_createTrustedTypesPolicy$1=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(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},_createHooksMap$1=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify$1(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getGlobal$1();const t=e=>createDOMPurify$1(e);if(t.version="3.4.5",t.removed=[],!e||!e.document||e.document.nodeType!==NODE_TYPE$1.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript,i=e.DocumentFragment,a=e.HTMLTemplateElement,s=e.Node,l=e.Element,u=e.NodeFilter,c=e.NamedNodeMap,d=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,p=e.HTMLFormElement,f=e.DOMParser,m=e.trustedTypes,h=l.prototype,g=lookupGetter$1(h,"cloneNode"),v=lookupGetter$1(h,"remove"),b=lookupGetter$1(h,"nextSibling"),y=lookupGetter$1(h,"childNodes"),w=lookupGetter$1(h,"parentNode"),x=s&&s.prototype?lookupGetter$1(s.prototype,"nodeType"):null;if("function"==typeof a){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,_="";const E=n,T=E.implementation,k=E.createNodeIterator,A=E.createDocumentFragment,C=E.getElementsByTagName,O=r.importNode;let R=_createHooksMap$1();t.isSupported="function"==typeof entries$1&&"function"==typeof w&&T&&void 0!==T.createHTMLDocument;const I=MUSTACHE_EXPR$1,D=ERB_EXPR$1,N=TMPLIT_EXPR$1,P=DATA_ATTR$1,M=ARIA_ATTR$1,L=IS_SCRIPT_OR_DATA$1,j=ATTR_WHITESPACE$1,V=CUSTOM_ELEMENT$1;let $=IS_ALLOWED_URI$1,F=null;const z=addToSet$1({},[...html$1$1,...svg$1$1,...svgFilters$1,...mathMl$1$1,...text$1]);let U=null;const B=addToSet$1({},[...html$2,...svg$2,...mathMl$2,...xml$1]);let H=Object.seal(create$1(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,G=null;const q=Object.seal(create$1(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Y=!0,K=!0,X=!1,Q=!0,J=!1,Z=!0,ee=!1,te=!1,ne=!1,re=!1,oe=!1,ie=!1,ae=!0,se=!1;const le="user-content-";let ue=!0,ce=!1,de={},pe=null;const fe=addToSet$1({},["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 me=null;const he=addToSet$1({},["audio","video","img","source","image","track"]);let ge=null;const ve=addToSet$1({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),be="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",we="http://www.w3.org/1999/xhtml";let xe=we,Se=!1,_e=null;const Ee=addToSet$1({},[be,ye,we],stringToString$1);let Te=addToSet$1({},["mi","mo","mn","ms","mtext"]),ke=addToSet$1({},["annotation-xml"]);const Ae=addToSet$1({},["title","style","font","a","script"]);let Ce=null;const Oe=["application/xhtml+xml","text/html"];let Re=null,Ie=null;const De=n.createElement("form"),Ne=function(e){return e instanceof RegExp||e instanceof Function},Pe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ie&&Ie===e)return;e&&"object"==typeof e||(e={}),e=clone$1(e),Ce=-1===Oe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Re="application/xhtml+xml"===Ce?stringToString$1:stringToLowerCase$1,F=objectHasOwnProperty$1(e,"ALLOWED_TAGS")&&arrayIsArray(e.ALLOWED_TAGS)?addToSet$1({},e.ALLOWED_TAGS,Re):z,U=objectHasOwnProperty$1(e,"ALLOWED_ATTR")&&arrayIsArray(e.ALLOWED_ATTR)?addToSet$1({},e.ALLOWED_ATTR,Re):B,_e=objectHasOwnProperty$1(e,"ALLOWED_NAMESPACES")&&arrayIsArray(e.ALLOWED_NAMESPACES)?addToSet$1({},e.ALLOWED_NAMESPACES,stringToString$1):Ee,ge=objectHasOwnProperty$1(e,"ADD_URI_SAFE_ATTR")&&arrayIsArray(e.ADD_URI_SAFE_ATTR)?addToSet$1(clone$1(ve),e.ADD_URI_SAFE_ATTR,Re):ve,me=objectHasOwnProperty$1(e,"ADD_DATA_URI_TAGS")&&arrayIsArray(e.ADD_DATA_URI_TAGS)?addToSet$1(clone$1(he),e.ADD_DATA_URI_TAGS,Re):he,pe=objectHasOwnProperty$1(e,"FORBID_CONTENTS")&&arrayIsArray(e.FORBID_CONTENTS)?addToSet$1({},e.FORBID_CONTENTS,Re):fe,W=objectHasOwnProperty$1(e,"FORBID_TAGS")&&arrayIsArray(e.FORBID_TAGS)?addToSet$1({},e.FORBID_TAGS,Re):clone$1({}),G=objectHasOwnProperty$1(e,"FORBID_ATTR")&&arrayIsArray(e.FORBID_ATTR)?addToSet$1({},e.FORBID_ATTR,Re):clone$1({}),de=!!objectHasOwnProperty$1(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?clone$1(e.USE_PROFILES):e.USE_PROFILES),Y=!1!==e.ALLOW_ARIA_ATTR,K=!1!==e.ALLOW_DATA_ATTR,X=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,J=e.SAFE_FOR_TEMPLATES||!1,Z=!1!==e.SAFE_FOR_XML,ee=e.WHOLE_DOCUMENT||!1,re=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,ne=e.FORCE_BODY||!1,ae=!1!==e.SANITIZE_DOM,se=e.SANITIZE_NAMED_PROPS||!1,ue=!1!==e.KEEP_CONTENT,ce=e.IN_PLACE||!1,$=isRegex(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:IS_ALLOWED_URI$1,xe="string"==typeof e.NAMESPACE?e.NAMESPACE:we,Te=objectHasOwnProperty$1(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?clone$1(e.MATHML_TEXT_INTEGRATION_POINTS):addToSet$1({},["mi","mo","mn","ms","mtext"]),ke=objectHasOwnProperty$1(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?clone$1(e.HTML_INTEGRATION_POINTS):addToSet$1({},["annotation-xml"]);const t=objectHasOwnProperty$1(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?clone$1(e.CUSTOM_ELEMENT_HANDLING):create$1(null);if(H=create$1(null),objectHasOwnProperty$1(t,"tagNameCheck")&&Ne(t.tagNameCheck)&&(H.tagNameCheck=t.tagNameCheck),objectHasOwnProperty$1(t,"attributeNameCheck")&&Ne(t.attributeNameCheck)&&(H.attributeNameCheck=t.attributeNameCheck),objectHasOwnProperty$1(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),J&&(K=!1),oe&&(re=!0),de&&(F=addToSet$1({},text$1),U=create$1(null),!0===de.html&&(addToSet$1(F,html$1$1),addToSet$1(U,html$2)),!0===de.svg&&(addToSet$1(F,svg$1$1),addToSet$1(U,svg$2),addToSet$1(U,xml$1)),!0===de.svgFilters&&(addToSet$1(F,svgFilters$1),addToSet$1(U,svg$2),addToSet$1(U,xml$1)),!0===de.mathMl&&(addToSet$1(F,mathMl$1$1),addToSet$1(U,mathMl$2),addToSet$1(U,xml$1))),q.tagCheck=null,q.attributeCheck=null,objectHasOwnProperty$1(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?q.tagCheck=e.ADD_TAGS:arrayIsArray(e.ADD_TAGS)&&(F===z&&(F=clone$1(F)),addToSet$1(F,e.ADD_TAGS,Re))),objectHasOwnProperty$1(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?q.attributeCheck=e.ADD_ATTR:arrayIsArray(e.ADD_ATTR)&&(U===B&&(U=clone$1(U)),addToSet$1(U,e.ADD_ATTR,Re))),objectHasOwnProperty$1(e,"ADD_URI_SAFE_ATTR")&&arrayIsArray(e.ADD_URI_SAFE_ATTR)&&addToSet$1(ge,e.ADD_URI_SAFE_ATTR,Re),objectHasOwnProperty$1(e,"FORBID_CONTENTS")&&arrayIsArray(e.FORBID_CONTENTS)&&(pe===fe&&(pe=clone$1(pe)),addToSet$1(pe,e.FORBID_CONTENTS,Re)),objectHasOwnProperty$1(e,"ADD_FORBID_CONTENTS")&&arrayIsArray(e.ADD_FORBID_CONTENTS)&&(pe===fe&&(pe=clone$1(pe)),addToSet$1(pe,e.ADD_FORBID_CONTENTS,Re)),ue&&(F["#text"]=!0),ee&&addToSet$1(F,["html","head","body"]),F.table&&(addToSet$1(F,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw typeErrorCreate$1('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw typeErrorCreate$1('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,_=S.createHTML("")}else void 0===S&&(S=_createTrustedTypesPolicy$1(m,o)),null!==S&&"string"==typeof _&&(_=S.createHTML(""));freeze$1&&freeze$1(e),Ie=e},Me=addToSet$1({},[...svg$1$1,...svgFilters$1,...svgDisallowed$1]),Le=addToSet$1({},[...mathMl$1$1,...mathMlDisallowed$1]),je=function(e){arrayPush$1(t.removed,{element:e});try{w(e).removeChild(e)}catch(n){v(e)}},Ve=function(e,n){try{arrayPush$1(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(r){arrayPush$1(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e)if(re||oe)try{je(n)}catch(r){}else try{n.setAttribute(e,"")}catch(r){}},$e=function(e){let t=null,r=null;if(ne)e="<remove></remove>"+e;else{const t=stringMatch$1(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===Ce&&xe===we&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=S?S.createHTML(e):e;if(xe===we)try{t=(new f).parseFromString(o,Ce)}catch(a){}if(!t||!t.documentElement){t=T.createDocument(xe,"template",null);try{t.documentElement.innerHTML=Se?_:o}catch(a){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(n.createTextNode(r),i.childNodes[0]||null),xe===we?C.call(t,ee?"html":"body")[0]:ee?t.documentElement:i},Fe=function(e){return k.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ze=function(e){e.normalize();const t=k.call(e.ownerDocument||e,e,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let n=t.nextNode();for(;n;){let e=n.data;arrayForEach$1([I,D,N],t=>{e=stringReplace$1(e,t," ")}),n.data=e,n=t.nextNode()}},Ue=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){if(!x||"object"!=typeof e||null===e)return!1;try{return"number"==typeof x(e)}catch(t){return!1}};function He(e,n,r){arrayForEach$1(e,e=>{e.call(t,n,r,Ie)})}const We=function(e){let n=null;if(He(R.beforeSanitizeElements,e,null),Ue(e))return je(e),!0;const r=Re(e.nodeName);if(He(R.uponSanitizeElement,e,{tagName:r,allowedTags:F}),Z&&e.hasChildNodes()&&!Be(e.firstElementChild)&&regExpTest$1(/<[/\w!]/g,e.innerHTML)&&regExpTest$1(/<[/\w!]/g,e.textContent))return je(e),!0;if(Z&&e.namespaceURI===we&&"style"===r&&Be(e.firstElementChild))return je(e),!0;if(e.nodeType===NODE_TYPE$1.progressingInstruction)return je(e),!0;if(Z&&e.nodeType===NODE_TYPE$1.comment&&regExpTest$1(/<[/\w]/g,e.data))return je(e),!0;if(W[r]||!(q.tagCheck instanceof Function&&q.tagCheck(r))&&!F[r]){if(!W[r]&&Ye(r)){if(H.tagNameCheck instanceof RegExp&&regExpTest$1(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(ue&&!pe[r]){const t=w(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=g(n[r],!0);t.insertBefore(o,b(e))}}}return je(e),!0}return e instanceof l&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:xe,tagName:"template"});const n=stringToLowerCase$1(e.tagName),r=stringToLowerCase$1(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===ye?t.namespaceURI===we?"svg"===n:t.namespaceURI===be?"svg"===n&&("annotation-xml"===r||Te[r]):Boolean(Me[n]):e.namespaceURI===be?t.namespaceURI===we?"math"===n:t.namespaceURI===ye?"math"===n&&ke[r]:Boolean(Le[n]):e.namespaceURI===we?!(t.namespaceURI===ye&&!ke[r])&&!(t.namespaceURI===be&&!Te[r])&&!Le[n]&&(Ae[n]||!Me[n]):!("application/xhtml+xml"!==Ce||!_e[e.namespaceURI]))}(e)?(je(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!regExpTest$1(/<\/no(script|embed|frames)/i,e.innerHTML)?(J&&e.nodeType===NODE_TYPE$1.text&&(n=e.textContent,arrayForEach$1([I,D,N],e=>{n=stringReplace$1(n,e," ")}),e.textContent!==n&&(arrayPush$1(t.removed,{element:e.cloneNode()}),e.textContent=n)),He(R.afterSanitizeElements,e,null),!1):(je(e),!0)},Ge=function(e,t,r){if(G[t])return!1;if(ae&&("id"===t||"name"===t)&&(r in n||r in De))return!1;const o=U[t]||q.attributeCheck instanceof Function&&q.attributeCheck(t,e);if(K&&!G[t]&&regExpTest$1(P,t));else if(Y&&regExpTest$1(M,t));else if(!o||G[t]){if(!(Ye(e)&&(H.tagNameCheck instanceof RegExp&&regExpTest$1(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&regExpTest$1(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&regExpTest$1(H.tagNameCheck,r)||H.tagNameCheck instanceof Function&&H.tagNameCheck(r))))return!1}else if(ge[t]);else if(regExpTest$1($,stringReplace$1(r,j,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf$1(r,"data:")||!me[e]){if(X&&!regExpTest$1(L,stringReplace$1(r,j,"")));else if(r)return!1}else;return!0},qe=addToSet$1({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Ye=function(e){return!qe[stringToLowerCase$1(e)]&&regExpTest$1(V,e)},Ke=function(e){He(R.beforeSanitizeAttributes,e,null);const n=e.attributes;if(!n||Ue(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let o=n.length;for(;o--;){const a=n[o],s=a.name,l=a.namespaceURI,u=a.value,c=Re(s),d=u;let p="value"===s?d:stringTrim$1(d);if(r.attrName=c,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,He(R.uponSanitizeAttribute,e,r),p=r.attrValue,!se||"id"!==c&&"name"!==c||0===stringIndexOf$1(p,le)||(Ve(s,e),p=le+p),Z&&regExpTest$1(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)){Ve(s,e);continue}if("attributename"===c&&stringMatch$1(p,"href")){Ve(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ve(s,e);continue}if(!Q&&regExpTest$1(/\/>/i,p)){Ve(s,e);continue}J&&arrayForEach$1([I,D,N],e=>{p=stringReplace$1(p,e," ")});const f=Re(e.nodeName);if(Ge(f,c,p)){if(S&&"object"==typeof m&&"function"==typeof m.getAttributeType)if(l);else switch(m.getAttributeType(f,c)){case"TrustedHTML":p=S.createHTML(p);break;case"TrustedScriptURL":p=S.createScriptURL(p)}if(p!==d)try{l?e.setAttributeNS(l,s,p):e.setAttribute(s,p),Ue(e)?je(e):arrayPop$1(t.removed)}catch(i){Ve(s,e)}}else Ve(s,e)}He(R.afterSanitizeAttributes,e,null)},Xe=function(e){let t=null;const n=Fe(e);for(He(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)He(R.uponSanitizeShadowNode,t,null),We(t),Ke(t),t.content instanceof i&&Xe(t.content);He(R.afterSanitizeShadowDOM,e,null)},Qe=function(e){if(e.nodeType===NODE_TYPE$1.element&&e.shadowRoot instanceof i){const t=e.shadowRoot;Qe(t),Xe(t)}const t=e.childNodes;if(!t)return;const n=[];arrayForEach$1(t,e=>{arrayPush$1(n,e)});for(const r of n)Qe(r)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,a=null,s=null,l=null;if(Se=!e,Se&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)&&"string"!=typeof(e=stringifyValue(e)))throw typeErrorCreate$1("dirty is not a string, aborting");if(!t.isSupported)return e;if(te||Pe(n),t.removed=[],"string"==typeof e&&(ce=!1),ce){const t=e.nodeName;if("string"==typeof t){const e=Re(t);if(!F[e]||W[e])throw typeErrorCreate$1("root node is forbidden and cannot be sanitized in-place")}Qe(e)}else if(Be(e))o=$e("\x3c!----\x3e"),a=o.ownerDocument.importNode(e,!0),a.nodeType===NODE_TYPE$1.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a),Qe(a);else{if(!re&&!J&&!ee&&-1===e.indexOf("<"))return S&&ie?S.createHTML(e):e;if(o=$e(e),!o)return re?null:ie?_:""}o&&ne&&je(o.firstChild);const u=Fe(ce?e:o);for(;s=u.nextNode();)We(s),Ke(s),s.content instanceof i&&Xe(s.content);if(ce)return J&&ze(e),e;if(re){if(J&&ze(o),oe)for(l=A.call(o.ownerDocument);o.firstChild;)l.appendChild(o.firstChild);else l=o;return(U.shadowroot||U.shadowrootmode)&&(l=O.call(r,l,!0)),l}let c=ee?o.outerHTML:o.innerHTML;return ee&&F["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&regExpTest$1(DOCTYPE_NAME$1,o.ownerDocument.doctype.name)&&(c="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+c),J&&arrayForEach$1([I,D,N],e=>{c=stringReplace$1(c,e," ")}),S&&ie?S.createHTML(c):c},t.setConfig=function(){Pe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),te=!0},t.clearConfig=function(){Ie=null,te=!1},t.isValidAttribute=function(e,t,n){Ie||Pe({});const r=Re(e),o=Re(t);return Ge(r,o,n)},t.addHook=function(e,t){"function"==typeof t&&arrayPush$1(R[e],t)},t.removeHook=function(e,t){if(void 0!==t){const n=arrayLastIndexOf$1(R[e],t);return-1===n?void 0:arraySplice$1(R[e],n,1)[0]}return arrayPop$1(R[e])},t.removeHooks=function(e){R[e]=[]},t.removeAllHooks=function(){R=_createHooksMap$1()},t}createDOMPurify$1();var startViewTransitionSafety=(e,t)=>{if("undefined"!=typeof document&&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"),i=Symbol.for("react.strict_mode"),a=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 g(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}var v={current:null},b={transition:null},y={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},x={},S=null;function _(e){S=e}x.setExtraStackFrame=function(e){S=e},x.getCurrentStack=null,x.getStackAddendum=function(){var e="";S&&(e+=S);var t=x.getCurrentStack;return t&&(e+=t()||""),e};var E={ReactCurrentDispatcher:v,ReactCurrentBatchConfig:b,ReactCurrentOwner:w};function T(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];A("warn",e,n)}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];A("error",e,n)}function A(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 C={};function O(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;C[o]||(k("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),C[o]=!0)}var R={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){O(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){O(e,"replaceState")},enqueueSetState:function(e,t,n,r){O(e,"setState")}},I=Object.assign,D={};function N(e,t,n){this.props=e,this.context=t,this.refs=D,this.updater=n||R}Object.freeze(D),N.prototype.isReactComponent={},N.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")},N.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var P={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(N.prototype,e,{get:function(){T("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var L in P)P.hasOwnProperty(L)&&M(L,P[L]);function j(){}function V(e,t,n){this.props=e,this.context=t,this.refs=D,this.updater=n||R}j.prototype=N.prototype;var $=V.prototype=new j;$.constructor=V,I($,N.prototype),$.isPureReactComponent=!0;var F=Array.isArray;function z(e){return F(e)}function U(e){return""+e}function B(e){if(function(e){try{return U(e),!1}catch(t){return!0}}(e))return k("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)),U(e)}function H(e){return e.displayName||"Context"}function W(e){if(null==e)return null;if("number"==typeof e.tag&&k("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 a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return H(e)+".Consumer";case s:return H(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:W(e.type)||"Memo";case f:var n=e,m=n._payload,h=n._init;try{return W(h(m))}catch(g){return null}}return null}var G,q,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,i,a,s){var l={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:a,_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:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ee(e,t,n){var r,o={},i=null,a=null,s=null,l=null;if(null!=t)for(r in Q(t)&&(a=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=W(w.current.type);Y[t]||(k('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)&&(B(t.key),i=""+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(i||a){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&function(e,t){var n=function(){G||(G=!0,k("%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),a&&function(e,t){var n=function(){q||(q=!0,k("%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,i,a,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,i=I({},e.props),a=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)&&(B(t.key),a=""+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?i[r]=o[r]:i[r]=t[r]);var d=arguments.length-2;if(1===d)i.children=n;else if(d>1){for(var p=Array(d),f=0;f<d;f++)p[f]=arguments[f+2];i.children=p}return Z(e.type,a,s,l,u,c,i)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var re,oe=!1,ie=/\/+/g;function ae(e){return e.replace(ie,"$&/")}function se(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(B(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,i,a){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=a(p),m=""===i?"."+se(p,0):i;if(z(f)){var h="";null!=m&&(h=ae(m)+"/"),le(f,t,h,"",function(e){return e})}else null!=f&&(ne(f)&&(!f.key||p&&p.key===f.key||B(f.key),l=f,u=o+(!f.key||p&&p.key===f.key?"":ae(""+f.key)+"/")+m,f=Z(l.type,u,l.ref,l._self,l._source,l._owner,l.props)),t.push(f));return 1}var v=0,b=""===i?".":i+":";if(z(e))for(var y=0;y<e.length;y++)v+=le(c=e[y],t,o,b+se(c,y),a);else{var w=g(e);if("function"==typeof w){var x=e;w===x.entries&&(oe||T("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;)v+=le(c=S.value,t,o,b+se(c,E++),a)}else if("object"===s){var k=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===k?"object with keys {"+Object.keys(e).join(", ")+"}":k)+"). If you meant to render a collection of children, use an array instead.")}}return v}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&&k("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||k("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===a||e===i||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=v.current;return null===e&&k("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,ge,ve,be,ye,we=0;function xe(){}xe.__reactDisabledLog=!0;var Se,_e=E.ReactCurrentDispatcher;function Ee(e,t,n){if(void 0===Se)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Se=r&&r[1]||""}return"\n"+Se+e}var Te,ke=!1,Ae="function"==typeof WeakMap?WeakMap:Map;function Ce(e,t){if(!e||ke)return"";var n,r=Te.get(e);if(void 0!==r)return r;ke=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=_e.current,_e.current=null,function(){if(0===we){fe=console.log,me=console.info,he=console.warn,ge=console.error,ve=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 a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(m){n=m}Reflect.construct(e,[],a)}else{try{a.call()}catch(m){n=m}e.call(a.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&&Te.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{ke=!1,_e.current=o,function(){if(0===--we){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:fe}),info:I({},e,{value:me}),warn:I({},e,{value:he}),error:I({},e,{value:ge}),group:I({},e,{value:ve}),groupCollapsed:I({},e,{value:be}),groupEnd:I({},e,{value:ye})})}we<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?Ee(p):"";return"function"==typeof e&&Te.set(e,f),f}function Oe(e,t,n){if(null==e)return"";if("function"==typeof e)return Ce(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 Ce(e.render,!1);case p:return Oe(e.type,t,n);case f:var o=e,i=o._payload,a=o._init;try{return Oe(a(i),t,n)}catch(s){}}return""}Te=new Ae;var Re,Ie={},De=E.ReactDebugCurrentFrame;function Ne(e){if(e){var t=e._owner,n=Oe(e.type,e._source,t?t.type:null);De.setExtraStackFrame(n)}else De.setExtraStackFrame(null)}function Pe(e){if(e){var t=e._owner;_(Oe(e.type,e._source,t?t.type:null))}else _(null)}function Me(){if(w.current){var e=W(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Re=!1;var Le={};function je(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(!Le[n]){Le[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+W(e._owner.type)+"."),Pe(e),k('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),Pe(null)}}}function Ve(e,t){if("object"==typeof e)if(z(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&je(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=g(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ne(i.value)&&je(i.value,t)}}function $e(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=W(n);!function(e,t,n,r,o){var i=Function.call.bind(K);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(Ne(o),k("%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,a,typeof s),Ne(null)),s instanceof Error&&!(s.message in Ie)&&(Ie[s.message]=!0,Ne(o),k("Failed %s type: %s",n,s.message),Ne(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Re||(Re=!0,k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",W(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Fe(e,t,r){var i,a,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!=(i=t)&&void 0!==(a=i.__source)?"\n\nCheck your code at "+a.fileName.replace(/^.*[\\\/]/,"")+":"+a.lineNumber+".":"";l+=c||Me(),null===e?u="null":z(e)?u="array":void 0!==e&&e.$$typeof===n?(u="<"+(W(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,k("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){Pe(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Pe(null);break}}null!==e.ref&&(Pe(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),Pe(null))}(d):$e(d),d}var ze=!1,Ue=!1,Be=null,He=0,We=!1;function Ge(e){var t=He;He++,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 qe(t),c}finally{y.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var i=n,a=!1,s={then:function(e,n){a=!0,i.then(function(r){qe(t),0===He?Ye(r,e,n):e(r)},function(e){qe(t),n(e)})}};return We||"undefined"==typeof Promise||Promise.resolve().then(function(){}).then(function(){a||(We=!0,k("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(qe(t),0===He){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 qe(e){e!==He-1&&k("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),He=e}function Ye(t,n,r){var o=y.current;if(null!==o)try{Xe(o),function(t){if(null===Be)try{var n=("require"+Math.random()).slice(0,7),r=e&&e[n];Be=r.call(e,"timers").setImmediate}catch(o){Be=function(e){!1===Ue&&(Ue=!0,"undefined"==typeof MessageChannel&&k("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)}}Be(t)}(function(){0===o.length?(y.current=null,n(t)):Ye(t,n,r)})}catch(i){r(i)}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=Fe,Je=function(e,t,n){for(var r=te.apply(this,arguments),o=2;o<arguments.length;o++)Ve(arguments[o],r.type);return $e(r),r},Ze=function(e){var t=Fe.bind(null,e);return t.type=e,ze||(ze=!0,T("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 T("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=N,t.Fragment=o,t.Profiler=a,t.PureComponent=V,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E,t.act=Ge,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,i={$$typeof:l,_context:t};return Object.defineProperties(i,{Provider:{get:function(){return r||(r=!0,k("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,k("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||(T("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=i,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?k("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?k("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&k("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||k("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){k("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){k("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)||k("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&&T("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=Ge,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?k("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&&k("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"),i=Symbol.for("react.profiler"),a=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 g(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 v;function b(e){return e.displayName||"Context"}function y(e){if(null==e)return null;if("number"==typeof e.tag&&g("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 i: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 a: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(v){return null}}return null}v=Symbol.for("react.module.reference");var w,x,S,_,E,T,k,A=Object.assign,C=0;function O(){}O.__reactDisabledLog=!0;var R,I=h.ReactCurrentDispatcher;function D(e,t,n){if(void 0===R)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return"\n"+R+e}var N,P=!1,M="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||P)return"";var n,r=N.get(e);if(void 0!==r)return r;P=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=I.current,I.current=null,function(){if(0===C){w=console.log,x=console.info,S=console.warn,_=console.error,E=console.group,T=console.groupCollapsed,k=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}C++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(m){n=m}Reflect.construct(e,[],a)}else{try{a.call()}catch(m){n=m}e.call(a.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&&N.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{P=!1,I.current=o,function(){if(0===--C){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:w}),info:A({},e,{value:x}),warn:A({},e,{value:S}),error:A({},e,{value:_}),group:A({},e,{value:E}),groupCollapsed:A({},e,{value:T}),groupEnd:A({},e,{value:k})})}C<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?D(p):"";return"function"==typeof e&&N.set(e,f),f}function j(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return D(e);switch(e){case u:return D("Suspense");case c:return D("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return L(e.render,!1);case d:return j(e.type,t,n);case p:var o=e,i=o._payload,a=o._init;try{return j(a(i),t,n)}catch(s){}}return""}N=new M;var V=Object.prototype.hasOwnProperty,$={},F=h.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,n=j(e.type,e._source,t?t.type:null);F.setExtraStackFrame(n)}else F.setExtraStackFrame(null)}var U=Array.isArray;function B(e){return U(e)}function H(e){return""+e}function W(e){if(function(e){try{return H(e),!1}catch(t){return!0}}(e))return g("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)),H(e)}var G,q,Y=h.ReactCurrentOwner,K={key:!0,ref:!0,__self:!0,__source:!0};function X(e,n,r,o,i){var a,s={},l=null,u=null;for(a in void 0!==r&&(W(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)&&(W(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,a)&&!K.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){G||(G=!0,g("%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(){q||(q=!0,g("%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,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_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:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,o,Y.current,s)}var Q,J=h.ReactCurrentOwner,Z=h.ReactDebugCurrentFrame;function ee(e){if(e){var t=e._owner,n=j(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),g('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 ie(e,t){if("object"==typeof e)if(B(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 i,a=o.call(e);!(i=a.next()).done;)te(i.value)&&oe(i.value,t)}}function ae(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 i=Function.call.bind(V);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(z(o),g("%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,a,typeof s),z(null)),s instanceof Error&&!(s.message in $)&&($[s.message]=!0,z(o),g("Failed %s type: %s",n,s.message),z(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Q){Q=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("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===i||e===o||e===u||e===c||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||void 0!==e.getModuleId)}(e);if(!x){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _;S+=ne(),null===e?_="null":B(e)?_="array":void 0!==e&&e.$$typeof===t?(_="<"+(y(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,g("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 T=n.children;if(void 0!==T)if(h)if(B(T)){for(var k=0;k<T.length;k++)ie(T[k],e);Object.freeze&&Object.freeze(T)}else g("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(T,e)}if(V.call(n,"key")){var A=y(e),C=Object.keys(n).filter(function(e){return"key"!==e}),O=C.length>0?"{key: someKey, "+C.join(": ..., ")+": ...}":"{key: someKey}";if(!se[A+O])g('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,C.length>0?"{"+C.join(": ..., ")+": ...}":"{}",A),se[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){ee(e),g("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),g("Invalid attribute `ref` supplied to `React.Fragment`."),ee(null))}(E):ae(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 i=r-1>>>1,a=e[i];if(!(o(a,t)>0))return;e[i]=t,e[r]=a,r=i}}(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,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(o(l,t)<0)u<i&&o(c,l)<0?(e[r]=c,e[u]=t,r=u):(e[r]=l,e[s]=t,r=s);else{if(!(u<i&&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 i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,p=3,f=!1,m=!1,h=!1,g="function"==typeof setTimeout?setTimeout:null,v="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,D(x);else{var t=n(u);null!==t&&N(w,t.startTime-e)}}function x(t,o){m=!1,h&&(h=!1,P()),f=!0;var i=p;try{return function(t,o){var i=o;for(y(i),d=n(l);null!==d&&(!(d.expirationTime>i)||t&&!A());){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)return!0;var c=n(u);return null!==c&&N(w,c.startTime-i),!1}(t,o)}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S=!1,_=null,E=-1,T=5,k=-1;function A(){return!(e.unstable_now()-k<T)}var C,O=function(){if(null!==_){var t=e.unstable_now();k=t;var n=!0;try{n=_(!0,t)}finally{n?C():(S=!1,_=null)}}else S=!1};if("function"==typeof b)C=function(){b(O)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,I=R.port2;R.port1.onmessage=O,C=function(){I.postMessage(null)}}else C=function(){g(O,0)};function D(e){_=e,S||(S=!0,C())}function N(t,n){E=g(function(){t(e.unstable_now())},n)}function P(){v(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,D(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"):T=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,i){var a,s,d=e.unstable_now();if("object"==typeof i&&null!==i){var p=i.delay;a="number"==typeof p&&p>0?d+p:d}else a=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 g=a+s,v={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:g,sortIndex:-1};return a>d?(v.sortIndex=a,t(u,v),null===n(l)&&v===n(u)&&(h?P():h=!0,N(w,a-d))):(v.sortIndex=g,t(l,v),m||f||(m=!0,D(x))),v},e.unstable_shouldYield=A,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];a("warn",e,n)}}function i(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];a("error",e,n)}}function a(e,t,r){var o=n.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var i=r.map(function(e){return String(e)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}var s=10,l=11,u=12,c=13,d=14,p=15,f=17,m=18,h=19,g=21,v=22,b=23,y=!1,w=!1,x=new Set,S={},_={};function E(e,t){T(e,t),T(e+"Capture",t)}function T(e,t){S[e]&&i("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),S[e]=t;var n=e.toLowerCase();_[n]=e,"onDoubleClick"===e&&(_.ondblclick=e);for(var r=0;r<t.length;r++)x.add(t[r])}var k=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),A=Object.prototype.hasOwnProperty;function C(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function O(e){try{return R(e),!1}catch(t){return!0}}function R(e){return""+e}function I(e,t){if(O(e))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}function D(e){if(O(e))return i("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.",C(e)),R(e)}var N=":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",P=N+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",M=new RegExp("^["+N+"]["+P+"]*$"),L={},j={};function V(e){return!!A.call(j,e)||!A.call(L,e)&&(M.test(e)?(j[e]=!0,!0):(L[e]=!0,i("Invalid attribute name: `%s`",e),!1))}function $(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 F(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 z(e,t,n,r){if(null==t)return!0;if(F(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 U(e){return H.hasOwnProperty(e)?H[e]:null}function B(e,t,n,r,o,i,a){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=i,this.removeEmptyString=a}var H={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){H[e]=new B(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];H[t]=new B(t,1,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){H[e]=new B(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){H[e]=new B(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){H[e]=new B(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){H[e]=new B(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){H[e]=new B(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){H[e]=new B(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){H[e]=new B(e,5,!1,e.toLowerCase(),null,!1,!1)});var W=/[\-\:]([a-z])/g,G=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(W,G);H[t]=new B(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(W,G);H[t]=new B(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(W,G);H[t]=new B(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){H[e]=new B(e,1,!1,e.toLowerCase(),null,!1,!1)});H.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){H[e]=new B(e,1,!1,e.toLowerCase(),null,!0,!0)});var q=/^[\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&&q.test(e)&&(Y=!0,i("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];I(n,t),r.sanitizeURL&&K(""+n);var o=r.attributeName,i=null;if(4===r.type){if(e.hasAttribute(o)){var a=e.getAttribute(o);return""===a||(z(t,n,r,!1)?a:a===""+n?n:a)}}else if(e.hasAttribute(o)){if(z(t,n,r,!1))return e.getAttribute(o);if(3===r.type)return n;i=e.getAttribute(o)}return z(t,n,r,!1)?null===i?n:i:i===""+n?n:i}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 I(n,t),o===""+n?n:o}}function J(e,t,n,r){var o=U(t);if(!$(t,o,r))if(z(t,n,o,r)&&(n=null),r||null===o){if(V(t)){var i=t;null===n?e.removeAttribute(i):(I(n,t),e.setAttribute(i,""+n))}}else if(o.mustUseProperty){var a=o.propertyName;if(null===n){var s=o.type;e[a]=3!==s&&""}else e[a]=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="":(I(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"),ie=Symbol.for("react.context"),ae=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,ge,ve,be,ye,we,xe=Object.assign,Se=0;function _e(){}_e.__reactDisabledLog=!0;var Ee,Te=n.ReactCurrentDispatcher;function ke(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 Ae,Ce=!1,Oe="function"==typeof WeakMap?WeakMap:Map;function Re(e,t){if(!e||Ce)return"";var n,r=Ae.get(e);if(void 0!==r)return r;Ce=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Te.current,Te.current=null,function(){if(0===Se){me=console.log,he=console.info,ge=console.warn,ve=console.error,be=console.group,ye=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:_e,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Se++}();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(g){if(g&&n&&"string"==typeof g.stack){for(var l=g.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&&Ae.set(e,p),p}}while(c>=1&&d>=0);break}}}finally{Ce=!1,Te.current=o,function(){if(0===--Se){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:ge}),error:xe({},e,{value:ve}),group:xe({},e,{value:be}),groupCollapsed:xe({},e,{value:ye}),groupEnd:xe({},e,{value:we})})}Se<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",m=f?ke(f):"";return"function"==typeof e&&Ae.set(e,m),m}function Ie(e,t,n){return Re(e,!1)}function De(e,t,n){if(null==e)return"";if("function"==typeof e)return Re(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return ke(e);switch(e){case se:return ke("Suspense");case le:return ke("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case ae:return Ie(e.render);case ue:return De(e.type,t,n);case ce:var o=e,i=o._payload,a=o._init;try{return De(a(i),t,n)}catch(s){}}return""}function Ne(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return ke(e.type);case 16:return ke("Lazy");case c:return ke("Suspense");case h:return ke("SuspenseList");case 0:case 2:case p:return Ie(e.type);case l:return Ie(e.type.render);case 1:return Re(e.type,!0);default:return""}}function Pe(e){try{var t="",n=e;do{t+=Ne(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 Le(e){if(null==e)return null;if("number"==typeof e.tag&&i("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 ie:return Me(e)+".Consumer";case oe:return Me(e._context)+".Provider";case ae: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:Le(e.type)||"Memo";case ce:var n=e,r=n._payload,o=n._init;try{return Le(o(r))}catch(a){return null}}return null}function je(e){return e.displayName||"Context"}function Ve(e){var t,n,r,o,i=e.tag,a=e.type;switch(i){case 24:return"Cache";case 9:return je(a)+".Consumer";case s:return je(a._context)+".Provider";case 18:return"DehydratedFragment";case l:return t=a,n=a.render,r="ForwardRef",o=n.displayName||n.name||"",t.displayName||(""!==o?r+"("+o+")":r);case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Le(a);case 8:return a===ne?"StrictMode":"Mode";case v:return"Offscreen";case u:return"Profiler";case g: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 a)return a.displayName||a.name||null;if("string"==typeof a)return a}return null}Ae=new Oe;var $e=n.ReactDebugCurrentFrame,Fe=null,ze=!1;function Ue(){if(null===Fe)return null;var e=Fe._debugOwner;return null!=e?Ve(e):null}function Be(){return null===Fe?"":Pe(Fe)}function He(){$e.getCurrentStack=null,Fe=null,ze=!1}function We(e){$e.getCurrentStack=null===e?null:Be,Fe=e,ze=!1}function Ge(e){ze=e}function qe(e){return""+e}function Ye(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return D(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||i("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||i("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);D(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,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){D(e),r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var a={getValue:function(){return r},setValue:function(e){D(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return a}}(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,it=!1;function at(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||(i("%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",Ue()||"A component",t.type),rt=!0),void 0===t.value||void 0===t.defaultValue||nt||(i("%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",Ue()||"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:at(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=at(t);n._wrapperState.controlled||!r||it||(i("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"),it=!0),!n._wrapperState.controlled||r||ot||(i("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),a=t.type;if(null!=o)"number"===a?(0===o&&""===n.value||n.value!=o)&&(n.value=qe(o)):n.value!==qe(o)&&(n.value=qe(o));else if("submit"===a||"reset"===a)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 i=qe(r._wrapperState.initialValue);n||i!==r.value&&(r.value=i),r.defaultValue=i}var a=r.name;""!==a&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==a&&(r.name=a)}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;I(n,"name");for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<o.length;i++){var a=o[i];if(a!==e&&a.form===e.form){var s=Qu(a);if(!s)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");et(a),ct(a,s)}}}}(n,t)}function ft(e,t,n){"number"===t&&tt(e.ownerDocument)===e||(null==n?e.defaultValue=qe(e._wrapperState.initialValue):e.defaultValue!==qe(n)&&(e.defaultValue=qe(n)))}var mt=!1,ht=!1,gt=!1;function vt(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,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):null!=n.dangerouslySetInnerHTML&&(gt||(gt=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||mt||(i("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=Ue();return e?"\n\nCheck the render method of `"+e+"`.":""}bt=!1;var St=["value","defaultValue"];function _t(e,t,n,r){var o=e.options;if(t){for(var i=n,a={},s=0;s<i.length;s++)a["$"+i[s]]=!0;for(var l=0;l<o.length;l++){var u=a.hasOwnProperty("$"+o[l].value);o[l].selected!==u&&(o[l].selected=u),u&&r&&(o[l].defaultSelected=!0)}}else{for(var c=qe(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 Tt(e,t){var n=e;!function(e){Xe(0,e);for(var t=0;t<St.length;t++){var n=St[t];if(null!=e[n]){var r=wt(e[n]);e.multiple&&!r?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,xt()):!e.multiple&&r&&i("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||(i("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 kt=!1;function At(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:qe(n._wrapperState.initialValue)})}function Ct(e,t){var n=e;Xe(0,t),void 0===t.value||void 0===t.defaultValue||kt||(i("%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",Ue()||"A component"),kt=!0);var r=t.value;if(null==r){var o=t.children,a=t.defaultValue;if(null!=o){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=a)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]}a=o}null==a&&(a=""),r=a}n._wrapperState={initialValue:Ye(r)}}function Ot(e,t){var n=e,r=Ye(t.value),o=Ye(t.defaultValue);if(null!=r){var i=qe(r);i!==n.value&&(n.value=i),null==t.defaultValue&&n.defaultValue!==i&&(n.defaultValue=i)}null!=o&&(n.defaultValue=qe(o))}function Rt(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var It="http://www.w3.org/1999/xhtml",Dt="http://www.w3.org/2000/svg";function Nt(e){switch(e){case"svg":return Dt;case"math":return"http://www.w3.org/1998/Math/MathML";default:return It}}function Pt(e,t){return null==e||e===It?Nt(t):e===Dt&&"foreignObject"===t?It:e}var Mt,Lt,jt=(Lt=function(e,t){if(e.namespaceURI!==Dt||"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 Lt(e,t,n,r)})}:Lt),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},$t={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"]},Ft={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 zt=["Webkit","ms","Moz","O"];function Ut(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ft.hasOwnProperty(e)&&Ft[e]?(function(e,t){if(O(e))i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(Ft).forEach(function(e){zt.forEach(function(t){Ft[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=Ft[e]})});var Bt=/([A-Z])/g,Ht=/^ms-/;function Wt(e){return e.replace(Bt,"-$1").toLowerCase().replace(Ht,"-ms-")}var Gt=/^(?:webkit|moz|o)[A-Z]/,qt=/^-ms-/,Yt=/-(.)/g,Kt=/;\s*$/,Xt={},Qt={},Jt=!1,Zt=!1,en=function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,i("Unsupported style property %s. Did you mean %s?",e,e.replace(qt,"ms-").replace(Yt,function(e,t){return t.toUpperCase()})))},tn=function(e,t){e.indexOf("-")>-1?en(e):Gt.test(e)?function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,i("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,i('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,i("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e){Zt||(Zt=!0,i("`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 i=0===r.indexOf("--");t+=n+(i?r:Wt(r))+":",t+=Ut(r,o,i),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 i=Ut(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,i):n[r]=i}}function on(e){return null==e||"boolean"==typeof e||""===e}function an(e){var t={};for(var n in e)for(var r=$t[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&&i("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)-["+P+"]*$"),mn=new RegExp("^(aria)[A-Z]["+P+"]*$");function hn(e,t){if(A.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 i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),pn[t]=!0,!0;if(t!==r)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),pn[t]=!0,!0}if(fn.test(t)){var o=t.toLowerCase(),a=dn.hasOwnProperty(o)?o:null;if(null==a)return pn[t]=!0,!1;if(t!==a)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,a),pn[t]=!0,!0}return!0}function gn(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?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e):n.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e)}(e,t)}var vn=!1;var bn,yn={},wn=/^on./,xn=/^on[^A-Z]/,Sn=new RegExp("^(aria)-["+P+"]*$"),_n=new RegExp("^(aria)[A-Z]["+P+"]*$");bn=function(e,t,n,r){if(A.call(yn,t)&&yn[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return i("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 a=r.registrationNameDependencies,s=r.possibleRegistrationNames;if(a.hasOwnProperty(t))return!0;var l=s.hasOwnProperty(o)?s[o]:null;if(null!=l)return i("Invalid event handler property `%s`. Did you mean `%s`?",t,l),yn[t]=!0,!0;if(wn.test(t))return i("Unknown event handler property `%s`. It will be ignored.",t),yn[t]=!0,!0}else if(wn.test(t))return xn.test(t)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),yn[t]=!0,!0;if(Sn.test(t)||_n.test(t))return!0;if("innerhtml"===o)return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),yn[t]=!0,!0;if("aria"===o)return i("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 i("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 i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),yn[t]=!0,!0;var u=U(t),c=null!==u&&0===u.type;if(cn.hasOwnProperty(o)){var d=cn[o];if(d!==t)return i("Invalid DOM property `%s`. Did you mean `%s`?",t,d),yn[t]=!0,!0}else if(!c&&t!==o)return i("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&&F(t,n,u,!1)?(n?i('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):i('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||(F(t,n,u,!1)?(yn[t]=!0,!1):("false"!==n&&"true"!==n||null===u||3!==u.type||(i("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 a=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?i("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 ",a,e):r.length>1&&i("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 ",a,e)}(e,t,n)}var Tn=null;function kn(e){null!==Tn&&i("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Tn=e}function An(){null===Tn&&i("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Tn=null}function Cn(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var On=null,Rn=null,In=null;function Dn(e){var t=Ku(e);if(t){if("function"!=typeof On)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);On(t.stateNode,t.type,r)}}}function Nn(e){Rn?In?In.push(e):In=[e]:Rn=e}function Pn(){if(Rn){var e=Rn,t=In;if(Rn=null,In=null,Dn(e),t)for(var n=0;n<t.length;n++)Dn(t[n])}}var Mn=function(e,t){return e(t)},Ln=function(){},jn=!1;function Vn(){(null!==Rn||null!==In)&&(Ln(),Pn())}function $n(e,t,n){if(jn)return e(t,n);jn=!0;try{return Mn(e,t,n)}finally{jn=!1,Vn()}}function Fn(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 zn=!1;if(k)try{var Un={};Object.defineProperty(Un,"passive",{get:function(){zn=!0}}),window.addEventListener("test",Un,Un),window.removeEventListener("test",Un,Un)}catch(rx){zn=!1}function Bn(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Hn=Bn;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var Wn=document.createElement("react");Hn=function(e,t,n,r,o,i,a,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(){Wn.removeEventListener(x,v,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=p)}var h,g=Array.prototype.slice.call(arguments,3);function v(){c=!0,m(),t.apply(n,g),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),Wn.addEventListener(x,v,!1),u.initEvent(x,!1,!1),Wn.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(),Bn.apply(this,arguments)}}var Gn=Hn,qn=!1,Yn=null,Kn=!1,Xn=null,Qn={onError:function(e){qn=!0,Yn=e}};function Jn(e,t,n,r,o,i,a,s,l){qn=!1,Yn=null,Gn.apply(Qn,arguments)}function Zn(){if(qn){var e=Yn;return qn=!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,ir=1024,ar=2048,sr=4096,lr=8192,ur=16384,cr=32768,dr=65536,pr=131072,fr=1048576,mr=2097152,hr=4194304,gr=16777216,vr=33554432,br=1028,yr=12854,wr=8772,xr=2064,Sr=14680064,_r=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 Tr(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 kr(e){return 3===e.tag?e.stateNode.containerInfo:null}function Ar(e){if(Er(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Cr(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 i=r.return;if(null===i)break;var a=i.alternate;if(null===a){var s=i.return;if(null!==s){r=o=s;continue}break}if(i.child===a.child){for(var l=i.child;l;){if(l===r)return Ar(i),e;if(l===o)return Ar(i),t;l=l.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=i,o=a;else{for(var u=!1,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){for(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)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 Or(e){var t=Cr(e);return null!==t?Rr(t):null}function Rr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=Rr(t);if(null!==n)return n;t=t.sibling}return null}function Ir(e){var t=Cr(e);return null!==t?Dr(t):null}function Dr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){if(4!==t.tag){var n=Dr(t);if(null!==n)return n}t=t.sibling}return null}var Nr=t.unstable_scheduleCallback,Pr=t.unstable_cancelCallback,Mr=t.unstable_shouldYield,Lr=t.unstable_requestPaint,jr=t.unstable_now,Vr=t.unstable_getCurrentPriorityLevel,$r=t.unstable_ImmediatePriority,Fr=t.unstable_UserBlockingPriority,zr=t.unstable_NormalPriority,Ur=t.unstable_LowPriority,Br=t.unstable_IdlePriority,Hr=t.unstable_yieldValue,Wr=t.unstable_setDisableYieldValue,Gr=null,qr=null,Yr=null,Kr=!1,Xr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Qr(e){if("function"==typeof Hr&&(Wr(e),r=e),qr&&"function"==typeof qr.setStrictMode)try{qr.setStrictMode(Gr,e)}catch(t){Kr||(Kr=!0,i("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 io(e){null!==Yr&&"function"==typeof Yr.markComponentPassiveEffectUnmountStarted&&Yr.markComponentPassiveEffectUnmountStarted(e)}function ao(){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 go(e,t){null!==Yr&&"function"==typeof Yr.markStateUpdateScheduled&&Yr.markStateUpdateScheduled(e,t)}var vo=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,So=1,_o=2,Eo=4,To=8,ko=16,Ao=32,Co=4194240,Oo=1024,Ro=2048,Io=4096,Do=8192,No=16384,Po=32768,Mo=65536,Lo=131072,jo=262144,Vo=524288,$o=1048576,Fo=2097152,zo=130023424,Uo=4194304,Bo=8388608,Ho=16777216,Wo=33554432,Go=67108864,qo=Uo,Yo=134217728,Ko=268435455,Xo=268435456,Qo=536870912,Jo=1073741824;function Zo(e){return e&So?"Sync":e&_o?"InputContinuousHydration":e&Eo?"InputContinuous":e&To?"DefaultHydration":e&ko?"Default":e&Ao?"TransitionHydration":e&Co?"Transition":e&zo?"Retry":e&Yo?"SelectiveHydration":e&Xo?"IdleHydration":e&Qo?"Idle":e&Jo?"Offscreen":void 0}var ei=-1,ti=64,ni=Uo;function ri(e){switch(pi(e)){case So:return So;case _o:return _o;case Eo:return Eo;case To:return To;case ko:return ko;case Ao:return Ao;case 64:case 128:case 256:case 512:case Oo:case Ro:case Io:case Do:case No:case Po:case Mo:case Lo:case jo:case Vo:case $o:case Fo:return e&Co;case Uo:case Bo:case Ho:case Wo:case Go:return e&zo;case Yo:return Yo;case Xo:return Xo;case Qo:return Qo;case Jo:return Jo;default:return i("Should have found matching lanes. This is a bug in React."),e}}function oi(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&Ko;if(0!==a){var s=a&~o;if(0!==s)r=ri(s);else{var l=a&i;0!==l&&(r=ri(l))}}else{var u=n&~o;0!==u?r=ri(u):0!==i&&(r=ri(i))}if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)){var c=pi(r),d=pi(t);if(c>=d||c===ko&&0!==(d&Co))return t}0!==(r&Eo)&&(r|=n&ko);var p=e.entangledLanes;if(0!==p)for(var f=e.entanglements,m=r&p;m>0;){var h=mi(m),g=1<<h;r|=f[h],m&=~g}return r}function ii(e,t){switch(e){case So:case _o:case Eo:return t+250;case To:case ko:case Ao:case 64:case 128:case 256:case 512:case Oo:case Ro:case Io:case Do:case No:case Po:case Mo:case Lo:case jo:case Vo:case $o:case Fo:return t+5e3;case Uo:case Bo:case Ho:case Wo:case Go:case Yo:case Xo:case Qo:case Jo:return ei;default:return i("Should have found matching lanes. This is a bug in React."),ei}}function ai(e){var t=e.pendingLanes&~Jo;return 0!==t?t:t&Jo?Jo:0}function si(e){return 0!==(e&Ko)}function li(e){return(e&zo)===e}function ui(e,t){return 0!==(t&(_o|Eo|To|ko))}function ci(e){return 0!==(e&Co)}function di(){var e=ti;return 0===((ti<<=1)&Co)&&(ti=64),e}function pi(e){return e&-e}function fi(e){return pi(e)}function mi(e){return 31-bo(e)}function hi(e){return mi(e)}function gi(e,t){return 0!==(e&t)}function vi(e,t){return(e&t)===t}function bi(e,t){return e|t}function yi(e,t){return e&~t}function wi(e,t){return e&t}function xi(e){for(var t=[],n=0;n<xo;n++)t.push(e);return t}function Si(e,t,n){e.pendingLanes|=t,t!==Qo&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[hi(t)]=n}function _i(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function Ei(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,o=n;o;){var i=mi(o),a=1<<i;a&t|r[i]&t&&(r[i]|=t),o&=~a}}function Ti(e,t,n){if(Xr)for(var r=e.pendingUpdatersLaneMap;n>0;){var o=hi(n),i=1<<o;r[o].add(t),n&=~i}}function ki(e,t){if(Xr)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var o=hi(t),i=1<<o,a=n[o];a.size>0&&(a.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),a.clear()),t&=~i}}var Ai,Ci,Oi,Ri,Ii,Di=So,Ni=Eo,Pi=ko,Mi=Qo,Li=0;function ji(){return Li}function Vi(e){Li=e}function $i(e,t){return 0!==e&&e<t}function Fi(e){var t=pi(e);return $i(Di,t)?$i(Ni,t)?si(t)?Pi:Mi:Ni:Di}function zi(e){return e.current.memoizedState.isDehydrated}function Ui(e){Ai(e)}var Bi=!1,Hi=[],Wi=null,Gi=null,qi=null,Yi=new Map,Ki=new Map,Xi=[],Qi=["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 Ji(e,t){switch(e){case"focusin":case"focusout":Wi=null;break;case"dragenter":case"dragleave":Gi=null;break;case"mouseover":case"mouseout":qi=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Yi.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;Ki.delete(r)}}function Zi(e,t,n,r,o,i){if(null===e||e.nativeEvent!==i){var a=function(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]}}(t,n,r,o,i);if(null!==t){var s=Ku(t);null!==s&&Ci(s)}return a}e.eventSystemFlags|=r;var l=e.targetContainers;return null!==o&&-1===l.indexOf(o)&&l.push(o),e}function ea(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=Tr(n);if(null!==o)return e.blockedOn=o,void Ii(e.priority,function(){Oi(n)})}else if(3===r){if(zi(n.stateNode))return void(e.blockedOn=kr(n))}}}e.blockedOn=null}function ta(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],r=fa(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(null!==r){var o=Ku(r);return null!==o&&Ci(o),e.blockedOn=r,!1}var i=e.nativeEvent,a=new i.constructor(i.type,i);kn(a),i.target.dispatchEvent(a),An(),t.shift()}return!0}function na(e,t,n){ta(e)&&n.delete(t)}function ra(){Bi=!1,null!==Wi&&ta(Wi)&&(Wi=null),null!==Gi&&ta(Gi)&&(Gi=null),null!==qi&&ta(qi)&&(qi=null),Yi.forEach(na),Ki.forEach(na)}function oa(e,n){e.blockedOn===n&&(e.blockedOn=null,Bi||(Bi=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,ra)))}function ia(e){if(Hi.length>0){oa(Hi[0],e);for(var t=1;t<Hi.length;t++){var n=Hi[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Wi&&oa(Wi,e),null!==Gi&&oa(Gi,e),null!==qi&&oa(qi,e);var r=function(t){return oa(t,e)};Yi.forEach(r),Ki.forEach(r);for(var o=0;o<Xi.length;o++){var i=Xi[o];i.blockedOn===e&&(i.blockedOn=null)}for(;Xi.length>0;){var a=Xi[0];if(null!==a.blockedOn)break;ea(a),null===a.blockedOn&&Xi.shift()}}var aa=n.ReactCurrentBatchConfig,sa=!0;function la(e){sa=!!e}function ua(e,t,n,r){var o=ji(),i=aa.transition;aa.transition=null;try{Vi(Di),da(e,t,n,r)}finally{Vi(o),aa.transition=i}}function ca(e,t,n,r){var o=ji(),i=aa.transition;aa.transition=null;try{Vi(Ni),da(e,t,n,r)}finally{Vi(o),aa.transition=i}}function da(e,t,n,r){sa&&function(e,t,n,r){var o=fa(e,t,n,r);if(null===o)return yl(e,t,r,pa,n),void Ji(e,r);if(function(e,t,n,r,o){switch(t){case"focusin":return Wi=Zi(Wi,e,t,n,r,o),!0;case"dragenter":return Gi=Zi(Gi,e,t,n,r,o),!0;case"mouseover":return qi=Zi(qi,e,t,n,r,o),!0;case"pointerover":var i=o,a=i.pointerId;return Yi.set(a,Zi(Yi.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":var s=o,l=s.pointerId;return Ki.set(l,Zi(Ki.get(l)||null,e,t,n,r,s)),!0}return!1}(o,e,t,n,r))return void r.stopPropagation();if(Ji(e,r),4&t&&function(e){return Qi.indexOf(e)>-1}(e)){for(;null!==o;){var i=Ku(o);null!==i&&Ui(i);var a=fa(e,t,n,r);if(null===a&&yl(e,t,r,pa,n),a===o)break;o=a}return void(null!==o&&r.stopPropagation())}yl(e,t,r,null,n)}(e,t,n,r)}var pa=null;function fa(e,t,n,r){pa=null;var o=Yu(Cn(r));if(null!==o){var i=Er(o);if(null===i)o=null;else{var a=i.tag;if(a===c){var s=Tr(i);if(null!==s)return s;o=null}else if(3===a){if(zi(i.stateNode))return kr(i);o=null}else i!==o&&(o=null)}}return pa=o,null}function ma(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 Di;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 Ni;case"message":switch(Vr()){case $r:return Di;case Fr:return Ni;case zr:case Ur:return Pi;case Br:return Mi;default:return Pi}default:return Pi}}var ha=null,ga=null,va=null;function ba(){if(va)return va;var e,t,n=ga,r=n.length,o=ya(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var s=t>1?1-t:void 0;return va=o.slice(e,s)}function ya(){return"value"in ha?ha.value:ha.textContent}function wa(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 xa(){return!0}function Sa(){return!1}function _a(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)if(e.hasOwnProperty(a)){var s=e[a];this[a]=s?s(o):o[a]}var l=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=l?xa:Sa,this.isPropagationStopped=Sa,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=xa)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=xa)},persist:function(){},isPersistent:xa}),t}var Ea,Ta,ka,Aa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ca=_a(Aa),Oa=xe({},Aa,{view:0,detail:0}),Ra=_a(Oa);var Ia=xe({},Oa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ba,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!==ka&&(ka&&"mousemove"===e.type?(Ea=e.screenX-ka.screenX,Ta=e.screenY-ka.screenY):(Ea=0,Ta=0),ka=e)}(e),Ea)},movementY:function(e){return"movementY"in e?e.movementY:Ta}}),Da=_a(Ia),Na=_a(xe({},Ia,{dataTransfer:0})),Pa=_a(xe({},Oa,{relatedTarget:0})),Ma=_a(xe({},Aa,{animationName:0,elapsedTime:0,pseudoElement:0})),La=_a(xe({},Aa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ja=_a(xe({},Aa,{data:0})),Va=ja,$a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fa={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 za={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ua(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=za[e];return!!n&&!!t[n]}function Ba(e){return Ua}var Ha=_a(xe({},Oa,{key:function(e){if(e.key){var t=$a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=wa(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?Fa[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ba,charCode:function(e){return"keypress"===e.type?wa(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?wa(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Wa=_a(xe({},Ia,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ga=_a(xe({},Oa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ba})),qa=_a(xe({},Aa,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ya=_a(xe({},Ia,{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})),Ka=[9,13,27,32],Xa=229,Qa=k&&"CompositionEvent"in window,Ja=null;k&&"documentMode"in document&&(Ja=document.documentMode);var Za=k&&"TextEvent"in window&&!Ja,es=k&&(!Qa||Ja&&Ja>8&&Ja<=11),ts=32,ns=String.fromCharCode(ts);var rs=!1;function os(e,t){switch(e){case"keyup":return-1!==Ka.indexOf(t.keyCode);case"keydown":return t.keyCode!==Xa;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function is(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function as(e){return"ko"===e.locale}var ss=!1;function ls(e,t,n,r,o){var i,a;if(Qa?i=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):ss?os(t,r)&&(i="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===Xa}(t,r)&&(i="onCompositionStart"),!i)return null;es&&!as(r)&&(ss||"onCompositionStart"!==i?"onCompositionEnd"===i&&ss&&(a=ba()):ss=function(e){return ha=e,ga=ya(),!0}(o));var s=xl(n,i);if(s.length>0){var l=new ja(i,t,null,r,o);if(e.push({event:l,listeners:s}),a)l.data=a;else{var u=is(r);null!==u&&(l.data=u)}}}function us(e,t){if(ss){if("compositionend"===e||!Qa&&os(e,t)){var n=ba();return ha=null,ga=null,va=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&&!as(t)?null:t.data}}function cs(e,t,n,r,o){var i;if(!(i=Za?function(e,t){switch(e){case"compositionend":return is(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 a=xl(n,"onBeforeInput");if(a.length>0){var s=new Va("onBeforeInput","beforeinput",null,r,o);e.push({event:s,listeners:a}),s.data=i}}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){Nn(r);var o=xl(t,"onChange");if(o.length>0){var i=new Ca("onChange","change",null,n,r);e.push({event:i,listeners:o})}}var ms=null,hs=null;function gs(e){pl(e,0)}function vs(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&&vs(hs)&&function(e){var t=[];fs(t,hs,e,Cn(e)),$n(gs,t)}(e)}function Ss(e,t,n){"focusin"===e?(ws(),function(e,t){hs=t,(ms=e).attachEvent("onpropertychange",xs)}(t,n)):"focusout"===e&&ws()}function _s(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return vs(hs)}function Es(e,t){if("click"===e)return vs(t)}function Ts(e,t){if("input"===e||"change"===e)return vs(t)}function ks(e,t,n,r,o,i,a){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=Ts:(s=_s,l=Ss):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 As(e,t,n,r,o,i,a){var s="mouseover"===t||"pointerover"===t,l="mouseout"===t||"pointerout"===t;if(s&&r!==Tn){var u=r.relatedTarget||r.fromElement;if(u&&(Yu(u)||qu(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=Da,g="onMouseLeave",v="onMouseEnter",b="mouse";"pointerout"!==t&&"pointerover"!==t||(h=Wa,g="onPointerLeave",v="onPointerEnter",b="pointer");var y=null==d?c:Xu(d),w=null==p?c:Xu(p),x=new h(g,b+"leave",d,r,o);x.target=y,x.relatedTarget=w;var S=null;if(Yu(o)===n){var _=new h(v,b+"enter",p,r,o);_.target=w,_.relatedTarget=y,S=_}!function(e,t,n,r,o){var i=r&&o?function(e,t){for(var n=e,r=t,o=0,i=n;i;i=Sl(i))o++;for(var a=0,s=r;s;s=Sl(s))a++;for(;o-a>0;)n=Sl(n),o--;for(;a-o>0;)r=Sl(r),a--;var l=o;for(;l--;){if(n===r||null!==r&&n===r.alternate)return n;n=Sl(n),r=Sl(r)}return null}(r,o):null;null!==r&&_l(e,t,r,i,!1);null!==o&&null!==n&&_l(e,n,o,i,!0)}(e,x,S,d,p)}}}k&&(ys=function(e){if(!k)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 Cs="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Os(e,t){if(Cs(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 i=n[o];if(!A.call(t,i)||!Cs(e[i],t[i]))return!1}return!0}function Rs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Is(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ds(e,t){for(var n=Rs(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=Rs(Is(n))}}function Ns(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,i=r.anchorOffset,a=r.focusNode,s=r.focusOffset;try{o.nodeType,a.nodeType}catch(rx){return null}return function(e,t,n,r,o){var i=0,a=-1,s=-1,l=0,u=0,c=e,d=null;e:for(;;){for(var p=null;c!==t||0!==n&&3!==c.nodeType||(a=i+n),c!==r||0!==o&&3!==c.nodeType||(s=i+o),3===c.nodeType&&(i+=c.nodeValue.length),null!==(p=c.firstChild);)d=c,c=p;for(;;){if(c===e)break e;if(d===t&&++l===n&&(a=i),d===r&&++u===o&&(s=i),null!==(p=c.nextSibling))break;d=(c=d).parentNode}c=p}if(-1===a||-1===s)return null;return{start:a,end:s}}(e,o,i,a,s)}function Ps(e){return e&&3===e.nodeType}function Ms(e,t){return!(!e||!t)&&(e===t||!Ps(e)&&(Ps(t)?Ms(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ls(e){return e&&e.ownerDocument&&Ms(e.ownerDocument.documentElement,e)}function js(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(!js(t))return t;t=tt((e=t.contentWindow).document)}return t}function $s(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 Fs(e){var t=Vs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Ls(n)){null!==r&&$s(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(),i=e.textContent.length,a=Math.min(t.start,i),s=void 0===t.end?a:Math.min(t.end,i);if(!o.extend&&a>s){var l=s;s=a,a=l}var u=Ds(e,a),c=Ds(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(),a>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=[],i=n;i=i.parentNode;)1===i.nodeType&&o.push({element:i,left:i.scrollLeft,top:i.scrollTop});"function"==typeof n.focus&&n.focus();for(var a=0;a<o.length;a++){var s=o[a];s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}}function zs(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Ns(e))||{start:0,end:0}}var Us=k&&"documentMode"in document&&document.documentMode<=11;var Bs=null,Hs=null,Ws=null,Gs=!1;function qs(e,t,n){var r,o=(r=n).window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!Gs&&null!=Bs&&Bs===tt(o)){var i=function(e){if("selectionStart"in e&&$s(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}}(Bs);if(!Ws||!Os(Ws,i)){Ws=i;var a=xl(Hs,"onSelect");if(a.length>0){var s=new Ca("onSelect","select",null,t,n);e.push({event:s,listeners:a}),s.target=Bs}}}}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}k&&(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 il(e,t){rl.set(e,t),E(t,[e])}function al(e,t,n,r,o,i,a){var s=rl.get(t);if(void 0!==s){var l=Ca,u=t;switch(t){case"keypress":if(0===wa(r))return;case"keydown":case"keyup":l=Ha;break;case"focusin":u="focus",l=Pa;break;case"focusout":u="blur",l=Pa;break;case"beforeblur":case"afterblur":l=Pa;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=Da;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Na;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ga;break;case Zs:case el:case tl:l=Ma;break;case nl:l=qa;break;case"scroll":l=Ra;break;case"wheel":l=Ya;break;case"copy":case"cut":case"paste":l=La;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Wa}var c=!!(4&i),d=!c&&"scroll"===t,p=function(e,t,n,r,o){var i=null!==t?t+"Capture":null,a=r?i:t,s=[],l=e,u=null;for(;null!==l;){var c=l,d=c.stateNode;if(5===c.tag&&null!==d&&(u=d,null!==a)){var p=Fn(l,a);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,i,a){al(e,t,n,r,o,i),!(7&i)&&(As(e,t,n,r,o),ks(e,t,n,r,o),function(e,t,n,r,o){var i=n?Xu(n):window;switch(t){case"focusin":(ps(i)||"true"===i.contentEditable)&&(Bs=i,Hs=n,Ws=null);break;case"focusout":Bs=null,Hs=null,Ws=null;break;case"mousedown":Gs=!0;break;case"contextmenu":case"mouseup":case"dragend":Gs=!1,qs(e,r,o);break;case"selectionchange":if(Us)break;case"keydown":case"keyup":qs(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];il(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}il(Zs,"onAnimationEnd"),il(el,"onAnimationIteration"),il(tl,"onAnimationStart"),il("dblclick","onDoubleClick"),il("focusin","onFocus"),il("focusout","onBlur"),il(nl,"onTransitionEnd")}(),T("onMouseEnter",["mouseout","mouseover"]),T("onMouseLeave",["mouseout","mouseover"]),T("onPointerEnter",["pointerout","pointerover"]),T("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,i,a,s,l){if(Jn.apply(this,arguments),qn){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 i=t[o],a=i.instance,s=i.currentTarget,l=i.listener;if(a!==r&&e.isPropagationStopped())return;cl(e,l,s),r=a}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)||i('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[zu];void 0===t&&(t=e[zu]=new Set);return t}(t),r=function(e){return e+"__bubble"}(e);n.has(r)||(vl(t,e,2,!1),n.add(r))}function ml(e,t,n){ul.has(e)&&!t&&i('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),vl(n,e,r,t)}var hl="_reactListening"+Math.random().toString(36).slice(2);function gl(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 vl(e,t,n,r,o){var i=function(e,t,n){var r;switch(ma(t)){case Di:r=ua;break;case Ni:r=ca;break;default:r=da}return r.bind(null,t,n,e)}(e,t,n),a=void 0;zn&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0)),r?void 0!==a?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,i,a):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,i):void 0!==a?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,i,a):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,i)}function bl(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function yl(e,t,n,r,o){var i=r;if(!(1&t||2&t)){var a=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,a))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,a))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=i=p;continue e}u=u.parentNode}}s=s.return}}}$n(function(){return function(e,t,n,r){var o=[];sl(o,e,r,n,Cn(n),t),pl(o,t)}(e,t,n,i)})}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 i=o,a=i.stateNode;if(5===i.tag&&null!==a){var s=a,l=Fn(o,n);null!=l&&r.unshift(wl(o,l,s));var u=Fn(o,t);null!=u&&r.push(wl(o,u,s))}o=o.return}return r}function Sl(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function _l(e,t,n,r,o){for(var i=t._reactName,a=[],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=Fn(s,i);null!=f&&a.unshift(wl(s,f,p))}else if(!o){var m=Fn(s,i);null!=m&&a.push(wl(s,m,p))}}s=s.return}0!==a.length&&e.push({event:t,listeners:a})}var El,Tl,kl,Al,Cl,Ol,Rl,Il=!1,Dl="dangerouslySetInnerHTML",Nl="suppressContentEditableWarning",Pl="suppressHydrationWarning",Ml="autoFocus",Ll="children",jl="style",Vl="__html";El={dialog:!0,webview:!0},Tl=function(e,t){gn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||vn||(vn=!0,"select"===e&&t.multiple?i("`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):i("`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:S,possibleRegistrationNames:_})},Ol=k&&!document.documentMode,kl=function(e,t,n){if(!Il){var r=zl(n),o=zl(t);o!==r&&(Il=!0,i("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Al=function(e){if(!Il){Il=!0;var t=[];e.forEach(function(e){t.push(e)}),i("Extra attributes from the server: %s",t)}},Cl=function(e,t){!1===t?i("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):i("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Rl=function(e,t){var n=e.namespaceURI===It?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var $l=/\r\n?/g,Fl=/\u0000|\uFFFD/g;function zl(e){return function(e){if(O(e))i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}(e),("string"==typeof e?e:""+e).replace($l,"\n").replace(Fl,"")}function Ul(e,t,n,r){var o=zl(t),a=zl(e);if(a!==o&&(r&&(Il||(Il=!0,i('Text content did not match. Server: "%s" Client: "%s"',a,o))),n))throw new Error("Text content does not match server-rendered HTML.")}function Bl(e){return 9===e.nodeType?e:e.ownerDocument}function Hl(){}function Wl(e){e.onclick=Hl}function Gl(e,t,n,r){var o,i=un(t,n);switch(Tl(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 a=0;a<ll.length;a++)fl(ll[a],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":vt(0,n),o=n;break;case"select":Tt(e,n),o=Et(0,n),fl("invalid",e);break;case"textarea":Ct(e,n),o=At(e,n),fl("invalid",e);break;default:o=n}switch(ln(t,o),function(e,t,n,r,o){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];if(i===jl)a&&Object.freeze(a),rn(t,a);else if(i===Dl){var s=a?a[Vl]:void 0;null!=s&&jt(t,s)}else i===Ll?"string"==typeof a?("textarea"!==e||""!==a)&&Vt(t,a):"number"==typeof a&&Vt(t,""+a):i===Nl||i===Pl||i===Ml||(S.hasOwnProperty(i)?null!=a&&("function"!=typeof a&&Cl(i,a),"onScroll"===i&&fl("scroll",t)):null!=a&&J(t,i,a,o))}}(t,e,0,o,i),t){case"input":Ze(e),dt(e,n,!1);break;case"textarea":Ze(e),Rt(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",qe(Ye(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?_t(n,!!t.multiple,r,!1):null!=t.defaultValue&&_t(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Wl(e)}}function ql(e,t,n,r,o){Tl(t,r);var a,s,l,u,c=null;switch(t){case"input":a=st(e,n),s=st(e,r),c=[];break;case"select":a=Et(0,n),s=Et(0,r),c=[];break;case"textarea":a=At(e,n),s=At(e,r),c=[];break;default:s=r,"function"!=typeof(a=n).onClick&&"function"==typeof s.onClick&&Wl(e)}ln(t,s);var d=null;for(l in a)if(!s.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if(l===jl){var p=a[l];for(u in p)p.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else l===Dl||l===Ll||l===Nl||l===Pl||l===Ml||(S.hasOwnProperty(l)?c||(c=[]):(c=c||[]).push(l,null));for(l in s){var f=s[l],m=null!=a?a[l]:void 0;if(s.hasOwnProperty(l)&&f!==m&&(null!=f||null!=m))if(l===jl)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===Dl){var h=f?f[Vl]:void 0,g=m?m[Vl]:void 0;null!=h&&g!==h&&(c=c||[]).push(l,h)}else l===Ll?"string"!=typeof f&&"number"!=typeof f||(c=c||[]).push(l,""+f):l===Nl||l===Pl||(S.hasOwnProperty(l)?(null!=f&&("function"!=typeof f&&Cl(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 a in n){var s=n[a],l=r[a];if(l&&s!==l){var u=s+","+l;if(o[u])continue;o[u]=!0,i("%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[jl]),(c=c||[]).push(jl,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 i=t[o],a=t[o+1];i===jl?rn(e,a):i===Dl?jt(e,a):i===Ll?Vt(e,a):J(e,i,a,r)}}(e,t,0,un(n,o)),n){case"input":ct(e,o);break;case"textarea":Ot(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?_t(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?_t(n,!!t.multiple,t.defaultValue,!0):_t(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){Il||(Il=!0,i("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Ql(e,t){Il||(Il=!0,i('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Jl(e,t,n){Il||(Il=!0,i("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function Zl(e,t){""!==t&&(Il||(Il=!0,i('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"]),iu=["dd","dt","li","option","optgroup","p","rp","rt"],au={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};tu=function(e,t){var n=xe({},e||au),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||au).current,o=r&&r.tag;null!=t&&(null!=e&&i("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var a=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===iu.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=a?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=a||s;if(l){var u=l.tag,c=!!a+"|"+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+">",a){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."),i("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,p,f)}else i("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=sa,t=Vs(),mu={focusedElem:t,selectionRange:$s(t)?zs(t):null};return la(!1),null}function gu(e,t,n,r,o){var a=r;if(eu(e,null,a.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var s=""+t.children,l=tu(a.ancestorInfo,e);eu(null,s,l)}var u=function(e,t,n,r){var o,a,s=Bl(n),l=r;if(l===It&&(l=Nt(e)),l===It){if((o=un(e,t))||e===e.toLowerCase()||i("<%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;a=u.removeChild(c)}else if("string"==typeof t.is)a=s.createElement(e,{is:t.is});else if(a=s.createElement(e),"select"===e){var d=a;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else a=s.createElementNS(l,e);return l===It&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||A.call(El,e)||(El[e]=!0,i("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),a}(e,t,n,a.namespace);return Hu(o,u),Ju(u,t),u}function vu(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 Bl(t).createTextNode(e)}(e,t);return Hu(r,o),o}var wu="function"==typeof setTimeout?setTimeout:void 0,xu="function"==typeof clearTimeout?clearTimeout:void 0,Su="function"==typeof Promise?Promise:void 0,_u="function"==typeof queueMicrotask?queueMicrotask:void 0!==Su?function(e){return Su.resolve(null).then(e).catch(Eu)}:wu;function Eu(e){setTimeout(function(){throw e})}function Tu(e){Vt(e,"")}function ku(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType){var i=o.data;if(i===cu){if(0===r)return e.removeChild(o),void ia(t);r--}else i!==uu&&i!==du&&i!==pu||r++}n=o}while(n);ia(t)}function Au(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Cu(e){e.nodeValue=""}function Ou(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Ut("display",r)}function Ru(e,t){e.nodeValue=t}function Iu(e){return e.data===du}function Du(e){return e.data===pu}function Nu(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 Pu(e){return Nu(e.nextSibling)}function Mu(e,t,n,r,o,i,a){return Hu(i,e),Ju(e,n),function(e,t,n,r,o,i,a){var s,l;switch(s=un(t,n),Tl(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":vt(0,n);break;case"select":Tt(e,n),fl("invalid",e);break;case"textarea":Ct(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===Ll)"string"==typeof m?e.textContent!==m&&(!0!==n[Pl]&&Ul(e.textContent,m,i,a),p=[Ll,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==n[Pl]&&Ul(e.textContent,m,i,a),p=[Ll,""+m]);else if(S.hasOwnProperty(f))null!=m&&("function"!=typeof m&&Cl(f,m),"onScroll"===f&&fl("scroll",e));else if(a&&"boolean"==typeof s){var h=void 0,g=U(f);if(!0===n[Pl]);else if(f===Nl||f===Pl||"value"===f||"checked"===f||"selected"===f);else if(f===Dl){var v=e.innerHTML,b=m?m[Vl]:void 0;if(null!=b){var y=Rl(e,b);y!==v&&kl(f,v,y)}}else if(f===jl){if(l.delete(f),Ol){var w=nn(m);w!==(h=e.getAttribute("style"))&&kl(f,h,w)}}else if(s)l.delete(f.toLowerCase()),m!==(h=Q(e,f,m))&&kl(f,h,m);else if(!$(f,g,s)&&!z(f,m,g,s)){var x=!1;if(null!==g)l.delete(g.attributeName),h=X(e,f,m,g);else{var _=r;if(_===It&&(_=Nt(t)),_===It)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||kl(f,h,m)}}}switch(a&&l.size>0&&!0!==n[Pl]&&Al(l),t){case"input":Ze(e),dt(e,n,!0);break;case"textarea":Ze(e),Rt(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Wl(e)}return p}(e,t,n,o.namespace,0,!!(1&i.mode),a)}function Lu(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 ju=Math.random().toString(36).slice(2),Vu="__reactFiber$"+ju,$u="__reactProps$"+ju,Fu="__reactContainer$"+ju,zu="__reactEvents$"+ju,Uu="__reactListeners$"+ju,Bu="__reactHandles$"+ju;function Hu(e,t){t[Vu]=e}function Wu(e,t){t[Fu]=e}function Gu(e){e[Fu]=null}function qu(e){return!!e[Fu]}function Yu(e){var t=e[Vu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fu]||n[Vu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=Lu(e);null!==o;){var i=o[Vu];if(i)return i;o=Lu(o)}return t}n=(e=n).parentNode}return null}function Ku(e){var t=e[Vu]||e[Fu];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[$u]||null}function Ju(e,t){e[$u]=t}var Zu={},ec=n.ReactDebugCurrentFrame;function tc(e){if(e){var t=e._owner,n=De(e.type,e._source,t?t.type:null);ec.setExtraStackFrame(n)}else ec.setExtraStackFrame(null)}function nc(e,t,n,r,o){var a=Function.call.bind(A);for(var s in e)if(a(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),i("%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),i("Failed %s type: %s",n,l.message),tc(null))}}var rc,oc=[];rc=[];var ic,ac=-1;function sc(e){return{current:e}}function lc(e,t){ac<0?i("Unexpected pop."):(t!==rc[ac]&&i("Unexpected Fiber popped."),e.current=oc[ac],oc[ac]=null,rc[ac]=null,ac--)}function uc(e,t,n){ac++,oc[ac]=e.current,rc[ac]=n,e.current=t}ic={};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 gc(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 i in n)o[i]=t[i];return nc(n,o,"context",Ve(e)||"Unknown"),r&&hc(e,t,o),o}function vc(){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 Sc(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var a=Ve(e)||"Unknown";return ic[a]||(ic[a]=!0,i("%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.",a,a)),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 _c(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=Sc(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 Tc(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 kc=null,Ac=!1,Cc=!1;function Oc(e){null===kc?kc=[e]:kc.push(e)}function Rc(){Ac&&Ic()}function Ic(){if(!Cc&&null!==kc){Cc=!0;var e=0,t=ji();try{var n=kc;for(Vi(Di);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}kc=null,Ac=!1}catch(o){throw null!==kc&&(kc=kc.slice(e+1)),Nr($r,Ic),o}finally{Vi(t),Cc=!1}}return null}var Dc=[],Nc=0,Pc=null,Mc=0,Lc=[],jc=0,Vc=null,$c=1,Fc="";function zc(){var e=Fc;return($c&~function(e){return 1<<Wc(e)-1}($c)).toString(32)+e}function Uc(e,t){qc(),Dc[Nc++]=Mc,Dc[Nc++]=Pc,Pc=e,Mc=t}function Bc(e,t,n){qc(),Lc[jc++]=$c,Lc[jc++]=Fc,Lc[jc++]=Vc,Vc=e;var r=$c,o=Fc,i=Wc(r)-1,a=r&~(1<<i),s=n+1,l=Wc(t)+i;if(l>30){var u=i-i%5,c=(a&(1<<u)-1).toString(32),d=a>>u,p=i-u,f=Wc(t)+p;$c=1<<f|(s<<p|d),Fc=c+o}else{$c=1<<l|(s<<i|a),Fc=o}}function Hc(e){if(qc(),null!==e.return){Uc(e,1),Bc(e,1,0)}}function Wc(e){return 32-bo(e)}function Gc(e){for(;e===Pc;)Pc=Dc[--Nc],Dc[Nc]=null,Mc=Dc[--Nc],Dc[Nc]=null;for(;e===Vc;)Vc=Lc[--jc],Lc[jc]=null,Fc=Lc[--jc],Lc[jc]=null,$c=Lc[--jc],Lc[jc]=null}function qc(){bd()||i("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=Nu(t.firstChild),Yc=e,Xc=!0,Jc=null,Qc=!1,!0}function td(e,t,n){var r,o;return Kc=Nu(t.nextSibling),Yc=e,Xc=!0,Jc=null,Qc=!1,null!==n&&(r=e,o=n,qc(),Lc[jc++]=$c,Lc[jc++]=Fc,Lc[jc++]=Vc,$c=o.id,Fc=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=qy(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,i=e.stateNode;switch(t.tag){case 5:var a=t.type;t.pendingProps;!function(e,t,n,r,o,i){(i||!0!==t[lu])&&Jl(n,r)}(0,o,i,a,0,!!(1&e.mode));break;case 6:!function(e,t,n,r,o){(o||!0!==t[lu])&&Zl(n,r)}(0,o,i,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 id(e,t){t.flags=-4097&t.flags|2,od(e,t)}function ad(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=Nu(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 i=function(e){return 8!==e.nodeType?null:e}(t);if(null!==i){var a={dehydrated:i,treeContext:(qc(),null!==Vc?{id:$c,overflow:Fc}:null),retryLane:Jo};e.memoizedState=a;var s=function(e){var t=qy(m,null,null,0);return t.stateNode=e,t}(i);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()),id(Yc,e),Xc=!1,void(Yc=e);var n=t;if(!ad(e,t)){sd(e)&&(od(Yc,e),ld()),t=Pu(n);var r=Yc;if(!t||!ad(e,t))return id(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 Hu(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){Ul(t.nodeValue,n,r,!0)}(0,t,n,!!(1&o.mode));break;case 5:o.type;var i=o.memoizedProps;o.stateNode;!function(e,t,n,r,o,i){!0!==t[lu]&&Ul(r.nodeValue,o,i,!0)}(0,i,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){Hu(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 Pu(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=Pu(t)}var n;return fd(e),Kc=e.tag===c?pd(e):Yc?Pu(e.stateNode):null,!0}function hd(e){for(var t=Kc;t;)nd(e,t),t=Pu(t)}function gd(){Yc=null,Kc=null,Xc=!1,Qc=!1}function vd(){null!==Jc&&(Hb(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(){}},Sd=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},_d=[],Ed=[],Td=[],kd=[],Ad=[],Cd=[],Od=new Set;xd.recordUnsafeLifecycleWarnings=function(e,t){Od.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&_d.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&Ed.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Td.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&kd.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Ad.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&Cd.push(e))},xd.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;_d.length>0&&(_d.forEach(function(t){e.add(Ve(t)||"Component"),Od.add(t.type)}),_d=[]);var t=new Set;Ed.length>0&&(Ed.forEach(function(e){t.add(Ve(e)||"Component"),Od.add(e.type)}),Ed=[]);var n=new Set;Td.length>0&&(Td.forEach(function(e){n.add(Ve(e)||"Component"),Od.add(e.type)}),Td=[]);var r=new Set;kd.length>0&&(kd.forEach(function(e){r.add(Ve(e)||"Component"),Od.add(e.type)}),kd=[]);var a=new Set;Ad.length>0&&(Ad.forEach(function(e){a.add(Ve(e)||"Component"),Od.add(e.type)}),Ad=[]);var s=new Set;(Cd.length>0&&(Cd.forEach(function(e){s.add(Ve(e)||"Component"),Od.add(e.type)}),Cd=[]),t.size>0)&&i("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",Sd(t));r.size>0&&i("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",Sd(r));s.size>0&&i("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",Sd(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",Sd(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",Sd(n));a.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",Sd(a))};var Rd,Id,Dd,Nd,Pd,Md=new Map,Ld=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(!Ld.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 i("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"),Ld.add(e.type)});var o=Sd(r);try{We(n),i("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{He()}}})},xd.discardPendingWarnings=function(){_d=[],Ed=[],Td=[],kd=[],Ad=[],Cd=[],Md=new Map};var jd;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 a=Ve(e)||"Component";Dd[a]||(i('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',a,o),Dd[a]=!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(O(e))i("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(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 $d(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 Fd(e){var t=Ve(e)||"Component";Pd[t]||(Pd[t]=!0,i("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 zd(e){var t=e._payload;return(0,e._init)(t)}function Ud(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 a(t,n,r){if(t.index=r,!e)return t.flags|=fr,n;var o=t.alternate;if(null!==o){var i=o.index;return i<n?(t.flags|=2,n):i}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 i=tw(n,e.mode,r);return i.return=e,i}var a=o(t,n);return a.return=e,a}function u(e,t,n,r){var i=n.type;if(i===te)return d(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===i||Vy(t,n)||"object"==typeof i&&null!==i&&i.$$typeof===ce&&zd(i)===t.type)){var a=o(t,n.props);return a.ref=Vd(e,t,n),a.return=e,a._debugSource=n._source,a._debugOwner=n._owner,a}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 i=nw(n,e.mode,r);return i.return=e,i}var a=o(t,n.children||[]);return a.return=e,a}function d(e,t,n,r,i){if(null===t||7!==t.tag){var a=Zy(n,e.mode,r,i);return a.return=e,a}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 i=nw(t,e.mode,n);return i.return=e,i;case ce:var a=t._payload;return p(e,(0,t._init)(a),n)}if(wt(t)||fe(t)){var s=Zy(t,e.mode,n,null);return s.return=e,s}$d(0,t)}return"function"==typeof t&&Fd(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 i=n._payload;return f(e,t,(0,n._init)(i),r)}if(wt(n)||fe(n))return null!==o?null:d(e,t,n,r,null);$d(0,n)}return"function"==typeof n&&Fd(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 i=r._payload;return m(e,t,n,(0,r._init)(i),o)}if(wt(r)||fe(r))return d(t,e.get(n)||null,r,o,null);$d(0,r)}return"function"==typeof r&&Fd(t),null}function h(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case Z:case ee:jd(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}i("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,g){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,i,a){for(var s=i.key,l=r;null!==l;){if(l.key===s){var u=i.type;if(u===te){if(7===l.tag){n(e,l.sibling);var c=o(l,i.props.children);return c.return=e,c._debugSource=i._source,c._debugOwner=i._owner,c}}else if(l.elementType===u||Vy(l,i)||"object"==typeof u&&null!==u&&u.$$typeof===ce&&zd(u)===l.type){n(e,l.sibling);var d=o(l,i.props);return d.ref=Vd(e,l,i),d.return=e,d._debugSource=i._source,d._debugOwner=i._owner,d}n(e,l);break}t(e,l),l=l.sibling}if(i.type===te){var p=Zy(i.props.children,e.mode,a,i.key);return p.return=e,p}var f=Jy(i,e.mode,a);return f.ref=Vd(e,r,i),f.return=e,f}(u,c,d,g));case ee:return s(function(e,r,i,a){for(var s=i.key,l=r;null!==l;){if(l.key===s){if(4===l.tag&&l.stateNode.containerInfo===i.containerInfo&&l.stateNode.implementation===i.implementation){n(e,l.sibling);var u=o(l,i.children||[]);return u.return=e,u}n(e,l);break}t(e,l),l=l.sibling}var c=nw(i,e.mode,a);return c.return=e,c}(u,c,d,g));case ce:var v=d._payload;return l(u,c,(0,d._init)(v),g)}if(wt(d))return function(o,i,s,l){for(var u=null,c=0;c<s.length;c++)u=h(s[c],u,o);for(var d=null,g=null,v=i,b=0,y=0,w=null;null!==v&&y<s.length;y++){v.index>y?(w=v,v=null):w=v.sibling;var x=f(o,v,s[y],l);if(null===x){null===v&&(v=w);break}e&&v&&null===x.alternate&&t(o,v),b=a(x,b,y),null===g?d=x:g.sibling=x,g=x,v=w}if(y===s.length)return n(o,v),bd()&&Uc(o,y),d;if(null===v){for(;y<s.length;y++){var S=p(o,s[y],l);null!==S&&(b=a(S,b,y),null===g?d=S:g.sibling=S,g=S)}return bd()&&Uc(o,y),d}for(var _=r(0,v);y<s.length;y++){var E=m(_,o,y,s[y],l);null!==E&&(e&&null!==E.alternate&&_.delete(null===E.key?y:E.key),b=a(E,b,y),null===g?d=E:g.sibling=E,g=E)}return e&&_.forEach(function(e){return t(o,e)}),bd()&&Uc(o,y),d}(u,c,d,g);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]&&(Id||i("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."),Id=!0),l.entries===c&&(Rd||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rd=!0);var d=c.call(l);if(d)for(var g=null,v=d.next();!v.done;v=d.next())g=h(v.value,g,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,S=0,_=0,E=null,T=b.next();null!==x&&!T.done;_++,T=b.next()){x.index>_?(E=x,x=null):E=x.sibling;var k=f(o,x,T.value,u);if(null===k){null===x&&(x=E);break}e&&x&&null===k.alternate&&t(o,x),S=a(k,S,_),null===w?y=k:w.sibling=k,w=k,x=E}if(T.done)return n(o,x),bd()&&Uc(o,_),y;if(null===x){for(;!T.done;_++,T=b.next()){var A=p(o,T.value,u);null!==A&&(S=a(A,S,_),null===w?y=A:w.sibling=A,w=A)}return bd()&&Uc(o,_),y}for(var C=r(0,x);!T.done;_++,T=b.next()){var O=m(C,o,_,T.value,u);null!==O&&(e&&null!==O.alternate&&C.delete(null===O.key?_:O.key),S=a(O,S,_),null===w?y=O:w.sibling=O,w=O)}return e&&C.forEach(function(e){return t(o,e)}),bd()&&Uc(o,_),y}(u,c,d,g);$d(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?s(function(e,t,r,i){if(null!==t&&6===t.tag){n(e,t.sibling);var a=o(t,r);return a.return=e,a}n(e,t);var s=tw(r,e.mode,i);return s.return=e,s}(u,c,""+d,g)):("function"==typeof d&&Fd(u),n(u,c))}}Rd=!1,Id=!1,Dd={},Nd={},Pd={},jd=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";Nd[n]||(Nd[n]=!0,i('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Bd=Ud(!0),Hd=Ud(!1);function Wd(e,t){for(var n=e.child;null!==n;)Xy(n,t),n=n.sibling}var Gd,qd=sc(null);Gd={};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(qd,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Gd&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Gd}function np(e,t){var n=qd.current;lc(qd,t),e._currentValue=n}function rp(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(vi(r.childLanes,t)?null===o||vi(o.childLanes,t)||(o.childLanes=bi(o.childLanes,t)):(r.childLanes=bi(r.childLanes,t),null!==o&&(o.childLanes=bi(o.childLanes,t))),r===n)break;r=r.return}r!==n&&i("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,i=r.dependencies;if(null!==i){o=r.child;for(var a=i.firstContext;null!==a;){if(a.context===t){if(1===r.tag){var l=fi(n),u=wp(ei,l);u.tag=gp;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=bi(r.lanes,n);var f=r.alternate;null!==f&&(f.lanes=bi(f.lanes,n)),rp(r.return,n,e),i.lanes=bi(i.lanes,n);break}a=a.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=bi(h.lanes,n);var g=h.alternate;null!==g&&(g.lanes=bi(g.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 v=o.sibling;if(null!==v){v.return=o.return,o=v;break}o=o.return}r=o}}(e,t,n)}function ip(e,t){Yd=e,Kd=null,Xd=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(gi(n.lanes,t)&&hg(),n.firstContext=null))}function ap(e){Qd&&i("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=bi(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=bi(n.lanes,t)),null===n&&4098&e.flags&&_y(e);for(var r=e,o=e.return;null!==o;)o.childLanes=bi(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=bi(n.childLanes,t):4098&o.flags&&_y(e),r=o,o=o.return;return 3===r.tag?r.stateNode:null}var fp,mp,hp=0,gp=2,vp=!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||(i("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),(Qv&Uv)!==zv){var a=o.pending;return null===a?t.next=t:(t.next=a.next,a.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 Sp(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(ci(n)){var i=o.lanes,a=bi(i=wi(i,e.pendingLanes),n);o.lanes=a,Ei(e,a)}}}function _p(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var i=null,a=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===a?i=a=u:(a.next=u,a=u),l=l.next}while(null!==l);null===a?i=a=t:(a.next=t,a=t)}else i=a=t;return n={baseState:o.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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,i){switch(n.tag){case 1:var a=n.payload;if("function"==typeof a){Zd();var s=a.call(i,r,o);if(8&e.mode){Qr(!0);try{a.call(i,r,o)}finally{Qr(!1)}}return ep(),s}return a;case 3:e.flags=-65537&e.flags|nr;case hp:var l,u=n.payload;if("function"==typeof u){if(Zd(),l=u.call(i,r,o),8&e.mode){Qr(!0);try{u.call(i,r,o)}finally{Qr(!1)}}ep()}else l=u;return null==l?r:xe({},r,l);case gp:return vp=!0,r}return r}function Tp(e,t,n,r){var o=e.updateQueue;vp=!1,mp=o.shared;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;if(null!==c){var d=c.updateQueue,p=d.lastBaseUpdate;p!==a&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=l)}}if(null!==i){for(var f=o.baseState,m=0,h=null,g=null,v=null,b=i;;){var y=b.lane,w=b.eventTime;if(vi(r,y)){if(null!==v){var x={eventTime:w,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null};v=v.next=x}if(f=Ep(e,0,b,f,t,n),null!==b.callback&&0!==b.lane){e.flags|=64;var S=o.effects;null===S?o.effects=[b]:S.push(b)}}else{var _={eventTime:w,lane:y,tag:b.tag,payload:b.payload,callback:b.callback,next:null};null===v?(g=v=_,h=f):v=v.next=_,m=bi(m,y)}if(null===(b=b.next)){if(null===(s=o.shared.pending))break;var E=s,T=E.next;E.next=null,b=T,o.lastBaseUpdate=E,o.shared.pending=null}}null===v&&(h=f),o.baseState=h,o.firstBaseUpdate=g,o.lastBaseUpdate=v;var k=o.shared.interleaved;if(null!==k){var A=k;do{m=bi(m,A.lane),A=A.next}while(A!==k)}else null===i&&(o.shared.lanes=0);ny(m),e.lanes=m,e.memoizedState=f}mp=null}function kp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Ap(){vp=!1}function Cp(){return vp}function Op(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var i=r[o],a=i.callback;null!==a&&(i.callback=null,kp(a,n))}}fp=!1,mp=null;var Rp={},Ip=sc(Rp),Dp=sc(Rp),Np=sc(Rp);function Pp(e){if(e===Rp)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 Pp(Np.current)}function Lp(e,t){uc(Np,t,e),uc(Dp,e,e),uc(Ip,Rp,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:Pt(null,"");break;default:var i=8===r?e.parentNode:e;n=Pt(i.namespaceURI||null,t=i.tagName)}var a=t.toLowerCase();return{namespace:n,ancestorInfo:tu(null,a)}}(t);lc(Ip,e),uc(Ip,n,e)}function jp(e){lc(Ip,e),lc(Dp,e),lc(Np,e)}function Vp(){return Pp(Ip.current)}function $p(e){Pp(Np.current);var t,n,r,o=Pp(Ip.current),i=(t=o,n=e.type,{namespace:Pt((r=t).namespace,n),ancestorInfo:tu(r.ancestorInfo,n)});o!==i&&(uc(Dp,e,e),uc(Ip,i,e))}function Fp(e){Dp.current===e&&(lc(Ip,e),lc(Dp,e))}var zp=sc(0);function Up(e,t){return 0!==(e&t)}function Bp(e){return 1&e}function Hp(e,t){return 1&e|t}function Wp(e,t){uc(zp,t,e)}function Gp(e){lc(zp,e)}function qp(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||Iu(r)||Du(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 gf(){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 a=pf[o],s=o===ff?e:a,l=o+1+". "+a;l.length<r;)l+=" ";n+=l+=s+"\n"}i("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 vf(e){null==e||wt(e)||i("%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 i("%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&&i("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(!Cs(e[n],t[n]))return!1;return!0}function wf(e,t,n,r,o,a){nf=a,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=km:ef.current=null!==pf?Tm: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=Am,s=n(r,o)}while(lf)}ef.current=_m,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&Sr)!==(t.flags&Sr)&&1&e.mode&&i("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 Sf(e,t,n){t.updateQueue=e.updateQueue,0!==(t.mode&vo)?t.flags&=-50333701:t.flags&=-2053,e.lanes=yi(e.lanes,n)}function _f(){if(ef.current=_m,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 Tf(){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 kf(e,t){return"function"==typeof t?t(e):t}function Af(e,t,n){var r,o=Ef();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=i;var a=i.dispatch=vm.bind(null,rf,i);return[o.memoizedState,a]}function Cf(e,t,n){var r=Tf(),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=of,s=a.baseQueue,l=o.pending;if(null!==l){if(null!==s){var u=s.next,c=l.next;s.next=c,l.next=u}a.baseQueue!==s&&i("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=s=l,o.pending=null}if(null!==s){var d=s.next,p=a.baseState,f=null,m=null,h=null,g=d;do{var v=g.lane;if(vi(nf,v)){if(null!==h){var b={lane:0,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};h=h.next=b}if(g.hasEagerState)p=g.eagerState;else p=e(p,g.action)}else{var y={lane:v,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};null===h?(m=h=y,f=p):h=h.next=y,rf.lanes=bi(rf.lanes,v),ny(v)}g=g.next}while(null!==g&&g!==d);null===h?f=p:h.next=m,Cs(p,r.memoizedState)||hg(),r.memoizedState=p,r.baseState=f,r.baseQueue=h,o.lastRenderedState=p}var w=o.interleaved;if(null!==w){var x=w;do{var S=x.lane;rf.lanes=bi(rf.lanes,S),ny(S),x=x.next}while(x!==w)}else null===s&&(o.lanes=0);var _=o.dispatch;return[r.memoizedState,_]}function Of(e,t,n){var r=Tf(),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=o.dispatch,a=o.pending,s=r.memoizedState;if(null!==a){o.pending=null;var l=a.next,u=l;do{s=e(s,u.action),u=u.next}while(u!==l);Cs(s,r.memoizedState)||hg(),r.memoizedState=s,null===r.baseQueue&&(r.baseState=s),o.lastRenderedState=s}return[s,i]}function Rf(e,t,n){var r,o=rf,a=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()&&(i("The result of getServerSnapshot should be cached to avoid an infinite loop"),Zp=!0)}else{if(r=t(),!Zp){var s=t();Cs(r,s)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),Zp=!0)}var l=Lb();if(null===l)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ui(0,nf)||Df(o,t,r)}a.memoizedState=r;var u={value:r,getSnapshot:t};return a.queue=u,Wf(Pf.bind(null,o,u,e),[e]),o.flags|=ar,Ff(9,Nf.bind(null,o,u,r,t),void 0,null),r}function If(e,t,n){var r=rf,o=Tf(),a=t();if(!Zp){var s=t();Cs(a,s)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),Zp=!0)}var l=o.memoizedState,u=!Cs(l,a);u&&(o.memoizedState=a,hg());var c=o.queue;if(Gf(Pf.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==af&&1&af.memoizedState.tag){r.flags|=ar,Ff(9,Nf.bind(null,r,c,a,t),void 0,null);var d=Lb();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ui(0,nf)||Df(r,t,a)}return a}function Df(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 i=o.stores;null===i?o.stores=[r]:i.push(r)}}function Nf(e,t,n,r){t.value=n,t.getSnapshot=r,Mf(t)&&Lf(e)}function Pf(e,t,n){return n(function(){Mf(t)&&Lf(e)})}function Mf(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!Cs(n,r)}catch(o){return!0}}function Lf(e){var t=cp(e,So);null!==t&&Fb(t,e,So,ei)}function jf(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:kf,lastRenderedState:e};t.queue=n;var r=n.dispatch=bm.bind(null,rf,n);return[t.memoizedState,r]}function Vf(e){return Cf(kf)}function $f(e){return Of(kf)}function Ff(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},i=rf.updateQueue;if(null===i)i={lastEffect:null,stores:null},rf.updateQueue=i,i.lastEffect=o.next=o;else{var a=i.lastEffect;if(null===a)i.lastEffect=o.next=o;else{var s=a.next;a.next=o,o.next=s,i.lastEffect=o}}return o}function zf(e){var t={current:e};return Ef().memoizedState=t,t}function Uf(e){return Tf().memoizedState}function Bf(e,t,n,r){var o=Ef(),i=void 0===r?null:r;rf.flags|=e,o.memoizedState=Ff(1|t,n,void 0,i)}function Hf(e,t,n,r){var o=Tf(),i=void 0===r?null:r,a=void 0;if(null!==of){var s=of.memoizedState;if(a=s.destroy,null!==i)if(yf(i,s.deps))return void(o.memoizedState=Ff(t,n,a,i))}rf.flags|=e,o.memoizedState=Ff(1|t,n,a,i)}function Wf(e,t){return 0!==(rf.mode&vo)?Bf(41945088,8,e,t):Bf(8390656,8,e,t)}function Gf(e,t){return Hf(ar,8,e,t)}function qf(e,t){return Bf(4,2,e,t)}function Yf(e,t){return Hf(4,2,e,t)}function Kf(e,t){var n=4;return n|=hr,0!==(rf.mode&vo)&&(n|=gr),Bf(n,4,e,t)}function Xf(e,t){return Hf(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")||i("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 a=e();return o.current=a,function(){o.current=null}}}function Jf(e,t,n){"function"!=typeof t&&i("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&vo)&&(o|=gr),Bf(o,4,Qf.bind(null,t,e),r)}function Zf(e,t,n){"function"!=typeof t&&i("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 Hf(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=Tf(),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 im(e,t){var n=Tf(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&yf(r,o[1])))return o[0];var i=e();return n.memoizedState=[i,r],i}function am(e){return Ef().memoizedState=e,e}function sm(e){return um(Tf(),of.memoizedState,e)}function lm(e){var t=Tf();return null===of?(t.memoizedState=e,e):um(t,of.memoizedState,e)}function um(e,t,n){if(!(0===(nf&(So|Eo|ko)))){if(!Cs(n,t)){var r=di();rf.lanes=bi(rf.lanes,r),ny(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,hg()),e.memoizedState=n,n}function cm(e,t,n){var r,i,a=ji();Vi((i=Ni,0!==(r=a)&&r<i?r:i)),e(!0);var s=tf.transition;tf.transition={};var l=tf.transition;tf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Vi(a),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=jf(!1),t=e[0],n=e[1],r=cm.bind(null,n);return Ef().memoizedState=r,[t,r]}function pm(){return[Vf()[0],Tf().memoizedState]}function fm(){return[$f()[0],Tf().memoizedState]}var mm=!1;function hm(){var e,t=Ef(),n=Lb().identifierPrefix;if(bd()){e=":"+n+"R"+zc();var r=uf++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(cf++).toString(32)+":"}return t.memoizedState=e,e}function gm(){return Tf().memoizedState}function vm(e,t,n){"function"==typeof arguments[3]&&i("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 a=up(e,t,o,r);if(null!==a)Fb(a,e,r,jb()),xm(a,t,r)}Sm(e,r)}function bm(e,t,n){"function"==typeof arguments[3]&&i("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 a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)){var s=t.lastRenderedReducer;if(null!==s){var l;l=ef.current,ef.current=Om;try{var u=t.lastRenderedState,c=s(u,n);if(o.hasEagerState=!0,o.eagerState=c,Cs(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)Fb(d,e,r,jb()),xm(d,t,r)}Sm(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(ci(n)){var r=t.lanes,o=bi(r=wi(r,e.pendingLanes),n);t.lanes=o,Ei(e,o)}}function Sm(e,t,n){go(e,t)}var _m={readContext:ap,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,Tm=null,km=null,Am=null,Cm=null,Om=null,Rm=null,Im=function(){i("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().")},Dm=function(){i("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 ap(e)},useCallback:function(e,t){return df="useCallback",hf(),vf(t),nm(e,t)},useContext:function(e){return df="useContext",hf(),ap(e)},useEffect:function(e,t){return df="useEffect",hf(),vf(t),Wf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",hf(),vf(n),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",hf(),vf(t),qf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",hf(),vf(t),Kf(e,t)},useMemo:function(e,t){df="useMemo",hf(),vf(t);var n=ef.current;ef.current=Cm;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",hf();var r=ef.current;ef.current=Cm;try{return Af(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",hf(),zf(e)},useState:function(e){df="useState",hf();var t=ef.current;ef.current=Cm;try{return jf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",hf()},useDeferredValue:function(e){return df="useDeferredValue",hf(),am(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(),Rf(e,t,n)},useId:function(){return df="useId",hf(),hm()},unstable_isNewReconciler:y},Tm={readContext:function(e){return ap(e)},useCallback:function(e,t){return df="useCallback",gf(),nm(e,t)},useContext:function(e){return df="useContext",gf(),ap(e)},useEffect:function(e,t){return df="useEffect",gf(),Wf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",gf(),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",gf(),qf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",gf(),Kf(e,t)},useMemo:function(e,t){df="useMemo",gf();var n=ef.current;ef.current=Cm;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",gf();var r=ef.current;ef.current=Cm;try{return Af(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",gf(),zf(e)},useState:function(e){df="useState",gf();var t=ef.current;ef.current=Cm;try{return jf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",gf()},useDeferredValue:function(e){return df="useDeferredValue",gf(),am(e)},useTransition:function(){return df="useTransition",gf(),dm()},useMutableSource:function(e,t,n){df="useMutableSource",gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",gf(),Rf(e,t,n)},useId:function(){return df="useId",gf(),hm()},unstable_isNewReconciler:y},km={readContext:function(e){return ap(e)},useCallback:function(e,t){return df="useCallback",gf(),rm(e,t)},useContext:function(e){return df="useContext",gf(),ap(e)},useEffect:function(e,t){return df="useEffect",gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",gf();var n=ef.current;ef.current=Om;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",gf();var r=ef.current;ef.current=Om;try{return Cf(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",gf(),Uf()},useState:function(e){df="useState",gf();var t=ef.current;ef.current=Om;try{return Vf()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",gf(),sm(e)},useTransition:function(){return df="useTransition",gf(),pm()},useMutableSource:function(e,t,n){df="useMutableSource",gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",gf(),If(e,t)},useId:function(){return df="useId",gf(),gm()},unstable_isNewReconciler:y},Am={readContext:function(e){return ap(e)},useCallback:function(e,t){return df="useCallback",gf(),rm(e,t)},useContext:function(e){return df="useContext",gf(),ap(e)},useEffect:function(e,t){return df="useEffect",gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",gf();var n=ef.current;ef.current=Rm;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",gf();var r=ef.current;ef.current=Rm;try{return Of(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",gf(),Uf()},useState:function(e){df="useState",gf();var t=ef.current;ef.current=Rm;try{return $f()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",gf(),lm(e)},useTransition:function(){return df="useTransition",gf(),fm()},useMutableSource:function(e,t,n){df="useMutableSource",gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",gf(),If(e,t)},useId:function(){return df="useId",gf(),gm()},unstable_isNewReconciler:y},Cm={readContext:function(e){return Im(),ap(e)},useCallback:function(e,t){return df="useCallback",Dm(),hf(),nm(e,t)},useContext:function(e){return df="useContext",Dm(),hf(),ap(e)},useEffect:function(e,t){return df="useEffect",Dm(),hf(),Wf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Dm(),hf(),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Dm(),hf(),qf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Dm(),hf(),Kf(e,t)},useMemo:function(e,t){df="useMemo",Dm(),hf();var n=ef.current;ef.current=Cm;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Dm(),hf();var r=ef.current;ef.current=Cm;try{return Af(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",Dm(),hf(),zf(e)},useState:function(e){df="useState",Dm(),hf();var t=ef.current;ef.current=Cm;try{return jf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",Dm(),hf()},useDeferredValue:function(e){return df="useDeferredValue",Dm(),hf(),am(e)},useTransition:function(){return df="useTransition",Dm(),hf(),dm()},useMutableSource:function(e,t,n){df="useMutableSource",Dm(),hf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Dm(),hf(),Rf(e,t,n)},useId:function(){return df="useId",Dm(),hf(),hm()},unstable_isNewReconciler:y},Om={readContext:function(e){return Im(),ap(e)},useCallback:function(e,t){return df="useCallback",Dm(),gf(),rm(e,t)},useContext:function(e){return df="useContext",Dm(),gf(),ap(e)},useEffect:function(e,t){return df="useEffect",Dm(),gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Dm(),gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Dm(),gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Dm(),gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",Dm(),gf();var n=ef.current;ef.current=Om;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Dm(),gf();var r=ef.current;ef.current=Om;try{return Cf(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",Dm(),gf(),Uf()},useState:function(e){df="useState",Dm(),gf();var t=ef.current;ef.current=Om;try{return Vf()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",Dm(),gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",Dm(),gf(),sm(e)},useTransition:function(){return df="useTransition",Dm(),gf(),pm()},useMutableSource:function(e,t,n){df="useMutableSource",Dm(),gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Dm(),gf(),If(e,t)},useId:function(){return df="useId",Dm(),gf(),gm()},unstable_isNewReconciler:y},Rm={readContext:function(e){return Im(),ap(e)},useCallback:function(e,t){return df="useCallback",Dm(),gf(),rm(e,t)},useContext:function(e){return df="useContext",Dm(),gf(),ap(e)},useEffect:function(e,t){return df="useEffect",Dm(),gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Dm(),gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Dm(),gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Dm(),gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",Dm(),gf();var n=ef.current;ef.current=Om;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Dm(),gf();var r=ef.current;ef.current=Om;try{return Of(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",Dm(),gf(),Uf()},useState:function(e){df="useState",Dm(),gf();var t=ef.current;ef.current=Om;try{return $f()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",Dm(),gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",Dm(),gf(),lm(e)},useTransition:function(){return df="useTransition",Dm(),gf(),fm()},useMutableSource:function(e,t,n){df="useMutableSource",Dm(),gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Dm(),gf(),If(e,t)},useId:function(){return df="useId",Dm(),gf(),gm()},unstable_isNewReconciler:y};var Nm=t.unstable_now,Pm=0,Mm=-1,Lm=-1,jm=-1,Vm=!1,$m=!1;function Fm(){return Vm}function zm(){return Pm}function Um(){Pm=Nm()}function Bm(e){Lm=Nm(),e.actualStartTime<0&&(e.actualStartTime=Nm())}function Hm(e){Lm=-1}function Wm(e,t){if(Lm>=0){var n=Nm()-Lm;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Lm=-1}}function Gm(e){if(Mm>=0){var t=Nm()-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 qm(e){if(jm>=0){var t=Nm()-jm;jm=-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=Nm()}function Km(){jm=Nm()}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,ih,ah,sh,lh,uh={};Jm=new Set,Zm=new Set,eh=new Set,th=new Set,ih=new Set,nh=new Set,ah=new Set,sh=new Set,lh=new Set;var ch=new Set;function dh(e,t,n,r){var o=e.memoizedState,i=n(r,o);if(8&e.mode){Qr(!0);try{i=n(r,o)}finally{Qr(!1)}}rh(t,i);var a=null==i?o:xe({},o,i);(e.memoizedState=a,0===e.lanes)&&(e.updateQueue.baseState=a)}oh=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;ch.has(n)||(ch.add(n),i("%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=Le(e)||"Component";nh.has(n)||(nh.add(n),i("%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=_r.current;if(null!==t&&1===t.tag){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||i("%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=jb(),i=Vb(r),a=wp(o,i);a.payload=t,null!=n&&(oh(n,"setState"),a.callback=n);var s=xp(r,a,i);null!==s&&(Fb(s,r,i,o),Sp(s,r,i)),go(r,i)},enqueueReplaceState:function(e,t,n){var r=er(e),o=jb(),i=Vb(r),a=wp(o,i);a.tag=1,a.payload=t,null!=n&&(oh(n,"replaceState"),a.callback=n);var s=xp(r,a,i);null!==s&&(Fb(s,r,i,o),Sp(s,r,i)),go(r,i)},enqueueForceUpdate:function(e,t){var n=er(e),r=jb(),o=Vb(n),i=wp(r,o);i.tag=gp,null!=t&&(oh(t,"forceUpdate"),i.callback=t);var a=xp(n,i,o);null!==a&&(Fb(a,n,o,r),Sp(a,n,o)),function(e,t){null!==Yr&&"function"==typeof Yr.markForceUpdateScheduled&&Yr.markForceUpdateScheduled(e,t)}(n,o)}};function fh(e,t,n,r,o,a,s){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){var u=l.shouldComponentUpdate(r,a,s);if(8&e.mode){Qr(!0);try{u=l.shouldComponentUpdate(r,a,s)}finally{Qr(!1)}}return void 0===u&&i("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Le(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!Os(n,r)||!Os(o,a))}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,a=cc,s=t.contextType;if("contextType"in t&&(!(null===s||void 0!==s&&s.$$typeof===ie&&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(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Le(t)||"Component",l)}if("object"==typeof s&&null!==s)a=ap(s);else{o=mc(0,t,!0);var u=t.contextTypes;a=(r=null!=u)?gc(e,o):cc}var c=new t(n,a);if(8&e.mode){Qr(!0);try{c=new t(n,a)}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=Le(t)||"Component";Zm.has(p)||(Zm.add(p),i("`%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 g=Le(t)||"Component",v="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";th.has(g)||(th.add(g),i("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",g,v,null!==f?"\n "+f:"",null!==m?"\n "+m:"",null!==h?"\n "+h:""))}}return r&&hc(e,o,a),c}function gh(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 a=Ve(e)||"Component";Jm.has(a)||(Jm.add(a),i("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),ph.enqueueReplaceState(t,t.state,null)}}function vh(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=Le(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):i("%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||i("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&&i("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&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&i("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),i("%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),i("%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&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!ah.has(t)&&(ah.add(t),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&i("%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&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Le(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&i("%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&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var a=r.props!==n;void 0!==r.props&&a&&i("%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&&i("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),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Le(t))),"function"==typeof r.getDerivedStateFromProps&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&i("%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))&&i("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&i("%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 a=t.contextType;if("object"==typeof a&&null!==a)o.context=ap(a);else{var s=mc(0,t,!0);o.context=gc(e,s)}if(o.state===n){var l=Le(t)||"Component";ih.has(l)||(ih.add(l),i("%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&&(i("%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),Tp(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=4;c|=hr,0!==(e.mode&vo)&&(c|=gr),e.flags|=c}}function bh(e,t){return{value:e,source:t,stack:Pe(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,i=null!==o?o:"";if(null!=n&&n._suppressLogging){if(1===e.tag)return;console.error(n)}var a=r?Ve(r):null,s=(a?"The above error occurred in the <"+a+"> component:":"The above error occurred in one of your React components:")+"\n"+i+"\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 Sh(e,t,n){var r=wp(ei,n);r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){py(o),wh(e,t)},r}function _h(e,t,n){var r=wp(ei,n);r.tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var a=t.value;r.payload=function(){return o(a)},r.callback=function(){$y(e),wh(e,t)}}var s=e.stateNode;return null!==s&&"function"==typeof s.componentDidCatch&&(r.callback=function(){var n;$y(e),wh(e,t),"function"!=typeof o&&(n=this,null===yb?yb=new Set([n]):yb.add(n));var r=t.value,a=t.stack;this.componentDidCatch(r,{componentStack:null!==a?a:""}),"function"!=typeof o&&(gi(e.lanes,So)||i("%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 i=hy.bind(null,e,t,n);Xr&&ky(e,n),t.then(i,i)}}function Th(e){var t=e;do{if(t.tag===c&&qp(t))return t;t=t.return}while(null!==t);return null}function kh(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 i=wp(ei,So);i.tag=gp,xp(n,i,So)}n.lanes=bi(n.lanes,So)}return e}return e.flags|=dr,e.lanes=o,e}function Ah(e,t,n,r,o){if(n.flags|=cr,Xr&&ky(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var i=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 a=Th(t);if(null!==a)return a.flags&=-257,kh(a,t,n,0,o),1&a.mode&&Eh(e,i,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)}(a,0,i);if(0===(o&So))return Eh(e,i,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=Th(t);if(null!==s)return 0===(s.flags&dr)&&(s.flags|=rr),kh(s,t,n,0,o),void yd(bh(r,n))}!function(e){rb!==Yv&&(rb=Gv);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=fi(o);return u.lanes=bi(u.lanes,d),void _p(u,Sh(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 g=fi(o);return u.lanes=bi(u.lanes,g),void _p(u,_h(u,f,g))}}u=u.return}while(null!==u)}var Ch,Oh,Rh,Ih,Dh,Nh,Ph,Mh,Lh,jh=n.ReactCurrentOwner,Vh=!1;function $h(e,t,n,r){t.child=null===e?Hd(t,null,n,r):Bd(t,e.child,n,r)}function Fh(e,t,n,r,o){if(t.type!==t.elementType){var i=n.propTypes;i&&nc(i,r,"prop",Le(n))}var a,s,l=n.render,u=t.ref;if(ip(t,o),to(t),jh.current=t,Ge(!0),a=wf(e,t,l,r,u,o),s=xf(),8&t.mode){Qr(!0);try{a=wf(e,t,l,r,u,o),s=xf()}finally{Qr(!1)}}return Ge(!1),no(),null===e||Vh?(bd()&&s&&Hc(t),t.flags|=1,$h(e,t,a,o),t.child):(Sf(e,t,o),vg(e,t,o))}function zh(e,t,n,r,o){if(null===e){var a=n.type;if(function(e){return"function"==typeof e&&!Yy(e)&&void 0===e.defaultProps}(a)&&null===n.compare&&void 0===n.defaultProps){var s;return s=My(a),t.tag=p,t.type=s,Qh(t,a),Uh(e,t,s,r,o)}var l=a.propTypes;if(l&&nc(l,r,"prop",Le(a)),void 0!==n.defaultProps){var u=Le(a)||"Unknown";Lh[u]||(i("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Lh[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",Le(d));var m=e.child;if(!bg(e,o)){var h=m.memoizedProps,g=n.compare;if((g=null!==g?g:Os)(h,r)&&e.ref===t.ref)return vg(e,t,o)}t.flags|=1;var v=Ky(m,r);return v.ref=t.ref,v.return=t,t.child=v,v}function Uh(e,t,n,r,o){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===ce){var a=i,s=a._payload,l=a._init;try{i=l(s)}catch(d){i=null}var u=i&&i.propTypes;u&&nc(u,r,"prop",Le(i))}}if(null!==e){var c=e.memoizedProps;if(Os(c,r)&&e.ref===t.ref&&t.type===e.type){if(Vh=!1,t.pendingProps=r=c,!bg(e,o))return t.lanes=e.lanes,vg(e,t,o);0!==(e.flags&pr)&&(Vh=!0)}}return Wh(e,t,n,r,o)}function Bh(e,t,n){var r,o=t.pendingProps,i=o.children,a=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(1&t.mode){if(!gi(n,Jo)){var s;if(null!==a)s=bi(a.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!==a?a.baseLanes:n)}else{var c={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=c,Xb(t,n)}else null!==a?(r=bi(a.baseLanes,n),t.memoizedState=null):r=n,Xb(t,r);return $h(e,t,i,n),t.child}function Hh(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=or,t.flags|=mr)}function Wh(e,t,n,r,o){if(t.type!==t.elementType){var i=n.propTypes;i&&nc(i,r,"prop",Le(n))}var a,s,l;if(a=gc(t,mc(0,n,!0)),ip(t,o),to(t),jh.current=t,Ge(!0),s=wf(e,t,n,r,a,o),l=xf(),8&t.mode){Qr(!0);try{s=wf(e,t,n,r,a,o),l=xf()}finally{Qr(!1)}}return Ge(!1),no(),null===e||Vh?(bd()&&l&&Hc(t),t.flags|=1,$h(e,t,s,o),t.child):(Sf(e,t,o),vg(e,t,o))}function Gh(e,t,n,r,o){switch(bw(t)){case!1:var a=t.stateNode,s=new(0,t.type)(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,s,null);break;case!0:t.flags|=nr,t.flags|=dr;var l=new Error("Simulated error coming from DevTools"),u=fi(o);t.lanes=bi(t.lanes,u),_p(t,_h(t,bh(l,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&nc(c,r,"prop",Le(n))}var d,p;bc(n)?(d=!0,_c(t)):d=!1,ip(t,o),null===t.stateNode?(gg(e,t),hh(t,n,r),vh(t,n,r,o),p=!0):p=null===e?function(e,t,n,r){var o=e.stateNode,i=e.memoizedProps;o.props=i;var a=o.context,s=t.contextType,l=cc;l="object"==typeof s&&null!==s?ap(s):gc(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||i===n&&a===l||gh(e,o,n,l),Ap();var d=e.memoizedState,p=o.state=d;if(Tp(e,n,o,r),p=e.memoizedState,i===n&&d===p&&!vc()&&!Cp()){if("function"==typeof o.componentDidMount){var f=4;f|=hr,0!==(e.mode&vo)&&(f|=gr),e.flags|=f}return!1}"function"==typeof u&&(dh(e,t,u,n),p=e.memoizedState);var m=Cp()||fh(e,t,i,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&vo)&&(h|=gr),e.flags|=h}}else{if("function"==typeof o.componentDidMount){var g=4;g|=hr,0!==(e.mode&vo)&&(g|=gr),e.flags|=g}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 i=t.stateNode;yp(e,t);var a=t.memoizedProps,s=t.type===t.elementType?a:Qm(t.type,a);i.props=s;var l=t.pendingProps,u=i.context,c=n.contextType,d=cc;d="object"==typeof c&&null!==c?ap(c):gc(t,mc(0,n,!0));var p=n.getDerivedStateFromProps,f="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||a===l&&u===d||gh(t,i,r,d),Ap();var m=t.memoizedState,h=i.state=m;if(Tp(t,r,i,o),h=t.memoizedState,a===l&&m===h&&!vc()&&!Cp())return"function"==typeof i.componentDidUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4)),"function"==typeof i.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=ir)),!1;"function"==typeof p&&(dh(t,n,p,r),h=t.memoizedState);var g=Cp()||fh(t,n,s,r,m,h,d)||w;return g?(f||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,d),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,d)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=ir)):("function"==typeof i.componentDidUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4)),"function"==typeof i.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=ir)),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=d,g}(e,t,n,r,o);var f=qh(e,t,n,p,d,o),m=t.stateNode;return p&&m.props!==r&&(Nh||i("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"),Nh=!0),f}function qh(e,t,n,r,o,i){Hh(e,t);var a=0!==(t.flags&nr);if(!r&&!a)return o&&Ec(t,n,!1),vg(e,t,i);var s,l=t.stateNode;if(jh.current=t,a&&"function"!=typeof n.getDerivedStateFromError)s=null,Hm();else{if(to(t),Ge(!0),s=l.render(),8&t.mode){Qr(!0);try{l.render()}finally{Qr(!1)}}Ge(!1),no()}return t.flags|=1,null!==e&&a?function(e,t,n,r){t.child=Bd(t,e.child,null,r),t.child=Bd(t,null,n,r)}(e,t,s,i):$h(e,t,s,i),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),Lp(e,t.containerInfo)}function Kh(e,t,n,r,o){return gd(),yd(o),t.flags|=rr,$h(e,t,n,r),t.child}function Xh(e,t,n,r){gg(e,t);var o=t.pendingProps,i=n,a=i._payload,s=(0,i._init)(a);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===ae)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),Wh(null,t,s,c,r);case 1:return t.type=s=Ly(s),Gh(null,t,s,c,r);case l:return t.type=s=jy(s),Fh(null,t,s,c,r);case d:if(t.type!==t.elementType){var p=s.propTypes;p&&nc(p,c,"prop",Le(s))}return zh(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&&i("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Ue();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",a=e._debugSource;a&&(o=a.fileName+":"+a.lineNumber),Dh[o]||(Dh[o]=!0,i("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=Le(t)||"Unknown";Lh[s]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",s),Lh[s]=!0)}if("function"==typeof t.getDerivedStateFromProps){var l=Le(t)||"Unknown";Ih[l]||(i("%s: Function components do not support getDerivedStateFromProps.",l),Ih[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=Le(t)||"Unknown";Rh[u]||(i("%s: Function components do not support contextType.",u),Rh[u]=!0)}}Ch={},Oh={},Rh={},Ih={},Dh={},Nh=!1,Ph={},Mh={},Lh={};var Jh={dehydrated:null,treeContext:null,retryLane:0};function Zh(e){return{baseLanes:e,cachePool:null,transitions:null}}function eg(e,t,n){var r=t.pendingProps;yw(t)&&(t.flags|=nr);var o=zp.current,a=!1,s=0!==(t.flags&nr);if(s||function(e,t){return(null===t||null!==t.memoizedState)&&Up(e,2)}(o,e)?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o=o|1),Wp(t,o=Bp(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?Du(t)?e.lanes=To:e.lanes=Jo:(i("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=So);return null}(t,u)}var c=r.children,d=r.fallback;if(a){var p=function(e,t,n,r){var o,i,a=e.mode,s=e.child,l={mode:"hidden",children:t};1&a||null===s?(o=ng(l,a),i=Zy(n,a,r,null)):((o=s).childLanes=0,o.pendingProps=l,2&e.mode&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),i=Zy(n,a,r,null));return o.return=e,i.return=e,o.sibling=i,e.child=o,i}(t,c,d,n);return t.child.memoizedState=Zh(n),t.memoizedState=Jh,p}return tg(t,c)}var f=e.memoizedState;if(null!==f){var m=f.dehydrated;if(null!==m)return function(e,t,n,r,o,a,s){if(n){if(t.flags&rr)return t.flags&=-257,og(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 i=t.mode,a={mode:"visible",children:n},s=ng(a,i),l=Zy(r,i,o,null);l.flags|=2,s.return=t,l.return=t,s.sibling=l,t.child=s,!(1&t.mode)||Bd(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&&i("We should not be hydrating here. This is a bug in React. Please file a bug."),!(1&t.mode))return og(e,t,s,null);if(Du(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,og(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=gi(s,e.childLanes);if(Vh||f){var m=Lb();if(null!==m){var h=function(e,t){var n;switch(pi(t)){case Eo:n=_o;break;case ko:n=To;break;case 64:case 128:case 256:case 512:case Oo:case Ro:case Io:case Do:case No:case Po:case Mo:case Lo:case jo:case Vo:case $o:case Fo:case Uo:case Bo:case Ho:case Wo:case Go:n=Ao;break;case Qo:n=Xo;break;default:n=0}return 0!==(n&(e.suspendedLanes|t))?0:n}(m,s);if(0!==h&&h!==a.retryLane){a.retryLane=h;var g=ei;cp(e,h),Fb(m,e,h,g)}}return ry(),og(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(Iu(o)){t.flags|=nr,t.child=e.child;var v=vy.bind(null,e);return y=v,o._reactRetry=y,null}td(t,o,a.treeContext);var b=tg(t,r.children);return b.flags|=sr,b;var y}(e,t,s,r,m,f,n)}if(a){var h=r.fallback,g=function(e,t,n,r,o){var i,a,s=t.mode,l=e.child,u=l.sibling,c={mode:"hidden",children:n};if(1&s||t.child===l)(i=rg(l,c)).subtreeFlags=l.subtreeFlags&Sr;else{(i=t.child).childLanes=0,i.pendingProps=c,2&t.mode&&(i.actualDuration=0,i.actualStartTime=-1,i.selfBaseDuration=l.selfBaseDuration,i.treeBaseDuration=l.treeBaseDuration),t.deletions=null}null!==u?a=Ky(u,r):(a=Zy(r,s,o,null)).flags|=2;return a.return=t,i.return=t,i.sibling=a,t.child=i,a}(e,t,r.children,h,n),v=t.child,b=e.child.memoizedState;return v.memoizedState=null===b?Zh(n):function(e,t){return{baseLanes:bi(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(b,n),v.childLanes=function(e,t){return yi(e.childLanes,t)}(e,n),t.memoizedState=Jh,g}var y=function(e,t,n,r){var o=e.child,i=o.sibling,a=rg(o,{mode:"visible",children:n});1&t.mode||(a.lanes=r);if(a.return=t,a.sibling=null,null!==i){var s=t.deletions;null===s?(t.deletions=[i],t.flags|=tr):s.push(i)}return t.child=a,a}(e,t,r.children,n);return t.memoizedState=null,y}function tg(e,t,n){var r=ng({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function ng(e,t,n){return ew(e,t,0,null)}function rg(e,t){return Ky(e,t)}function og(e,t,n,r){null!==r&&yd(r),Bd(t,e.child,null,n);var o=tg(t,t.pendingProps.children);return o.flags|=2,t.memoizedState=null,o}function ig(e,t,n){e.lanes=bi(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=bi(r.lanes,t)),rp(e.return,t,n)}function ag(e,t){var n=wt(e),r=!n&&"function"==typeof fe(e);if(n||r){var o=n?"array":"iterable";return i("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 sg(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function lg(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,s=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Ph[e])if(Ph[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":i('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":i('"%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:i('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else i('%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,i('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Mh[e]=!0,i('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(a,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(!ag(e[n],n))return}else{var r=fe(e);if("function"==typeof r){var o=r.call(e);if(o)for(var a=o.next(),s=0;!a.done;a=o.next()){if(!ag(a.value,s))return;s++}}else i('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),$h(e,t,s,n);var l=zp.current;Up(l,2)?(l=Hp(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&&ig(r,n,e);else if(r.tag===h)ig(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=Bp(l));if(Wp(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),sg(t,!1,u,d,a);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 g=f.sibling;f.sibling=p,p=f,f=g}sg(t,!0,p,null,a);break;case"together":sg(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}var ug=!1;var cg,dg,pg,fg,mg=!1;function hg(){Vh=!0}function gg(e,t){1&t.mode||null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function vg(e,t,n){return null!==e&&(t.dependencies=e.dependencies),Hm(),ny(t.lanes),gi(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 bg(e,t){return!!gi(e.lanes,t)}function yg(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 i=r.deletions;return null===i?(r.deletions=[e],r.flags|=tr):i.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||vc()||t.type!==e.type)Vh=!0;else{if(!bg(e,n)&&0===(t.flags&nr))return Vh=!1,function(e,t,n){switch(t.tag){case 3:Yh(t),t.stateNode,gd();break;case 5:$p(t);break;case 1:bc(t.type)&&_c(t);break;case 4:Lp(t,t.stateNode.containerInfo);break;case s:var r=t.memoizedProps.value;tp(t,t.type._context,r);break;case u:gi(n,t.childLanes)&&(t.flags|=4);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case c:var i=t.memoizedState;if(null!==i){if(null!==i.dehydrated)return Wp(t,Bp(zp.current)),t.flags|=nr,null;if(gi(n,t.child.childLanes))return eg(e,t,n);Wp(t,Bp(zp.current));var a=vg(e,t,n);return null!==a?a.sibling:null}Wp(t,Bp(zp.current));break;case h:var l=0!==(e.flags&nr),d=gi(n,t.childLanes);if(l){if(d)return lg(e,t,n);t.flags|=nr}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),Wp(t,zp.current),d)break;return null;case v:case b:return t.lanes=0,Bh(e,t,n)}return vg(e,t,n)}(e,t,n);Vh=0!==(e.flags&pr)}else if(Vh=!1,bd()&&function(e){return qc(),0!==(e.flags&fr)}(t)){var r=t.index;Bc(t,(qc(),Mc),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){gg(e,t);var o,a,s,l=t.pendingProps;if(o=gc(t,mc(0,n,!1)),ip(t,r),to(t),n.prototype&&"function"==typeof n.prototype.render){var u=Le(n)||"Unknown";Ch[u]||(i("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),Ch[u]=!0)}if(8&t.mode&&xd.recordLegacyContextWarning(t,null),Ge(!0),jh.current=t,a=wf(null,t,n,l,o,r),s=xf(),Ge(!1),no(),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){var c=Le(n)||"Unknown";Oh[c]||(i("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),Oh[c]=!0)}if("object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){var d=Le(n)||"Unknown";Oh[d]||(i("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),Oh[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var p=!1;return bc(n)?(p=!0,_c(t)):p=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,bp(t),mh(t,a),vh(t,n,l,r),qh(null,t,n,!0,p,r)}if(t.tag=0,8&t.mode){Qr(!0);try{a=wf(null,t,n,l,o,r),s=xf()}finally{Qr(!1)}}return bd()&&s&&Hc(t),$h(null,t,a,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,a=t.pendingProps;return Wh(e,t,o,t.elementType===o?a:Qm(o,a),n);case 1:var m=t.type,y=t.pendingProps;return Gh(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,i=o.element;yp(e,t),Tp(t,r,null,n);var a=t.memoizedState;t.stateNode;var s=a.element;if(o.isDehydrated){var l={element:s,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.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!==i)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=Hd(t,null,s,n);t.child=u;for(var c=u;c;)c.flags=-3&c.flags|sr,c=c.sibling}else{if(gd(),s===i)return vg(e,t,n);$h(e,t,s,n)}return t.child}(e,t,n);case 5:return function(e,t,n){$p(t),null===e&&ud(t);var r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children;return bu(r,o)?a=null:null!==i&&bu(r,i)&&(t.flags|=32),Hh(e,t),$h(e,t,a,n),t.child}(e,t,n);case 6:return function(e,t){return null===e&&ud(t),null}(e,t);case c:return eg(e,t,n);case 4:return function(e,t,n){Lp(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Bd(t,null,r,n):$h(e,t,r,n),t.child}(e,t,n);case l:var w=t.type,x=t.pendingProps;return Fh(e,t,w,t.elementType===w?x:Qm(w,x),n);case 7:return function(e,t,n){return $h(e,t,t.pendingProps,n),t.child}(e,t,n);case 8:return function(e,t,n){return $h(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,$h(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,a=t.memoizedProps,s=o.value;"value"in o||ug||(ug=!0,i("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!==a){var u=a.value;if(Cs(u,s)){if(a.children===o.children&&!vc())return vg(e,t,n)}else op(t,r,n)}return $h(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&&(mg||(mg=!0,i("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&&i("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."),ip(t,n);var a,s=ap(r);return to(t),jh.current=t,Ge(!0),a=o(s),Ge(!1),no(),t.flags|=1,$h(e,t,a,n),t.child}(e,t,n);case d:var S=t.type,_=Qm(S,t.pendingProps);if(t.type!==t.elementType){var E=S.propTypes;E&&nc(E,_,"prop",Le(S))}return zh(e,t,S,_=Qm(S.type,_),n);case p:return Uh(e,t,t.type,t.pendingProps,n);case f:var T=t.type,k=t.pendingProps;return function(e,t,n,r,o){var i;return gg(e,t),t.tag=1,bc(n)?(i=!0,_c(t)):i=!1,ip(t,o),hh(t,n,r),vh(t,n,r,o),qh(null,t,n,!0,i,o)}(e,t,T,t.elementType===T?k:Qm(T,k),n);case h:return lg(e,t,n);case g:break;case v:return Bh(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 wg(e){e.flags|=4}function xg(e){e.flags|=or,e.flags|=mr}function Sg(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,i=null;null!==o;)null!==o.alternate&&(i=o),o=o.sibling;null===i?t||null===e.tail?e.tail=null:e.tail.sibling=null:i.sibling=null}}function _g(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,i=e.child;null!==i;)n=bi(n,bi(i.lanes,i.childLanes)),r|=i.subtreeFlags&Sr,r|=i.flags&Sr,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(var a=e.child;null!==a;)n=bi(n,bi(a.lanes,a.childLanes)),r|=a.subtreeFlags&Sr,r|=a.flags&Sr,a.return=e,a=a.sibling;e.subtreeFlags|=r}else{if(2&e.mode){for(var s=e.actualDuration,l=e.selfBaseDuration,u=e.child;null!==u;)n=bi(n,bi(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=bi(n,bi(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 Eg(e,t,n){if(Xc&&null!==Kc&&1&t.mode&&0===(t.flags&nr))return hd(t),gd(),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),_g(t),2&t.mode)if(null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(gd(),0===(t.flags&nr)&&(t.memoizedState=null),t.flags|=4,_g(t),2&t.mode&&null!==n){var i=t.child;null!==i&&(t.treeBaseDuration-=i.treeBaseDuration)}return!1}return vd(),!0}function Tg(e,t,n){var r=t.pendingProps;switch(Gc(t),t.tag){case 2:case 16:case p:case 0:case l:case 7:case 8:case u:case 9:case d:return _g(t),null;case 1:return bc(t.type)&&yc(t),_g(t),null;case 3:var o=t.stateNode;if(jp(t),wc(t),Xp(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)if(md(t))wg(t);else if(null!==e)e.memoizedState.isDehydrated&&0===(t.flags&rr)||(t.flags|=ir,vd());return dg(e,t),_g(t),null;case 5:Fp(t);var i=Mp(),a=t.type;if(null!==e&&null!=t.stateNode)pg(e,t,a,r,i),e.ref!==t.ref&&xg(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 _g(t),null}var m=Vp();if(md(t))(function(e,t,n){var r=e.stateNode,o=!Qc,i=Mu(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=i,null!==i})(t,0,m)&&wg(t);else{var y=gu(a,r,i,m,t);cg(y,t,!1,!1),t.stateNode=y,function(e,t,n){switch(Gl(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(y,a,r)&&wg(t)}null!==t.ref&&xg(t)}return _g(t),null;case 6:var w=r;if(e&&null!=t.stateNode){var x=e.memoizedProps;fg(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 S=Mp(),_=Vp();md(t)?cd(t)&&wg(t):t.stateNode=yu(w,S,_,t)}return _g(t),null;case c:Gp(t);var E=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Eg(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 T=null!==E;if(T!==(null!==e&&null!==e.memoizedState))if(T)if(t.child.flags|=lr,1&t.mode)null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!0)||Up(zp.current,1)?rb===Hv&&(rb=qv):ry();if(null!==t.updateQueue&&(t.flags|=4),_g(t),2&t.mode&&T){var k=t.child;null!==k&&(t.treeBaseDuration-=k.treeBaseDuration)}return null;case 4:return jp(t),dg(e,t),null===e&&gl(t.stateNode.containerInfo),_g(t),null;case s:return np(t.type._context,t),_g(t),null;case f:return bc(t.type)&&yc(t),_g(t),null;case h:Gp(t);var A=t.memoizedState;if(null===A)return _g(t),null;var C=0!==(t.flags&nr),O=A.rendering;if(null===O)if(C)Sg(A,!1);else{if(!(rb===Hv&&(null===e||0===(e.flags&nr))))for(var R=t.child;null!==R;){var I=Yp(R);if(null!==I){C=!0,t.flags|=nr,Sg(A,!1);var D=I.updateQueue;return null!==D&&(t.updateQueue=D,t.flags|=4),t.subtreeFlags=0,Wd(t,n),Wp(t,Hp(zp.current,2)),t.child}R=R.sibling}null!==A.tail&&jr()>gb()&&(t.flags|=nr,C=!0,Sg(A,!1),t.lanes=qo)}else{if(!C){var N=Yp(O);if(null!==N){t.flags|=nr,C=!0;var P=N.updateQueue;if(null!==P&&(t.updateQueue=P,t.flags|=4),Sg(A,!0),null===A.tail&&"hidden"===A.tailMode&&!O.alternate&&!bd())return _g(t),null}else 2*jr()-A.renderingStartTime>gb()&&n!==Jo&&(t.flags|=nr,C=!0,Sg(A,!1),t.lanes=qo)}if(A.isBackwards)O.sibling=t.child,t.child=O;else{var M=A.last;null!==M?M.sibling=O:t.child=O,A.last=O}}if(null!==A.tail){var L=A.tail;A.rendering=L,A.tail=L.sibling,A.renderingStartTime=jr(),L.sibling=null;var j=zp.current;return Wp(t,j=C?Hp(j,2):Bp(j)),L}return _g(t),null;case g:break;case v:case b:Qb(t);var V=null!==t.memoizedState;if(null!==e)null!==e.memoizedState!==V&&(t.flags|=lr);return V&&1&t.mode?gi(tb,Jo)&&(_g(t),6&t.subtreeFlags&&(t.flags|=lr)):_g(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 kg(e,t,n){switch(Gc(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,jp(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 Fp(t),null;case c:Gp(t);var i=t.memoizedState;if(null!==i&&null!==i.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.");gd()}var a=t.flags;return a&dr?(t.flags=-65537&a|nr,2&t.mode&&Xm(t),t):null;case h:return Gp(t),null;case 4:return jp(t),null;case s:return np(t.type._context,t),null;case v:case b:return Qb(t),null;default:return null}}function Ag(e,t,n){switch(Gc(t),t.tag){case 1:var r=t.type.childContextTypes;null!=r&&yc(t);break;case 3:t.stateNode,jp(t),wc(t),Xp();break;case 5:Fp(t);break;case 4:jp(t);break;case c:case h:Gp(t);break;case s:np(t.type._context,t);break;case v:case b:Qb(t)}}cg=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag||6===o.tag)vu(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}},dg=function(e,t){},pg=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=function(e,t,n,r,o,i){var a=i;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var s=""+r.children,l=tu(a.ancestorInfo,t);eu(null,s,l)}return ql(e,t,n,r)}(t.stateNode,n,i,r,0,Vp());t.updateQueue=a,a&&wg(t)}},fg=function(e,t,n,r){n!==r&&wg(t)};var Cg=null;Cg=new Set;var Og=!1,Rg=!1,Ig="function"==typeof WeakSet?WeakSet:Set,Dg=null,Ng=null,Pg=null;var Mg=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{Ym(),t.componentWillUnmount()}finally{Gm(e)}else t.componentWillUnmount()};function Lg(e,t){try{Gg(4,e)}catch(n){my(e,t,n)}}function jg(e,t,n){try{Mg(e,n)}catch(r){my(e,t,r)}}function Vg(e,t){try{Xg(e)}catch(n){my(e,t,n)}}function $g(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{Gm(e)}else r=n(null)}catch(o){my(e,t,o)}"function"==typeof r&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else n.current=null}function Fg(e,t,n){try{n()}catch(r){my(e,t,r)}}var zg=!1;function Ug(e,t){hu(e.containerInfo),Dg=t,function(){for(;null!==Dg;){var e=Dg,t=e.child;0!==(e.subtreeFlags&br)&&null!==t?(t.return=e,Dg=t):Bg()}}();var n=zg;return zg=!1,n}function Bg(){for(;null!==Dg;){var e=Dg;We(e);try{Hg(e)}catch(n){my(e,e.return,n)}He();var t=e.sibling;if(null!==t)return t.return=e.return,void(Dg=t);Dg=e.return}}function Hg(e){var t,n=e.alternate;if(0!==(e.flags&ir)){switch(We(e),e.tag){case 0:case l:case p:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,a=e.stateNode;e.type!==e.elementType||Nh||(a.props!==e.memoizedProps&&i("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"),a.state!==e.memoizedState&&i("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=a.getSnapshotBeforeUpdate(e.elementType===e.type?r:Qm(e.type,r),o),u=Cg;void 0!==s||u.has(e.type)||(u.add(e.type),i("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ve(e))),a.__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.")}He()}}function Wg(e,t,n){var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,a=i;do{if((a.tag&e)===e){var s=a.destroy;a.destroy=void 0,void 0!==s&&(8&e?io(t):4&e&&uo(t),2&e&&Iy(!0),Fg(t,n,s),2&e&&Iy(!1),8&e?ao():4&e&&co())}a=a.next}while(a!==i)}}function Gg(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){8&e?ro(t):4&e&&so(t);var s=a.create;2&e&&Iy(!0),a.destroy=s(),2&e&&Iy(!1),8&e?oo():4&e&&lo();var l=a.destroy;if(void 0!==l&&"function"!=typeof l){var u=void 0;i("%s must not return anything besides a function, which is used for clean-up.%s",u=4&a.tag?"useLayoutEffect":2&a.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)}}a=a.next}while(a!==o)}}function qg(e,t){if(4&t.flags&&t.tag===u){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,i=r.onPostCommit,a=zm(),s=null===t.alternate?"mount":"update";Fm()&&(s="nested-update"),"function"==typeof i&&i(o,s,n,a);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 Yg(e,t,n,r){if(0!==(n.flags&wr))switch(n.tag){case 0:case l:case p:if(!Rg)if(2&n.mode)try{Ym(),Gg(5,n)}finally{Gm(n)}else Gg(5,n);break;case 1:var o=n.stateNode;if(4&n.flags&&!Rg)if(null===t)if(n.type!==n.elementType||Nh||(o.props!==n.memoizedProps&&i("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&&i("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{Gm(n)}else o.componentDidMount();else{var a=n.elementType===n.type?t.memoizedProps:Qm(n.type,t.memoizedProps),s=t.memoizedState;if(n.type!==n.elementType||Nh||(o.props!==n.memoizedProps&&i("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&&i("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(a,s,o.__reactInternalSnapshotBeforeUpdate)}finally{Gm(n)}else o.componentDidUpdate(a,s,o.__reactInternalSnapshotBeforeUpdate)}var d=n.updateQueue;null!==d&&(n.type!==n.elementType||Nh||(o.props!==n.memoizedProps&&i("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&&i("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")),Op(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}Op(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,S=x.onCommit,_=x.onRender,E=n.stateNode.effectDuration,T=zm(),k=null===t?"mount":"update";Fm()&&(k="nested-update"),"function"==typeof _&&_(n.memoizedProps.id,k,n.actualDuration,n.treeBaseDuration,n.actualStartTime,T),"function"==typeof S&&S(n.memoizedProps.id,k,E,T),C=n,_b.push(C),wb||(wb=!0,Cy(zr,function(){return cy(),null}));var A=n.return;e:for(;null!==A;){switch(A.tag){case 3:A.stateNode.effectDuration+=E;break e;case u:A.stateNode.effectDuration+=E;break e}A=A.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 i=o.dehydrated;null!==i&&function(e){ia(e)}(i)}}}}(0,n);break;case h:case f:case g:case v: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 C;Rg||n.flags&or&&Xg(n)}function Kg(e){switch(e.tag){case 0:case l:case p:if(2&e.mode)try{Ym(),Lg(e,e.return)}finally{Gm(e)}else Lg(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),Vg(e,e.return);break;case 5:Vg(e,e.return)}}function Xg(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{Gm(e)}else o=t(n);"function"==typeof o&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else t.hasOwnProperty("current")||i("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ve(e)),t.current=n}}function Qg(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,Qg(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[$u],delete t[zu],delete t[Uu],delete t[Bu])}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 Jg(e){return 5===e.tag||3===e.tag||4===e.tag}function Zg(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Jg(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 ev(e){var t=function(e){for(var t=e.return;null!==t;){if(Jg(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&&(Tu(n),t.flags&=-33),nv(e,Zg(e),n);break;case 3:case 4:var r=t.stateNode.containerInfo;tv(e,Zg(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 tv(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&&Wl(n)}(n,o)}else if(4===r);else{var i=e.child;if(null!==i){tv(i,t,n);for(var a=i.sibling;null!==a;)tv(a,t,n),a=a.sibling}}}function nv(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 i=e.child;if(null!==i){nv(i,t,n);for(var a=i.sibling;null!==a;)nv(a,t,n),a=a.sibling}}}var rv=null,ov=!1;function iv(e,t,n){var r,o,i=t;e:for(;null!==i;){switch(i.tag){case 5:rv=i.stateNode,ov=!1;break e;case 3:case 4:rv=i.stateNode.containerInfo,ov=!0;break e}i=i.return}if(null===rv)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");sv(e,t,n),rv=null,ov=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function av(e,t,n){for(var r=n.child;null!==r;)sv(e,t,r),r=r.sibling}function sv(e,t,n){switch(function(e){if(qr&&"function"==typeof qr.onCommitFiberUnmount)try{qr.onCommitFiberUnmount(Gr,e)}catch(t){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",t))}}(n),n.tag){case 5:Rg||$g(n,t);case 6:var r=rv,o=ov;return rv=null,av(e,t,n),ov=o,void(null!==(rv=r)&&(ov?(_=rv,E=n.stateNode,8===_.nodeType?_.parentNode.removeChild(E):_.removeChild(E)):function(e,t){e.removeChild(t)}(rv,n.stateNode)));case m:return void(null!==rv&&(ov?function(e,t){8===e.nodeType?ku(e.parentNode,t):1===e.nodeType&&ku(e,t),ia(e)}(rv,n.stateNode):ku(rv,n.stateNode)));case 4:var a=rv,s=ov;return rv=n.stateNode.containerInfo,ov=!0,av(e,t,n),rv=a,void(ov=s);case 0:case l:case d:case p:if(!Rg){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?Fg(n,t,y):4&w&&(uo(n),2&n.mode?(Ym(),Fg(n,t,y),Gm(n)):Fg(n,t,y),co())),h=h.next}while(h!==f)}}}return void av(e,t,n);case 1:if(!Rg){$g(n,t);var x=n.stateNode;"function"==typeof x.componentWillUnmount&&jg(n,t,x)}return void av(e,t,n);case g:return void av(e,t,n);case v:if(1&n.mode){var S=Rg;Rg=S||null!==n.memoizedState,av(e,t,n),Rg=S}else av(e,t,n);break;default:return void av(e,t,n)}var _,E}function lv(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ig),t.forEach(function(t){var r=by.bind(null,e,t);if(!n.has(t)){if(n.add(t),Xr){if(null===Ng||null===Pg)throw Error("Expected finished root and lanes to be set. This is a bug in React.");ky(Pg,Ng)}t.then(r,r)}})}}function uv(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var i=r[o];try{iv(e,t,i)}catch(l){my(i,t,l)}}var a=Fe;if(t.subtreeFlags&yr)for(var s=t.child;null!==s;)We(s),cv(s,e),s=s.sibling;We(a)}function cv(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case l:case d:case p:if(uv(t,e),dv(e),4&o){try{Wg(3,e,e.return),Gg(3,e)}catch(R){my(e,e.return,R)}if(2&e.mode){try{Ym(),Wg(5,e,e.return)}catch(R){my(e,e.return,R)}Gm(e)}else try{Wg(5,e,e.return)}catch(R){my(e,e.return,R)}}return;case 1:return uv(t,e),dv(e),void(o&or&&null!==r&&$g(r,r.return));case 5:if(uv(t,e),dv(e),o&or&&null!==r&&$g(r,r.return),32&e.flags){var i=e.stateNode;try{Tu(i)}catch(R){my(e,e.return,R)}}if(4&o){var a=e.stateNode;if(null!=a){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)}(a,m,f,u,s)}catch(R){my(e,e.return,R)}}}return;case 6:if(uv(t,e),dv(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(R){my(e,e.return,R)}}return;case 3:if(uv(t,e),dv(e),4&o)if(null!==r)if(r.memoizedState.isDehydrated)try{ia(t.containerInfo)}catch(R){my(e,e.return,R)}return;case 4:return uv(t,e),void dv(e);case c:uv(t,e),dv(e);var x=e.child;if(x.flags&lr){var S=x.stateNode,_=null!==x.memoizedState;if(S.isHidden=_,_)null!==x.alternate&&null!==x.alternate.memoizedState||(cb=jr())}if(4&o){try{!function(e){e.memoizedState}(e)}catch(R){my(e,e.return,R)}lv(e)}return;case v:var E=null!==r&&null!==r.memoizedState;if(1&e.mode){var T=Rg;Rg=T||E,uv(t,e),Rg=T}else uv(t,e);if(dv(e),o&lr){var k=e.stateNode,A=null!==e.memoizedState,C=e;if(k.isHidden=A,A&&!E&&1&C.mode){Dg=C;for(var O=C.child;null!==O;)Dg=O,hv(O),O=O.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?Au(o):Ou(r.stateNode,r.memoizedProps)}catch(R){my(e,e.return,R)}}}else if(6===r.tag){if(null===n)try{var i=r.stateNode;t?Cu(i):Ru(i,r.memoizedProps)}catch(R){my(e,e.return,R)}}else if((r.tag!==v&&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}}(C,A)}return;case h:return uv(t,e),dv(e),void(4&o&&lv(e));case g:return;default:return uv(t,e),void dv(e)}}function dv(e){var t=e.flags;if(2&t){try{ev(e)}catch(n){my(e,e.return,n)}e.flags&=-3}t&sr&&(e.flags&=-4097)}function pv(e,t,n){Ng=n,Pg=t,Dg=e,fv(e,t,n),Ng=null,Pg=null}function fv(e,t,n){for(var r=!!(1&e.mode);null!==Dg;){var o=Dg,i=o.child;if(o.tag===v&&r){var a=null!==o.memoizedState||Og;if(a){mv(e,t,n);continue}var s=o.alternate,l=null!==s&&null!==s.memoizedState,u=Og,c=Rg;Og=a,(Rg=l||Rg)&&!c&&(Dg=o,vv(o));for(var d=i;null!==d;)Dg=d,fv(d,t,n),d=d.sibling;Dg=o,Og=u,Rg=c,mv(e,t,n)}else 0!==(o.subtreeFlags&wr)&&null!==i?(i.return=o,Dg=i):mv(e,t,n)}}function mv(e,t,n){for(;null!==Dg;){var r=Dg;if(0!==(r.flags&wr)){var o=r.alternate;We(r);try{Yg(0,o,r)}catch(a){my(r,r.return,a)}He()}if(r===e)return void(Dg=null);var i=r.sibling;if(null!==i)return i.return=r.return,void(Dg=i);Dg=r.return}}function hv(e){for(;null!==Dg;){var t=Dg,n=t.child;switch(t.tag){case 0:case l:case d:case p:if(2&t.mode)try{Ym(),Wg(4,t,t.return)}finally{Gm(t)}else Wg(4,t,t.return);break;case 1:$g(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&jg(t,t.return,r);break;case 5:$g(t,t.return);break;case v:if(null!==t.memoizedState){gv(e);continue}}null!==n?(n.return=t,Dg=n):gv(e)}}function gv(e){for(;null!==Dg;){var t=Dg;if(t===e)return void(Dg=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Dg=n);Dg=t.return}}function vv(e){for(;null!==Dg;){var t=Dg,n=t.child;if(t.tag===v)if(null!==t.memoizedState){bv(e);continue}null!==n?(n.return=t,Dg=n):bv(e)}}function bv(e){for(;null!==Dg;){var t=Dg;We(t);try{Kg(t)}catch(r){my(t,t.return,r)}if(He(),t===e)return void(Dg=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Dg=n);Dg=t.return}}function yv(e,t,n,r){Dg=t,function(e,t,n,r){for(;null!==Dg;){var o=Dg,i=o.child;0!==(o.subtreeFlags&xr)&&null!==i?(i.return=o,Dg=i):wv(e,t,n,r)}}(t,e,n,r)}function wv(e,t,n,r){for(;null!==Dg;){var o=Dg;if(0!==(o.flags&ar)){We(o);try{xv(t,o,n,r)}catch(a){my(o,o.return,a)}He()}if(o===e)return void(Dg=null);var i=o.sibling;if(null!==i)return i.return=o.return,void(Dg=i);Dg=o.return}}function xv(e,t,n,r){switch(t.tag){case 0:case l:case p:if(2&t.mode){Km();try{Gg(9,t)}finally{qm(t)}}else Gg(9,t)}}function Sv(e){Dg=e,function(){for(;null!==Dg;){var e=Dg,t=e.child;if(0!==(Dg.flags&tr)){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];Dg=o,Tv(o,e)}var i=e.alternate;if(null!==i){var a=i.child;if(null!==a){i.child=null;do{var s=a.sibling;a.sibling=null,a=s}while(null!==a)}}Dg=e}}0!==(e.subtreeFlags&xr)&&null!==t?(t.return=e,Dg=t):_v()}}()}function _v(){for(;null!==Dg;){var e=Dg;0!==(e.flags&ar)&&(We(e),Ev(e),He());var t=e.sibling;if(null!==t)return t.return=e.return,void(Dg=t);Dg=e.return}}function Ev(e){switch(e.tag){case 0:case l:case p:2&e.mode?(Km(),Wg(9,e,e.return),qm(e)):Wg(9,e,e.return)}}function Tv(e,t){for(;null!==Dg;){var n=Dg;We(n),Av(n,t),He();var r=n.child;null!==r?(r.return=n,Dg=r):kv(e)}}function kv(e){for(;null!==Dg;){var t=Dg,n=t.sibling,r=t.return;if(Qg(t),t===e)return void(Dg=null);if(null!==n)return n.return=r,void(Dg=n);Dg=r}}function Av(e,t){switch(e.tag){case 0:case l:case p:2&e.mode?(Km(),Wg(8,e,t),qm(e)):Wg(8,e,t)}}function Cv(e){switch(e.tag){case 0:case l:case p:try{Gg(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 Ov(e){switch(e.tag){case 0:case l:case p:try{Gg(9,e)}catch(t){my(e,e.return,t)}}}function Rv(e){switch(e.tag){case 0:case l:case p:try{Wg(5,e,e.return)}catch(n){my(e,e.return,n)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&jg(e,e.return,t)}}function Iv(e){switch(e.tag){case 0:case l:case p:try{Wg(9,e,e.return)}catch(t){my(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Dv=Symbol.for;Dv("selector.component"),Dv("selector.has_pseudo_class"),Dv("selector.role"),Dv("selector.test_id"),Dv("selector.text")}var Nv=[];var Pv=n.ReactCurrentActQueue;function Mv(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===Pv.current||i("The current testing environment is not configured to support act(...)"),e}var Lv=Math.ceil,jv=n.ReactCurrentDispatcher,Vv=n.ReactCurrentOwner,$v=n.ReactCurrentBatchConfig,Fv=n.ReactCurrentActQueue,zv=0,Uv=2,Bv=4,Hv=0,Wv=1,Gv=2,qv=3,Yv=4,Kv=5,Xv=6,Qv=zv,Jv=null,Zv=null,eb=0,tb=0,nb=sc(0),rb=Hv,ob=null,ib=0,ab=0,sb=0,lb=null,ub=null,cb=0,db=500,pb=1/0,fb=500,mb=null;function hb(){pb=jr()+fb}function gb(){return pb}var vb=!1,bb=null,yb=null,wb=!1,xb=null,Sb=0,_b=[],Eb=null,Tb=50,kb=0,Ab=null,Cb=!1,Ob=!1,Rb=50,Ib=0,Db=null,Nb=ei,Pb=0,Mb=!1;function Lb(){return Jv}function jb(){return(Qv&(Uv|Bv))!==zv?jr():Nb!==ei?Nb:Nb=jr()}function Vb(e){if(!(1&e.mode))return So;if((Qv&Uv)!==zv&&0!==eb)return fi(eb);if(null!==wd.transition){if(null!==$v.transition){var t=$v.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return 0===Pb&&(Pb=di()),Pb}var n,r=ji();return 0!==r?r:void 0===(n=window.event)?Pi:ma(n.type)}function $b(e){var t;return 1&e.mode?(t=ni,!((ni<<=1)&zo)&&(ni=Uo),t):So}function Fb(e,t,n,r){!function(){if(kb>Tb)throw kb=0,Ab=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.");Ib>Rb&&(Ib=0,Db=null,i("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&&i("useInsertionEffect must not schedule updates."),Cb&&(Ob=!0),Si(e,n,r),0!==(Qv&Uv)&&e===Jv?function(e){if(ze&&!mm)switch(e.tag){case 0:case l:case p:var t=Zv&&Ve(Zv)||"Unknown",n=t;if(!Ey.has(n))Ey.add(n),i("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:Ty||(i("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Ty=!0)}}(t):(Xr&&Ti(e,t,n),function(e){if(1&e.mode){if(!Mv())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(Qv!==zv)return;if(0!==e.tag&&e.tag!==l&&e.tag!==p)return}var t;if(null===Fv.current){var n=Fe;try{We(e),i("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?We(e):He()}}}(t),e===Jv&&((Qv&Uv)===zv&&(ab=bi(ab,n)),rb===Yv&&Wb(e,eb)),zb(e,r),n!==So||Qv!==zv||1&t.mode||Fv.isBatchingLegacy||(hb(),Rc()))}function zb(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=n;a>0;){var s=mi(a),l=1<<s,u=i[s];u===ei?0!==(l&r)&&0===(l&o)||(i[s]=ii(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=oi(e,e===Jv?eb:0);if(0===r)return null!==n&&Oy(n),e.callbackNode=null,void(e.callbackPriority=0);var o=pi(r),a=e.callbackPriority;if(a!==o||null!==Fv.current&&n!==Ay){var s,l;if(null!=n&&Oy(n),o===So)0===e.tag?(null!==Fv.isBatchingLegacy&&(Fv.didScheduleLegacyUpdate=!0),l=Gb.bind(null,e),Ac=!0,Oc(l)):Oc(Gb.bind(null,e)),null!==Fv.current?Fv.current.push(Ic):_u(function(){(Qv&(Uv|Bv))===zv&&Ic()}),s=null;else{var u;switch(Fi(r)){case Di:u=$r;break;case Ni:u=Fr;break;case Pi:u=zr;break;case Mi:u=Br;break;default:u=zr}s=Cy(u,Ub.bind(null,e))}e.callbackPriority=o,e.callbackNode=s}else null==n&&a!==So&&i("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function Ub(e,t){if(Vm=!1,$m=!1,Nb=ei,Pb=0,(Qv&(Uv|Bv))!==zv)throw new Error("Should not already be working.");var n=e.callbackNode;if(cy()&&e.callbackNode!==n)return null;var r=oi(e,e===Jv?eb:0);if(0===r)return null;var o=!ui(0,r)&&!function(e,t){return 0!==(t&e.expiredLanes)}(e,r)&&!t,i=o?function(e,t){var n=Qv;Qv|=Uv;var r=ey();if(Jv!==e||eb!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(ky(e,eb),o.clear()),ki(e,t)}mb=null,hb(),Jb(e,t)}mo(t);for(;;)try{ay();break}catch(i){Zb(e,i)}return Jd(),ty(r),Qv=n,null!==Zv?(null!==Yr&&"function"==typeof Yr.markRenderYielded&&Yr.markRenderYielded(),Hv):(ho(),Jv=null,eb=0,rb)}(e,r):oy(e,r);if(i!==Hv){if(i===Gv){var a=ai(e);0!==a&&(r=a,i=Bb(e,a))}if(i===Wv){var s=ob;throw Jb(e,0),Wb(e,r),zb(e,jr()),s}if(i===Xv)Wb(e,r);else{var l=!ui(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 i=r[o],a=i.getSnapshot,s=i.value;try{if(!Cs(a(),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((i=oy(e,r))===Gv){var c=ai(e);0!==c&&(r=c,i=Bb(e,c))}if(i===Wv){var d=ob;throw Jb(e,0),Wb(e,r),zb(e,jr()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case Hv:case Wv:throw new Error("Root did not complete. This is a bug in React.");case Gv:uy(e,ub,mb);break;case qv:if(Wb(e,n),li(n)&&!Ry()){var r=cb+db-jr();if(r>10){if(0!==oi(e,0))break;var o=e.suspendedLanes;if(!vi(o,n)){jb(),_i(e,o);break}e.timeoutHandle=wu(uy.bind(null,e,ub,mb),r);break}}uy(e,ub,mb);break;case Yv:if(Wb(e,n),function(e){return(e&Co)===e}(n))break;if(!Ry()){var i=function(e,t){for(var n=e.eventTimes,r=ei;t>0;){var o=mi(t),i=1<<o,a=n[o];a>r&&(r=a),t&=~i}return r}(e,n),a=i,s=jr()-a,l=((u=s)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*Lv(u/1960))-s;if(l>10){e.timeoutHandle=wu(uy.bind(null,e,ub,mb),l);break}}uy(e,ub,mb);break;case Kv:uy(e,ub,mb);break;default:throw new Error("Unknown root exit status.")}var u}(e,i,r)}}return zb(e,jr()),e.callbackNode===n?Ub.bind(null,e):null}function Bb(e,t){var n=lb;zi(e)&&(Jb(e,t).flags|=rr,i("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!==Gv){var o=ub;ub=n,null!==o&&Hb(o)}return r}function Hb(e){null===ub?ub=e:ub.push.apply(ub,e)}function Wb(e,t){t=yi(t,sb),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=mi(r),i=1<<o;n[o]=ei,r&=~i}}(e,t=yi(t,ab))}function Gb(e){if(Vm=$m,$m=!1,(Qv&(Uv|Bv))!==zv)throw new Error("Should not already be working.");cy();var t=oi(e,0);if(!gi(t,So))return zb(e,jr()),null;var n=oy(e,t);if(0!==e.tag&&n===Gv){var r=ai(e);0!==r&&(t=r,n=Bb(e,r))}if(n===Wv){var o=ob;throw Jb(e,0),Wb(e,t),zb(e,jr()),o}if(n===Xv)throw new Error("Root did not complete. This is a bug in React.");var i=e.current.alternate;return e.finishedWork=i,e.finishedLanes=t,uy(e,ub,mb),zb(e,jr()),null}function qb(e,t){var n=Qv;Qv|=1;try{return e(t)}finally{(Qv=n)!==zv||Fv.isBatchingLegacy||(hb(),Rc())}}function Yb(e){null!==xb&&0===xb.tag&&(Qv&(Uv|Bv))===zv&&cy();var t=Qv;Qv|=1;var n=$v.transition,r=ji();try{return $v.transition=null,Vi(Di),e?e():void 0}finally{Vi(r),$v.transition=n,((Qv=t)&(Uv|Bv))===zv&&Ic()}}function Kb(){return(Qv&(Uv|Bv))!==zv}function Xb(e,t){uc(nb,tb,e),tb=bi(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!==Zv)for(var r=Zv.return;null!==r;){r.alternate;Ag(0,r),r=r.return}Jv=e;var o=Ky(e.current,null);return Zv=o,eb=tb=t,rb=Hv,ob=null,ib=0,ab=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 i=o.next;o.next=r,n.next=i}t.pending=n}}sp=null}}(),xd.discardPendingWarnings(),o}function Zb(e,t){for(;;){var n=Zv;try{if(Jd(),_f(),He(),Vv.current=null,null===n||null===n.return)return rb=Wv,ob=t,void(Zv=null);2&n.mode&&Wm(n,!0),no(),null!==t&&"object"==typeof t&&"function"==typeof t.then?fo(n,t,eb):po(n,t,eb),Ah(e,n.return,n,t,eb),ly(n)}catch(r){t=r,Zv===n&&null!==n?(n=n.return,Zv=n):n=Zv;continue}return}}function ey(){var e=jv.current;return jv.current=_m,null===e?_m:e}function ty(e){jv.current=e}function ny(e){ib=bi(e,ib)}function ry(){rb!==Hv&&rb!==qv&&rb!==Gv||(rb=Yv),null!==Jv&&(si(ib)||si(ab))&&Wb(Jv,eb)}function oy(e,t){var n=Qv;Qv|=Uv;var r=ey();if(Jv!==e||eb!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(ky(e,eb),o.clear()),ki(e,t)}mb=null,Jb(e,t)}for(mo(t);;)try{iy();break}catch(i){Zb(e,i)}if(Jd(),Qv=n,ty(r),null!==Zv)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return ho(),Jv=null,eb=0,rb}function iy(){for(;null!==Zv;)sy(Zv)}function ay(){for(;null!==Zv&&!Mr();)sy(Zv)}function sy(e){var t,n=e.alternate;We(e),2&e.mode?(Bm(e),t=xy(n,e,tb),Wm(e,!0)):t=xy(n,e,tb),He(),e.memoizedProps=e.pendingProps,null===t?ly(e):Zv=t,Vv.current=null}function ly(e){var t=e;do{var n=t.alternate,r=t.return;if(0===(t.flags&cr)){We(t);var o=void 0;if(2&t.mode?(Bm(t),o=Tg(n,t,tb),Wm(t,!1)):o=Tg(n,t,tb),He(),null!==o)return void(Zv=o)}else{var i=kg(0,t);if(null!==i)return i.flags&=32767,void(Zv=i);if(2&t.mode){Wm(t,!1);for(var a=t.actualDuration,s=t.child;null!==s;)a+=s.actualDuration,s=s.sibling;t.actualDuration=a}if(null===r)return rb=Xv,void(Zv=null);r.flags|=cr,r.subtreeFlags=0,r.deletions=null}var l=t.sibling;if(null!==l)return void(Zv=l);Zv=t=r}while(null!==t);rb===Hv&&(rb=Kv)}function uy(e,t,n){var r=ji(),o=$v.transition;try{$v.transition=null,Vi(Di),function(e,t,n,r){do{cy()}while(null!==xb);if(function(){xd.flushLegacyContextWarning(),xd.flushPendingUnsafeLifecycleWarnings()}(),(Qv&(Uv|Bv))!==zv)throw new Error("Should not already be working.");var o=e.finishedWork,a=e.finishedLanes;if(function(e){null!==Yr&&"function"==typeof Yr.markCommitStarted&&Yr.markCommitStarted(e)}(a),null===o)return eo(),null;0===a&&i("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=bi(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,i=e.expirationTimes,a=n;a>0;){var s=mi(a),l=1<<s;r[s]=0,o[s]=ei,i[s]=ei,a&=~l}})(e,s),e===Jv&&(Jv=null,Zv=null,eb=0);0===(o.subtreeFlags&xr)&&0===(o.flags&xr)||wb||(wb=!0,Eb=n,Cy(zr,function(){return cy(),null}));var l=!!(15990&o.subtreeFlags),u=!!(15990&o.flags);if(l||u){var c=$v.transition;$v.transition=null;var d=ji();Vi(Di);var p=Qv;Qv|=Bv,Vv.current=null,Ug(e,o),Um(),function(e,t,n){Ng=n,Pg=e,We(t),cv(t,e),We(t),Ng=null,Pg=null}(e,o,a),e.containerInfo,Fs(mu),la(fu),fu=null,mu=null,e.current=o,function(e){null!==Yr&&"function"==typeof Yr.markLayoutEffectsStarted&&Yr.markLayoutEffectsStarted(e)}(a),pv(o,e,a),null!==Yr&&"function"==typeof Yr.markLayoutEffectsStopped&&Yr.markLayoutEffectsStopped(),Lr(),Qv=p,Vi(d),$v.transition=c}else e.current=o,Um();var f=wb;wb?(wb=!1,xb=e,Sb=a):(Ib=0,Db=null);s=e.pendingLanes,0===s&&(yb=null);f||yy(e.current,!1);(function(e,t){if(qr&&"function"==typeof qr.onCommitFiberRoot)try{var n,r=(e.current.flags&nr)===nr;switch(t){case Di:n=$r;break;case Ni:n=Fr;break;case Pi:n=zr;break;case Mi:n=Br;break;default:n=zr}qr.onCommitFiberRoot(Gr,e,n,r)}catch(o){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",o))}})(o.stateNode,r),Xr&&e.memoizedUpdaters.clear();if(function(){Nv.forEach(function(e){return e()})}(),zb(e,jr()),null!==t)for(var m=e.onRecoverableError,h=0;h<t.length;h++){var g=t[h],v=g.stack,b=g.digest;m(g.value,{componentStack:v,digest:b})}if(vb){vb=!1;var y=bb;throw bb=null,y}gi(Sb,So)&&0!==e.tag&&cy();s=e.pendingLanes,gi(s,So)?($m=!0,e===Ab?kb++:(kb=0,Ab=e)):kb=0;Ic(),eo()}(e,t,n,r)}finally{$v.transition=o,Vi(r)}return null}function cy(){if(null!==xb){var e=Fi(Sb),t=(o=Pi)>(a=e)?o:a,n=$v.transition,r=ji();try{return $v.transition=null,Vi(t),function(){if(null===xb)return!1;var e=Eb;Eb=null;var t=xb,n=Sb;if(xb=null,Sb=0,(Qv&(Uv|Bv))!==zv)throw new Error("Cannot flush passive effects while already rendering.");Cb=!0,Ob=!1,function(e){null!==Yr&&"function"==typeof Yr.markPassiveEffectsStarted&&Yr.markPassiveEffectsStarted(e)}(n);var r=Qv;Qv|=Bv,Sv(t.current),yv(t,t.current,n,e);var o=_b;_b=[];for(var a=0;a<o.length;a++){qg(0,o[a])}void(null!==Yr&&"function"==typeof Yr.markPassiveEffectsStopped&&Yr.markPassiveEffectsStopped()),yy(t.current,!0),Qv=r,Ic(),Ob?t===Db?Ib++:(Ib=0,Db=t):Ib=0;Cb=!1,Ob=!1,function(e){if(qr&&"function"==typeof qr.onPostCommitFiberRoot)try{qr.onPostCommitFiberRoot(Gr,e)}catch(t){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",t))}}(t);var s=t.current.stateNode;return s.effectDuration=0,s.passiveEffectDuration=0,!0}()}finally{Vi(r),$v.transition=n}}var o,a;return!1}function dy(e){return null!==yb&&yb.has(e)}var py=function(e){vb||(vb=!0,bb=e)};function fy(e,t,n){var r=xp(e,Sh(e,bh(n,t),So),So),o=jb();null!==r&&(Si(r,So,o),zb(r,o))}function my(e,t,n){var r;if(r=n,Jn(null,function(){throw r}),Zn(),Iy(!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 a=o.type,s=o.stateNode;if("function"==typeof a.getDerivedStateFromError||"function"==typeof s.componentDidCatch&&!dy(s)){var l=xp(o,_h(o,bh(n,e),So),So),u=jb();return void(null!==l&&(Si(l,So,u),zb(l,u)))}}o=o.return}i("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=jb();_i(e,n),function(e){0!==e.tag&&Mv()&&null===Fv.current&&i("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),Jv===e&&vi(eb,n)&&(rb===Yv||rb===qv&&li(eb)&&jr()-cb<db?Jb(e,0):sb=bi(sb,n)),zb(e,o)}function gy(e,t){0===t&&(t=$b(e));var n=jb(),r=cp(e,t);null!==r&&(Si(r,t,n),zb(r,n))}function vy(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),gy(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),gy(e,r)}function yy(e,t){We(e),wy(e,gr,Rv),t&&wy(e,vr,Iv),wy(e,gr,Cv),t&&wy(e,vr,Ov),He()}function wy(e,t,n){for(var r=e,o=null;null!==r;){var i=r.subtreeFlags&t;r!==o&&null!==r.child&&0!==i?r=r.child:(0!==(r.flags&t)&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var xy,Sy=null;function _y(e){if((Qv&Uv)===zv&&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!==Sy){if(Sy.has(n))return;Sy.add(n)}else Sy=new Set([n]);var r=Fe;try{We(e),i("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?We(e):He()}}}}xy=function(e,t,n){var r=rw(null,t);try{return yg(e,t,n)}catch(i){if(Qc||null!==i&&"object"==typeof i&&"function"==typeof i.then)throw i;if(Jd(),_f(),Ag(0,t),rw(t,r),2&t.mode&&Bm(t),Jn(null,yg,null,e,t,n),qn){var o=Zn();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof i&&null!==i&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}};var Ey,Ty=!1;function ky(e,t){Xr&&e.memoizedUpdaters.forEach(function(n){Ti(e,n,t)})}Ey=new Set;var Ay={};function Cy(e,t){var n=Fv.current;return null!==n?(n.push(t),Ay):Nr(e,t)}function Oy(e){if(e!==Ay)return Pr(e)}function Ry(){return null!==Fv.current}function Iy(e){Mb=e}var Dy=null,Ny=null,Py=function(e){Dy=e};function My(e){if(null===Dy)return e;var t=Dy(e);return void 0===t?e:t.current}function Ly(e){return My(e)}function jy(e){if(null===Dy)return e;var t=Dy(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=My(e.render);if(e.render!==n){var r={$$typeof:ae,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Vy(e,t){if(null===Dy)return!1;var n=e.elementType,r=t.type,o=!1,i="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(o=!0);break;case 0:("function"==typeof r||i===ce)&&(o=!0);break;case l:(i===ae||i===ce)&&(o=!0);break;case d:case p:(i===ue||i===ce)&&(o=!0);break;default:return!1}if(o){var a=Dy(n);if(void 0!==a&&a===Dy(r))return!0}return!1}function $y(e){null!==Dy&&"function"==typeof WeakSet&&(null===Ny&&(Ny=new WeakSet),Ny.add(e))}var Fy=function(e,t){if(null!==Dy){var n=t.staleFamilies,r=t.updatedFamilies;cy(),Yb(function(){Uy(e.current,r,n)})}},zy=function(e,t){e.context===cc&&(cy(),Yb(function(){fw(t,e,null,null)}))};function Uy(e,t,n){var r=e.alternate,o=e.child,i=e.sibling,a=e.tag,s=e.type,u=null;switch(a){case 0:case p:case 1:u=s;break;case l:u=s.render}if(null===Dy)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==u){var f=Dy(u);void 0!==f&&(n.has(f)?d=!0:t.has(f)&&(1===a?d=!0:c=!0))}if(null!==Ny&&(Ny.has(e)||null!==r&&Ny.has(r))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var m=cp(e,So);null!==m&&Fb(m,e,So,ei)}null===o||d||Uy(o,t,n),null!==i&&Uy(i,t,n)}var By,Hy=function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return Wy(e.current,r,n),n};function Wy(e,t,n){var r=e.child,o=e.sibling,i=e.tag,a=e.type,s=null;switch(i){case 0:case p:case 1:s=a;break;case l:s=a.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&&Wy(r,t,n),null!==o&&Wy(o,t,n)}By=!1;try{Object.preventExtensions({})}catch(rx){By=!0}function Gy(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,By||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var qy=function(e,t,n,r){return new Gy(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=qy(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&Sr,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=Ly(e.type);break;case l:n.type=jy(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,a){var p=2,f=e;if("function"==typeof e)Yy(e)?(p=1,f=Ly(f)):f=My(f);else if("string"==typeof e)p=5;else e:switch(e){case te:return Zy(n.children,o,a,t);case ne:p=8,1&(o|=8)&&(o|=vo);break;case re:return function(e,t,n,r){"string"!=typeof e.id&&i('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=qy(u,e,r,2|t);return o.elementType=re,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,a,t);case se:return function(e,t,n,r){var o=qy(c,e,r,t);return o.elementType=se,o.lanes=n,o}(n,o,a,t);case le:return function(e,t,n,r){var o=qy(h,e,r,t);return o.elementType=le,o.lanes=n,o}(n,o,a,t);case de:return ew(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:p=s;break e;case ie:p=9;break e;case ae:p=l,f=jy(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 g=r?Ve(r):null;throw g&&(m+="\n\nCheck the render method of `"+g+"`."),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 v=qy(p,n,t,o);return v.elementType=e,v.type=f,v.lanes=a,v._debugOwner=r,v}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=qy(7,e,r,t);return o.lanes=n,o}function ew(e,t,n,r){var o=qy(v,e,r,t);o.elementType=de,o.lanes=n;return o.stateNode={isHidden:!1},o}function tw(e,t,n){var r=qy(6,e,null,t);return r.lanes=n,r}function nw(e,t,n){var r=null!==e.children?e.children:[],o=qy(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=qy(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=xi(0),this.expirationTimes=xi(ei),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=xi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],a=0;a<xo;a++)i.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function iw(e,t,n,r,o,i,a,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|=vo)):n=0,Xr&&(n|=2),qy(3,null,null,n)}(t,i);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 aw,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(O(e))i("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(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=Tc(t);if(1===t.tag){var r=t.type;if(bc(r))return Sc(t,r,n)}return n}function dw(e,t,n,r,o,i,a,s){return iw(e,t,!1,null,0,r,0,i,a)}function pw(e,t,n,r,o,i,a,s,l,u){var c=iw(n,r,!0,e,0,i,0,s,l);c.context=cw(null);var d=c.current,p=jb(),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,Si(e,t,n),zb(e,n)}(c,f,p),c}function fw(e,t,n,r){!function(e,t){if(qr&&"function"==typeof qr.onScheduleFiberRoot)try{qr.onScheduleFiberRoot(Gr,e,t)}catch(n){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",n))}}(t,e);var o=t.current,a=jb(),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,ze&&null!==Fe&&!aw&&(aw=!0,i("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(Fe)||"Unknown"));var u=wp(a,s);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&i("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&&(Fb(c,o,s,a),Sp(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 gw(e,t){hw(e,t);var n=e.alternate;n&&hw(n,t)}function vw(e){var t=Ir(e);return null===t?null:t.stateNode}aw=!1,sw={};var bw=function(e){return null};var yw=function(e){return!1};var ww,xw,Sw,_w,Ew,Tw,kw,Aw,Cw,Ow=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]=Ow(e[r],t,n+1),o)},Rw=function(e,t){return Ow(e,t,0)},Iw=function(e,t,n,r){var o=t[r],i=wt(e)?e.slice():xe({},e);r+1===t.length?(i[n[r]]=i[o],wt(i)?i.splice(o,1):delete i[o]):i[o]=Iw(e[o],t,n,r+1);return i},Dw=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 Iw(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Nw=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],i=wt(e)?e.slice():xe({},e);return i[o]=Nw(e[o],t,n+1,r),i},Pw=function(e,t,n){return Nw(e,t,0,n)},Mw=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Lw(e){var t=Or(e);return null===t?null:t.stateNode}function jw(e){return null}function Vw(){return Fe}ww=function(e,t,n,r){var o=Mw(e,t);if(null!==o){var i=Pw(o.memoizedState,n,r);o.memoizedState=i,o.baseState=i,e.memoizedProps=xe({},e.memoizedProps);var a=cp(e,So);null!==a&&Fb(a,e,So,ei)}},xw=function(e,t,n){var r=Mw(e,t);if(null!==r){var o=Rw(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=xe({},e.memoizedProps);var i=cp(e,So);null!==i&&Fb(i,e,So,ei)}},Sw=function(e,t,n,r){var o=Mw(e,t);if(null!==o){var i=Dw(o.memoizedState,n,r);o.memoizedState=i,o.baseState=i,e.memoizedProps=xe({},e.memoizedProps);var a=cp(e,So);null!==a&&Fb(a,e,So,ei)}},_w=function(e,t,n){e.pendingProps=Pw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=cp(e,So);null!==r&&Fb(r,e,So,ei)},Ew=function(e,t){e.pendingProps=Rw(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=cp(e,So);null!==n&&Fb(n,e,So,ei)},Tw=function(e,t,n){e.pendingProps=Dw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=cp(e,So);null!==r&&Fb(r,e,So,ei)},kw=function(e){var t=cp(e,So);null!==t&&Fb(t,e,So,ei)},Aw=function(e){bw=e},Cw=function(e){yw=e};var $w="function"==typeof reportError?reportError:function(e){console.error(e)};function Fw(e){this._internalRoot=e}function zw(e){this._internalRoot=e}function Uw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Bw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hw(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&i("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."),qu(e)&&(e._reactRootContainer?i("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):i("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."))}zw.prototype.render=Fw.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?i("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Uw(arguments[1])?i("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]&&i("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=vw(t.current);r&&r.parentNode!==n&&i("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)},zw.prototype.unmount=Fw.prototype.unmount=function(){"function"==typeof arguments[0]&&i("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()&&i("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)}),Gu(t)}},zw.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Ri(),n={blockedOn:null,target:e,priority:t},r=0;r<Xi.length&&$i(t,Xi[r].priority);r++);Xi.splice(r,0,n),0===r&&ea(n)}(e)};var Ww,Gw=n.ReactCurrentOwner;function qw(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function Yw(){}function Kw(e,t,n,r,o){Ww(n),function(e,t){null!==e&&"function"!=typeof e&&i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var a,s=n._reactRootContainer;if(s){if("function"==typeof o){var l=o;o=function(){var e=mw(a);l.call(e)}}fw(t,a=s,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=mw(a);i.call(e)}}var a=pw(t,r,e,0,0,!1,0,"",Yw);return e._reactRootContainer=a,Wu(a.current,e),gl(8===e.nodeType?e.parentNode:e),Yb(),a}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,Wu(u.current,e),gl(8===e.nodeType?e.parentNode:e),Yb(function(){fw(t,u,n,r)}),u}(n,t,e,o,r);return mw(a)}Ww=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=vw(e._reactRootContainer.current);t&&t.parentNode!==e&&i("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=qw(e);!(!r||!Ku(r))&&!n&&i("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()&&i("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;Ai=function(e){switch(e.tag){case 3:var t=e.stateNode;if(zi(t)){var n=function(e){return ri(e.pendingLanes)}(t);!function(e,t){0!==t&&(Ei(e,bi(t,So)),zb(e,jr()),(Qv&(Uv|Bv))===zv&&(hb(),Ic()))}(t,n)}break;case c:Yb(function(){var t=cp(e,So);if(null!==t){var n=jb();Fb(t,e,So,n)}}),gw(e,So)}},function(e){Ci=e}(function(e){if(e.tag===c){var t=Yo,n=cp(e,t);if(null!==n)Fb(n,e,t,jb());gw(e,t)}}),function(e){Oi=e}(function(e){if(e.tag===c){var t=Vb(e),n=cp(e,t);if(null!==n)Fb(n,e,t,jb());gw(e,t)}}),function(e){Ri=e}(ji),function(e){Ii=e}(function(e,t){var n=Li;try{return Li=e,t()}finally{Li=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||i("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"),On=function(e,t,n){switch(t){case"input":return void pt(e,n);case"textarea":return void function(e,t){Ot(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&_t(n,!!t.multiple,r,!1)}(e,n)}},Mn=qb,Ln=Yb;var Jw,Zw,ex,tx={usingClientEntryPoint:!1,Events:[Ku,Xu,Qu,Nn,Pn,qb]};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 i("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}),Gr=t.inject(e),qr=t}catch(n){i("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:Sw,overrideProps:_w,overridePropsDeletePath:Ew,overridePropsRenamePath:Tw,setErrorHandler:Aw,setSuspenseHandler:Cw,scheduleUpdate:kw,currentDispatcherRef:ex,findHostInstanceByFiber:Lw,findFiberByHostInstance:Zw||jw,findHostInstancesForRefresh:Hy,scheduleRefresh:Fy,scheduleRoot:zy,setRefreshHandler:Py,getCurrentFiber:Vw,reconcilerVersion:lw}))&&k&&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(!Uw(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||i('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!Uw(e))throw new Error("createRoot(...): Target container is not a DOM element.");Hw(e);var n=!1,r="",a=$w;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===Z&&i("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&&(a=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var s=dw(e,1,0,n,0,r,a);return Wu(s.current,e),gl(8===e.nodeType?e.parentNode:e),new Fw(s)}(e,t)},reactDom_development.findDOMNode=function(e){Xw||(Xw=!0,i("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=Gw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||i("%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.",Le(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=Or(n);if(null===o)return null;if(8&o.mode){var a=Ve(n)||"Component";if(!sw[a]){sw[a]=!0;var s=Fe;try{We(o),8&n.mode?i("%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,a):i("%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,a)}finally{s?We(s):He()}}}return o.stateNode}(e,"findDOMNode")},reactDom_development.flushSync=function(e){return Kb()&&i("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(i("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"),!Bw(t))throw new Error("Target container is not a DOM element.");return qu(t)&&void 0===t._reactRootContainer&&i("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||i('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(!Uw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Hw(e),void 0===t&&i("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=$w;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError));var l=pw(t,null,e,1,0,o,0,a,s);if(Wu(l.current,e),gl(e),r)for(var u=0;u<r.length;u++)Qp(l,r[u]);return new zw(l)}(e,t,n)},reactDom_development.render=function(e,t,n){if(i("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"),!Bw(t))throw new Error("Target container is not a DOM element.");return qu(t)&&void 0===t._reactRootContainer&&i("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,i("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")),!Bw(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(qu(e)&&void 0===e._reactRootContainer&&i("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=qw(e);return t&&!Ku(t)&&i("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,Gu(e)})}),!0}var n=qw(e),r=!(!n||!Ku(n)),o=1===e.nodeType&&Bw(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&i("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=qb,reactDom_development.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(i("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"),!Bw(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,i=t.useLayoutEffect,a=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 i(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]),a(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,i,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{o=e()}catch(t){i=t}}),i)throw i;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 i=function(e,t){return useObserver(function(){return r(e,t)},o)};return i.displayName=e.displayName,isFunctionNameConfigurable&&Object.defineProperty(i,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(i.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&&(i=reactExports.forwardRef(i)),copyStaticProperties(e,i=reactExports.memo(i)),Object.defineProperty(i,"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`."))}}),i}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 ActiveViewModelContext=reactExports.createContext(null),ViewModelsContext=reactExports.createContext(null),ActiveViewModelProvider=ActiveViewModelContext.Provider;var DEFAULT_MAX_REACTION_ITERATIONS=100;function flushPendingReactions(e=DEFAULT_MAX_REACTION_ITERATIONS){const t=getGlobalState();if(!e||t.isRunningReactions||0===t.pendingReactions.length)return;const n=t.inBatch;t.inBatch=0;try{t.isRunningReactions=!0;const n=t.pendingReactions;let r=0;for(;n.length>0;){if(++r===e){n.splice(0);break}const t=n.splice(0);for(let e=0;e<t.length;e++)t[e].runReaction_()}}finally{t.isRunningReactions=!1,t.inBatch=n}}const 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),i=reactExports.useRef(null),a=n?.ctx??{},s=n?.vmConfig?.useReactIds??r?.vmConfig?.useReactIds??viewModelsConfig.useReactIds?reactExports.useId():void 0,l=useValue(()=>{const i=r?.generateViewModelId({...n,ctx:a,VM:e,renderId:s,parentViewModelId:o?.id??null})??n?.id??viewModelsConfig.generateId({...a,renderId:s}),l=r?.get(i);if(l)return l;{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 flushPendingReactions(viewModelsConfig.flushPendingReactions),r?.markToBeAttached(l),l}});useIsomorphicLayoutEffect(()=>{const e=l.id,t=l;return r?()=>{r.detach(e),i.current===t&&(i.current=null)}:()=>{t.unmount(),i.current===t&&(i.current=null)}},[l]),i.current!==l&&(r?r.attach(l):l.mount(),i.current=l),l.setPayload(t??{});const u=n?.vmConfig?.suspendUntil??r?.vmConfig?.suspendUntil??viewModelsConfig.suspendUntil;if(null!=u){const e=u(l);e&&reactExports.use(e)}return l},useCreateViewModelSimple=(e,t)=>{const n=reactExports.useContext(ViewModelsContext),r=reactExports.useContext(ActiveViewModelContext),o=reactExports.useRef(null),i=useValue(()=>{const t=new e;return t.parentViewModel=r,flushPendingReactions(viewModelsConfig.flushPendingReactions),n?.markToBeAttached(t),t});useIsomorphicLayoutEffect(()=>{const e=i.id,t=i;return n?()=>{n.detach(e),o.current===t&&(o.current=null)}:()=>{t.unmount?.(),o.current===t&&(o.current=null)}},[i]),o.current!==i&&(n?n.attach(i):i.mount?.(),o.current=i),i.setPayload?.(t);const a=n?.vmConfig?.suspendUntil??viewModelsConfig.suspendUntil;if(null!=a){const e=a(i);e&&reactExports.use(e)}return i};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 i=r?.(n,e,t)??n;o&&i&&i.$$typeof!==REACT_MEMO_SYMBOL&&(i=observer(i));const a=t.reactHook??viewModelsConfig.reactHook,s=t.getPayload,l=t.fallback??viewModelsConfig.fallbackComponent;let u=(n,r)=>{const o=reactExports.useContext(ViewModelsContext);a?.(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:i&&jsxRuntimeExports.jsx(i,{...c,model:p})}):l&&jsxRuntimeExports.jsx(l,{...n,payload:d})};t.forwardRef&&(u=reactExports.forwardRef(u)),u=observer(u),u.displayName=`ConnectedViewModel(${e.name}->Component)`,t.component=u,t.anchors??=[];const c=t.anchors,d=u;return d.connect=e=>(c.includes(e)||c.push(e),d),d},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.renderId??e.generateId();{const n=e.VM?.name??"";return n?`${n}_${t}`:t}},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:i,...a}=e;if(i&&(t.generateId=i),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,a)}),t},viewModelsConfig=createGlobalConfig({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,useReactIds:!1,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:generateVmId,flushPendingReactions:100,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$1=[[observable.ref,"_isMounted","_isUnmounting"],[computed,"isMounted","isUnmounting","parentViewModel"],[action,"didMount","didUnmount","willUnmount","setPayload"],[action.bound,"mount","unmount"]];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];!1!==this.vmConfig.payloadObservable&&t.push([observable[this.vmConfig.payloadObservable],"_payload"]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push([computed({equals:comparer.structural}),"payload"]):t.push([computed({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed}),"payload"])),applyObservable(this,t,this.vmConfig.observable.viewModels)}vmParams;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(){}willMount(){}mount(){this.willMount(),this.vmConfig.onMount?.(this),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.beginUnmounting(),this.willUnmount(),this.vmConfig.onUnmount?.(this),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount(),this.finalizeUnmount()}didUnmount(){}finalizeUnmount(){this.abortController.abort(),runInAction(()=>{this._isUnmounting=!1})}beginUnmounting(){runInAction(()=>{this._isUnmounting=!0})}hasChild(e,t){if(t){let t=e;for(;t;){if(t.parentViewModel===this)return!0;t=t.parentViewModel}return!1}return e.parentViewModel===this}hasParent(e,t){if(t){let t=this.parentViewModel;for(;t;){if(t===e)return!0;t=t.parentViewModel}return!1}return this.parentViewModel===e}payloadChanged(e,t){}get parentViewModel(){return void 0!==this.vmParams.parentViewModel?this.vmParams.parentViewModel:null==this.vmParams.parentViewModelId?null:this.viewModels?.get(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})}}const baseAnnotations=[[computed,"mountedViewsCount"],[action,"mount","unmount","attachVMConstructor","attach","detach","link","unlink"]];class ViewModelStoreBase{constructor(e){this.config=e,this.viewModels=observable.map([],{deep:!1}),this.linkedAnchorVMClasses=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,baseAnnotations,this.vmConfig.observable.viewModelStores),this.vmConfig.hooks.storeCreate(this)}config;viewModels;linkedAnchorVMClasses;viewModelIdsByClasses;instanceAttachedCount;viewModelsTempHeap;mountingViews;unmountingViews;vmConfig;get mountedViewsCount(){return[...this.instanceAttachedCount.values()].reduce((e,t)=>e+t,0)}processCreateConfig(e){const t=e.anchors??[];this.link(e.VM,e.component,...t)}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,VM:e.VM,renderId:e.renderId})}link(e,...t){t.forEach(t=>{t&&!this.linkedAnchorVMClasses.has(t)&&this.linkedAnchorVMClasses.set(t,e)})}unlink(...e){e.forEach(e=>{e&&this.linkedAnchorVMClasses.has(e)&&this.linkedAnchorVMClasses.delete(e)})}getIds(e){if(!e)return[];if("string"==typeof e)return[e];const t=this.linkedAnchorVMClasses.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))}finalizeMount(e){runInAction(()=>{this.mountingViews.delete(e)})}mount(e){const t=this.getOrCreateVmId(e);this.mountingViews.add(t);try{const n=e.mount?.();if(n instanceof Promise)return n.then(()=>{}).finally(()=>{this.finalizeMount(t)});this.finalizeMount(t)}catch(n){throw this.finalizeMount(t),n}}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)}attach(e){const t=this.getOrCreateVmId(e),n=this.instanceAttachedCount.get(t)??0;if(this.instanceAttachedCount.set(t,n+1),!this.viewModels.has(t)){this.viewModels.set(t,e),this.attachVMConstructor(e);try{const n=this.mount(e);if(n instanceof Promise)return n.finally(()=>{this.viewModelsTempHeap.delete(t)})}catch(r){throw this.viewModelsTempHeap.delete(t),r}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&&(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.linkedAnchorVMClasses.clear(),this.viewModelIdsByClasses.clear(),this.instanceAttachedCount.clear(),this.mountingViews.clear(),this.unmountingViews.clear(),this.viewModelsTempHeap.clear()}}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)})})}}var callFunction=(e,...t)=>"function"==typeof e?e(...t):e,KeyboardHandler$1=class{abortController;activateStrategy;localActions;isActivated;get actions(){return callFunction(this.localActions??this.config.actions)??[]}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()}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,...this.config.listenerOpts?.focus}),e.addEventListener("blur",this.deactivate,{signal:t.signal,...this.config.listenerOpts?.blur})):(t.abort(),t=new LinkedAbortController(this.abortController.signal))},{fireImmediately:!0,signal:this.abortController.signal})}globalThis.addEventListener("keydown",this.handleKeyboardClick,{signal:this.abortController.signal,...this.config.listenerOpts?.keydown}),"keyclick"===e.activateStrategy?.type&&(globalThis.addEventListener("click",this.activate,{signal:this.abortController.signal,...this.config.listenerOpts?.click}),globalThis.addEventListener("mousemove",this.activate,{signal:this.abortController.signal,...this.config.listenerOpts?.mousemove}))}},Storage=class{abortController;abortSignal;constructor(e){this.config=e,this.abortController=new LinkedAbortController(e?.abortSignal),this.abortSignal=this.abortController.signal,makeObservable(this)}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 i=autorun(()=>{const o=e[t];this.set({...n,key:r,value:o})},{signal:this.abortSignal});return this.abortSignal.addEventListener("abort",i),()=>{this.abortSignal.removeEventListener("abort",i),i()}}destroy(){this.abortController.abort()}},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();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"})),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};var 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"),i=Symbol.for("react.profiler"),a=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 g(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 v;function b(e){return e.displayName||"Context"}function y(e){if(null==e)return null;if("number"==typeof e.tag&&g("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 i: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 a: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(v){return null}}return null}v=Symbol.for("react.module.reference");var w,x,S,_,E,T,k,A=Object.assign,C=0;function O(){}O.__reactDisabledLog=!0;var R,I=h.ReactCurrentDispatcher;function D(e,t,n){if(void 0===R)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return"\n"+R+e}var N,P=!1,M="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||P)return"";var n,r=N.get(e);if(void 0!==r)return r;P=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=I.current,I.current=null,function(){if(0===C){w=console.log,x=console.info,S=console.warn,_=console.error,E=console.group,T=console.groupCollapsed,k=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}C++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(m){n=m}Reflect.construct(e,[],a)}else{try{a.call()}catch(m){n=m}e.call(a.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&&N.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{P=!1,I.current=o,function(){if(0===--C){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:w}),info:A({},e,{value:x}),warn:A({},e,{value:S}),error:A({},e,{value:_}),group:A({},e,{value:E}),groupCollapsed:A({},e,{value:T}),groupEnd:A({},e,{value:k})})}C<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?D(p):"";return"function"==typeof e&&N.set(e,f),f}function j(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return D(e);switch(e){case u:return D("Suspense");case c:return D("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return L(e.render,!1);case d:return j(e.type,t,n);case p:var o=e,i=o._payload,a=o._init;try{return j(a(i),t,n)}catch(s){}}return""}N=new M;var V=Object.prototype.hasOwnProperty,$={},F=h.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,n=j(e.type,e._source,t?t.type:null);F.setExtraStackFrame(n)}else F.setExtraStackFrame(null)}var U=Array.isArray;function B(e){return U(e)}function H(e){return""+e}function W(e){if(function(e){try{return H(e),!1}catch(t){return!0}}(e))return g("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)),H(e)}var G,q,Y,K=h.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};Y={};function Q(e,n,r,o,i){var a,s={},l=null,u=null;for(a in void 0!==r&&(W(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)&&(W(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]||(g('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,i)),n)V.call(n,a)&&!X.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){G||(G=!0,g("%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(){q||(q=!0,g("%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,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_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:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,o,K.current,s)}var J,Z=h.ReactCurrentOwner,ee=h.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=j(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 ie(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),g('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 ae(e,t){if("object"==typeof e)if(B(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&ie(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 i,a=o.call(e);!(i=a.next()).done;)ne(i.value)&&ie(i.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 i=Function.call.bind(V);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(z(o),g("%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,a,typeof s),z(null)),s instanceof Error&&!(s.message in $)&&($[s.message]=!0,z(o),g("Failed %s type: %s",n,s.message),z(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!J){J=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("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===i||e===o||e===u||e===c||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||void 0!==e.getModuleId)}(e);if(!x){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(b);S+=E||re(),null===e?_="null":B(e)?_="array":void 0!==e&&e.$$typeof===t?(_="<"+(y(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,g("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 T=Q(e,n,m,b,w);if(null==T)return T;if(x){var k=n.children;if(void 0!==k)if(h)if(B(k)){for(var A=0;A<k.length;A++)ae(k[A],e);Object.freeze&&Object.freeze(k)}else g("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 C=y(e),O=Object.keys(n).filter(function(e){return"key"!==e}),R=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!le[C+R])g('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,C,O.length>0?"{"+O.join(": ..., ")+": ...}":"{}",C),le[C+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){te(e),g("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),g("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(T):se(T),T};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 i=e.length;for(t=0;t<i;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="",i=arguments.length;n<i;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 i=e.join(CLASS_PART_SEPARATOR);return t.validators.find(({validator:e})=>e(i))?.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,i)=>{n.set(o,i),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,i=0;for(let l=0;l<e.length;l++){let a=e[l];if(0===r&&0===o){if(a===MODIFIER_SEPARATOR){t.push(e.slice(i,l)),i=l+MODIFIER_SEPARATOR_LENGTH;continue}if("/"===a){n=l;continue}}"["===a?r++:"]"===a?r--:"("===a?o++:")"===a&&o--}const a=0===t.length?e:e.substring(i),s=stripImportantModifier(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>i?n-i: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:i}=t,a=[],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 g=i(c).join(":"),v=d?g+IMPORTANT_MODIFIER:g,b=v+h;if(a.includes(b))continue;a.push(b);const y=o(h,m);for(let n=0;n<y.length;++n){const e=y[n];a.push(v+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,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=createConfigUtils(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=mergeClassList(e,n);return o(e,i),i}return function(){return i(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"),i=fromTheme("leading"),a=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"),g=fromTheme("aspect"),v=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()],S=()=>[isInteger,"none","subgrid",isArbitraryVariable,isArbitraryValue],_=()=>["auto",{span:["full",isInteger,isArbitraryVariable,isArbitraryValue]},isInteger,isArbitraryVariable,isArbitraryValue],E=()=>[isInteger,"auto",isArbitraryVariable,isArbitraryValue],T=()=>["auto","min","max","fr",isArbitraryVariable,isArbitraryValue],k=()=>["auto",...w()],A=()=>[isFraction,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],C=()=>[e,isArbitraryVariable,isArbitraryValue],O=()=>["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]}],I=()=>[isPercent,isArbitraryVariableLength,isArbitraryLength],D=()=>["","none","full",u,isArbitraryVariable,isArbitraryValue],N=()=>["",isNumber,isArbitraryVariableLength,isArbitraryLength],P=()=>[isNumber,isPercent,isArbitraryVariablePosition,isArbitraryPosition],M=()=>["","none",m,isArbitraryVariable,isArbitraryValue],L=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],j=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],V=()=>[isNumber,isArbitraryVariable,isArbitraryValue],$=()=>[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,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,...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":S()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":S()}],"row-start-end":[{row:_()}],"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":T()}],"auto-rows":[{"auto-rows":T()}],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: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":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:A()}],w:[{w:[s,"screen",...A()]}],"min-w":[{"min-w":[s,"screen","none",...A()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...A()]}],h:[{h:["screen","lh",...A()]}],"min-h":[{"min-h":["screen","lh","none",...A()]}],"max-h":[{"max-h":["screen","lh",...A()]}],"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:[i,...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:C()}],"text-color":[{text:C()}],"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:C()}],"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:O()}],"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:C()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"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:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"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:C()}],shadow:[{shadow:["","none",c,isArbitraryVariableShadow,isArbitraryShadow]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",d,isArbitraryVariableShadow,isArbitraryShadow]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[isNumber,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",p,isArbitraryVariableShadow,isArbitraryShadow]}],"text-shadow-color":[{"text-shadow":C()}],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":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[isArbitraryVariable,isArbitraryValue]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"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":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"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:M()}],brightness:[{brightness:[isNumber,isArbitraryVariable,isArbitraryValue]}],contrast:[{contrast:[isNumber,isArbitraryVariable,isArbitraryValue]}],"drop-shadow":[{"drop-shadow":["","none",f,isArbitraryVariableShadow,isArbitraryShadow]}],"drop-shadow-color":[{"drop-shadow":C()}],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",v,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:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"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:$()}],"translate-x":[{"translate-x":$()}],"translate-y":[{"translate-y":$()}],"translate-z":[{"translate-z":$()}],"translate-none":["translate-none"],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}],"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",...C()]}],"stroke-w":[{stroke:[isNumber,isArbitraryVariableLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:["none",...C()]}],"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));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(i){}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,i,a,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,i=o;return r=o=void 0,u=t,a=e.apply(i,n)}function m(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=i}function h(){var e=now();if(m(e))return g(e);s=setTimeout(h,function(e){var n=t-(e-l);return d?nativeMin(n,i-(e-u)):n}(e))}function g(e){return s=void 0,p&&r?f(e):(r=o=void 0,a)}function v(){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):a}(l);if(d)return clearTimeout(s),s=setTimeout(h,t),f(l)}return void 0===s&&(s=setTimeout(h,t)),a}return t=toNumber(t)||0,isObject(n)&&(c=!!n.leading,i=(d="maxWait"in n)?nativeMax(toNumber(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),v.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=o=s=void 0},v.flush=function(){return void 0===s?a:g(now())},v}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})}const 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"in globalThis.navigator&&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 getViewport=()=>globalThis.visualViewport,viewportInfoKeys=["width","height","offsetLeft","offsetTop","pageLeft","pageTop","scale"];viewportInfoKeys.reduce((e,t)=>(Object.defineProperty(e,t,{get(){const n=getViewport();return n?(e._atom||(e._atom=createEnhancedAtom("viewportInfo",e=>{n.addEventListener("resize",e.reportChanged),n.addEventListener("scroll",e.reportChanged)},e=>{n.removeEventListener("resize",e.reportChanged),n.removeEventListener("scroll",e.reportChanged)})),e._atom.reportObserved(),n[t]):"width"===t?globalThis.innerWidth??0:"height"===t?globalThis.innerHeight??0:"scale"===t?1:0}}),e),{get isSupported(){return Boolean(getViewport())},get isKeyboardLikeOverlay(){const e=getViewport()?.height??globalThis.innerHeight??0;return(globalThis.innerHeight??e)-e>120}});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",vmsCount="vmsCount_HhX1W",keyboardHint="keyboardHint_v8eo0",css$5={vmButton:vmButton,dragging:dragging,opened:opened,isConnected:isConnected,vmsCount:vmsCount,keyboardHint:keyboardHint};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:i}=this.fixPosition(n,r);e.style.left=`${o}px`,e.style.top=`${i}px`,e.addEventListener("mousedown",n=>{t.isDragging=!0,t.hasMoved=!1;const r=e.getBoundingClientRect();t.offsetX=r.left-n.clientX,t.offsetY=r.top-n.clientY,t.startX=r.left,t.startY=r.top,e.classList.add(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: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",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,o="string"==typeof e?+e.replace("px",""):e,i="string"==typeof t?+t.replace("px",""):t;return{x:clamp(o||0,12,n),y:clamp(i||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",{className:css$5.vmsCount,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),jsxDevRuntimeExports.jsxDEV("span",{className:css$5.keyboardHint,children:"Ctrl+F12"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:25,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 i;return t.forEach((n,a)=>{const{icon:s,value:l}=n,u=e===l;u&&(i=a),o.push(jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$4.option,{[css$4.active]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].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)},a,!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":i}},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,i,a,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,g=r.axis[r.draggedAxis].scrollbar,v=null!==(a=null===(i=r.contentWrapperEl)||void 0===i?void 0:i[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==a?a: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)-g.size-y:y)/(h-g.size)*(v-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),i=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==i.left,isScrollingToNegative:i.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,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,i=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 u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&l>t,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&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],i=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=i/o;return r=Math.max(~~(a*i),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 i=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&i.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),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/(a-l),d=~~((s-i.size)*c);d="x"===t&&this.isRtl?-d+(s-i.size):d,i.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),i=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-((null===(n=i.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,i,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 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!==(i=null===(o=this.elStyles)||void 0===o?void 0:o[this.axis[t].sizeAttr])&&void 0!==i?i:"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(){a.contentWrapperEl&&(-1===p?d>f&&(d-=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(m)):d<f&&(d+=40,a.contentWrapperEl[a.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"),i=document.createElement("div");addClasses(o,this.classNames.track),addClasses(i,this.classNames.scrollbar),o.appendChild(i),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){try{return collectKeys(e)}catch{return[]}}function collectKeys(e){const t=new Set(Object.keys(e));let n=Object.getPrototypeOf(e);for(;n&&n!==globalThis.Object.prototype;){try{const e=Object.getOwnPropertyDescriptors(n);for(const n in e)ignoredKeys.has(n)||t.add(n)}catch{break}let e;try{e=Object.getPrototypeOf(n)}catch{break}if(ignoredPrototypes.has(e))break;n=e}return[...t]}const INACCESSIBLE=Symbol("mobx-view-model-devtools/inaccessible"),INACCESSIBLE_DISPLAY_LABEL="< Inaccessible >";function isInaccessible(e){return e===INACCESSIBLE}function runSafely(e,t){try{return e()}catch{return t}}function safeGet(e,t){if(null!=e)try{return Reflect.get(e,t)}catch{return INACCESSIBLE}}function safeTypeof(e){if(isInaccessible(e))return"object";try{return typeof e}catch{return"object"}}function safeObjectTag(e){if(isInaccessible(e))return"[object Inaccessible]";try{return Object.prototype.toString.call(e)}catch{return"[object Inaccessible]"}}function safeConstructorName(e){const t=runSafely(()=>e?.constructor?.name,null);if(t)return t;const n=safeObjectTag(e),r=/^\[object (.+)\]$/.exec(n);return r?.[1]&&"Object"!==r[1]?r[1]:"Object"}function isRestrictedObject(e){if(isInaccessible(e))return!0;if(!safeIsObjectLike(e))return!1;if(runSafely(()=>e?.constructor?.name,null))return!1;return!runSafely(()=>(String(e),!0),!1)}function safeIsFunction(e){return"function"===safeTypeof(e)}function safeIsObjectLike(e){if(null===e||isInaccessible(e))return!1;const t=safeTypeof(e);return"object"===t||"function"===t}function safeObjectKeys(e){return isInaccessible(e)?[]:runSafely(()=>Object.keys(e),[])}function safeHasOwn(e,t){return!isInaccessible(e)&&runSafely(()=>Object.hasOwn(e,t),!1)}function safeString(e){return isInaccessible(e)?"[Inaccessible]":runSafely(()=>String(e),"[Inaccessible]")}function safeFunctionLength(e){return runSafely(()=>e.length,0)}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,"instanceClassName"),computed(this,"isInaccessibleDisplay"),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(){if(this.dataWatchAtom.reportObserved(),this.property)return safeGet(this.parent.data,this.property)}get descriptor(){if(!this.property)return null;try{return Object.getOwnPropertyDescriptor(this.parent.data,this.property)}catch{return null}}get dataType(){return safeTypeof(this.data)}get stringifiedDataType(){return safeObjectTag(this.data)}get instanceClassName(){return safeConstructorName(this.data)}get isInaccessibleDisplay(){return isRestrictedObject(this.data)}get inaccessibleDisplayLabel(){return INACCESSIBLE_DISPLAY_LABEL}get type(){const e=this.data;if(isRestrictedObject(e))return"primitive";if(Array.isArray(e))return"array";if(safeIsFunction(e))return"function";if(safeIsObjectLike(e)){const t=safeConstructorName(e);return t&&"Object"!==t?"instance":"object"}return this.stringifiedDataType.startsWith("[object ")&&null!==e&&"object"===safeTypeof(e)&&safeHasOwn(e,"constructor")?"instance":"primitive"}get children(){let e=[];if("array"===this.type)e=safeObjectKeys(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=safeObjectKeys(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(){if(isInaccessible(this.data))return INACCESSIBLE_DISPLAY_LABEL;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`"${safeString(this.data)}"`}return safeString(this.data)}}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 i=o.cache??e.anyCache,a=`${PropertyListItem.createKey(o,t)}/list-item`;let s=i.get(a);return s||(s=new PropertyListItem(e,t,n,r,o),i.set(a,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",searchIsActive="searchIsActive_cJutI",vmContentControlPanelActions="vmContentControlPanelActions_lONbA",hiearchyToggleButton="hiearchyToggleButton_0FTG-",vmContentInput="vmContentInput_29GM1",inputGhost="inputGhost_J-ksi",inputGhostTyped="inputGhostTyped_UxVAJ",inputGhostSuggestion="inputGhostSuggestion_Ys7F3",inputSuggestions="inputSuggestions_5btGB",inputSuggestionsList="inputSuggestionsList_3Gl-h",inputSuggestionItem="inputSuggestionItem_GcQXp",inputSuggestionOwner="inputSuggestionOwner_cMrNk",extras="extras_THr24",inputSuggestionValue="inputSuggestionValue_6fYPI",selected="selected_OPRUb",inputWithSuggestion="inputWithSuggestion_C9PIe",filled="filled_6JZa0",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,searchIsActive:searchIsActive,vmContentControlPanelActions:vmContentControlPanelActions,hiearchyToggleButton:hiearchyToggleButton,vmContentInput:vmContentInput,inputGhost:inputGhost,inputGhostTyped:inputGhostTyped,inputGhostSuggestion:inputGhostSuggestion,inputSuggestions:inputSuggestions,inputSuggestionsList:inputSuggestionsList,inputSuggestionItem:inputSuggestionItem,inputSuggestionOwner:inputSuggestionOwner,extras:extras,inputSuggestionValue:inputSuggestionValue,selected:selected,inputWithSuggestion:inputWithSuggestion,filled:filled,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",inaccessible="inaccessible_YWXKM",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,inaccessible:inaccessible,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),"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)),{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(i){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:i,HTMLTemplateElement:a,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"),g=lookupGetter(m,"remove"),v=lookupGetter(m,"nextSibling"),b=lookupGetter(m,"childNodes"),y=lookupGetter(m,"parentNode");if("function"==typeof a){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,x="";const{implementation:S,createNodeIterator:_,createDocumentFragment:E,getElementsByTagName:T}=n,{importNode:k}=r;let A=_createHooksMap();t.isSupported="function"==typeof entries&&"function"==typeof y&&S&&void 0!==S.createHTMLDocument;const{MUSTACHE_EXPR:C,ERB_EXPR:O,TMPLIT_EXPR:R,DATA_ATTR:I,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:M}=EXPRESSIONS;let{IS_ALLOWED_URI:L}=EXPRESSIONS,j=null;const V=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let $=null;const F=addToSet({},[...html,...svg,...mathMl,...xml]);let z=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}})),U=null,B=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,Y=!0,K=!1,X=!0,Q=!1,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!0,oe=!1;let ie=!0,ae=!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",ge="http://www.w3.org/1999/xhtml";let ve=ge,be=!1,ye=null;const we=addToSet({},[me,he,ge],stringToString);let xe=addToSet({},["mi","mo","mn","ms","mtext"]),Se=addToSet({},["annotation-xml"]);const _e=addToSet({},["title","style","font","a","script"]);let Ee=null;const Te=["application/xhtml+xml","text/html"];let ke=null,Ae=null;const Ce=n.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},Re=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ae||Ae!==e){if(e&&"object"==typeof e||(e={}),e=clone(e),Ee=-1===Te.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ke="application/xhtml+xml"===Ee?stringToString:stringToLowerCase,j=objectHasOwnProperty(e,"ALLOWED_TAGS")?addToSet({},e.ALLOWED_TAGS,ke):V,$=objectHasOwnProperty(e,"ALLOWED_ATTR")?addToSet({},e.ALLOWED_ATTR,ke):F,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,ke):fe,ce=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):ue,U=objectHasOwnProperty(e,"FORBID_TAGS")?addToSet({},e.FORBID_TAGS,ke):clone({}),B=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,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,ie=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,L=e.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,ve=e.NAMESPACE||ge,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,Se=e.HTML_INTEGRATION_POINTS||Se,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),K&&(G=!1),te&&(ee=!0),se&&(j=addToSet({},text),$=[],!0===se.html&&(addToSet(j,html$1),addToSet($,html)),!0===se.svg&&(addToSet(j,svg$1),addToSet($,svg),addToSet($,xml)),!0===se.svgFilters&&(addToSet(j,svgFilters),addToSet($,svg),addToSet($,xml)),!0===se.mathMl&&(addToSet(j,mathMl$1),addToSet($,mathMl),addToSet($,xml))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?H.tagCheck=e.ADD_TAGS:(j===V&&(j=clone(j)),addToSet(j,e.ADD_TAGS,ke))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?H.attributeCheck=e.ADD_ATTR:($===F&&($=clone($)),addToSet($,e.ADD_ATTR,ke))),e.ADD_URI_SAFE_ATTR&&addToSet(pe,e.ADD_URI_SAFE_ATTR,ke),e.FORBID_CONTENTS&&(le===ue&&(le=clone(le)),addToSet(le,e.FORBID_CONTENTS,ke)),ie&&(j["#text"]=!0),Q&&addToSet(j,["html","head","body"]),j.table&&(addToSet(j,["tbody"]),delete U.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),Ae=e}},Ie=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),De=addToSet({},[...mathMl$1,...mathMlDisallowed]),Ne=function(e){arrayPush(t.removed,{element:e});try{y(e).removeChild(e)}catch(n){g(e)}},Pe=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{Ne(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&&ve===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=w?w.createHTML(e):e;if(ve===ge)try{t=(new p).parseFromString(o,Ee)}catch(a){}if(!t||!t.documentElement){t=S.createDocument(ve,"template",null);try{t.documentElement.innerHTML=be?x:o}catch(a){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(n.createTextNode(r),i.childNodes[0]||null),ve===ge?T.call(t,Q?"html":"body")[0]:Q?t.documentElement:i},Le=function(e){return _.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},je=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 $e(e,n,r){arrayForEach(e,e=>{e.call(t,n,r,Ae)})}const Fe=function(e){let n=null;if($e(A.beforeSanitizeElements,e,null),je(e))return Ne(e),!0;const r=ke(e.nodeName);if($e(A.uponSanitizeElement,e,{tagName:r,allowedTags:j}),X&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&regExpTest(/<[/\w!]/g,e.innerHTML)&&regExpTest(/<[/\w!]/g,e.textContent))return Ne(e),!0;if(e.nodeType===NODE_TYPE.progressingInstruction)return Ne(e),!0;if(X&&e.nodeType===NODE_TYPE.comment&&regExpTest(/<[/\w]/g,e.data))return Ne(e),!0;if(!(H.tagCheck instanceof Function&&H.tagCheck(r))&&(!j[r]||U[r])){if(!U[r]&&Ue(r)){if(z.tagNameCheck instanceof RegExp&&regExpTest(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}if(ie&&!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,v(e))}}}return Ne(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:ve,tagName:"template"});const n=stringToLowerCase(e.tagName),r=stringToLowerCase(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===he?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Ie[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===he?"math"===n&&Se[r]:Boolean(De[n]):e.namespaceURI===ge?!(t.namespaceURI===he&&!Se[r])&&!(t.namespaceURI===me&&!xe[r])&&!De[n]&&(_e[n]||!Ie[n]):!("application/xhtml+xml"!==Ee||!ye[e.namespaceURI]))}(e)?(Ne(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([C,O,R],e=>{n=stringReplace(n,e," ")}),e.textContent!==n&&(arrayPush(t.removed,{element:e.cloneNode()}),e.textContent=n)),$e(A.afterSanitizeElements,e,null),!1):(Ne(e),!0)},ze=function(e,t,r){if(re&&("id"===t||"name"===t)&&(r in n||r in Ce))return!1;if(G&&!B[t]&&regExpTest(I,t));else if(W&&regExpTest(D,t));else if(H.attributeCheck instanceof Function&&H.attributeCheck(t,e));else if(!$[t]||B[t]){if(!(Ue(e)&&(z.tagNameCheck instanceof RegExp&&regExpTest(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&regExpTest(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t,e))||"is"===t&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&regExpTest(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r))))return!1}else if(pe[t]);else if(regExpTest(L,stringReplace(r,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf(r,"data:")||!ce[e]){if(q&&!regExpTest(N,stringReplace(r,P,"")));else if(r)return!1}else;return!0},Ue=function(e){return"annotation-xml"!==e&&stringMatch(e,M)},Be=function(e){$e(A.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||je(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$,forceKeepAttr:void 0};let o=n.length;for(;o--;){const a=n[o],{name:s,namespaceURI:l,value:u}=a,c=ke(s),d=u;let p="value"===s?d:stringTrim(d);if(r.attrName=c,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,$e(A.uponSanitizeAttribute,e,r),p=r.attrValue,!oe||"id"!==c&&"name"!==c||(Pe(s,e),p="user-content-"+p),X&&regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i,p)){Pe(s,e);continue}if("attributename"===c&&stringMatch(p,"href")){Pe(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Pe(s,e);continue}if(!Y&&regExpTest(/\/>/i,p)){Pe(s,e);continue}K&&arrayForEach([C,O,R],e=>{p=stringReplace(p,e," ")});const m=ke(e.nodeName);if(ze(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),je(e)?Ne(e):arrayPop(t.removed)}catch(i){Pe(s,e)}}else Pe(s,e)}$e(A.afterSanitizeAttributes,e,null)},He=function e(t){let n=null;const r=Le(t);for($e(A.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)$e(A.uponSanitizeShadowNode,n,null),Fe(n),Be(n),n.content instanceof i&&e(n.content);$e(A.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,a=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||Re(n),t.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=ke(e.nodeName);if(!j[t]||U[t])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)o=Me("\x3c!----\x3e"),a=o.ownerDocument.importNode(e,!0),a.nodeType===NODE_TYPE.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);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&&Ne(o.firstChild);const c=Le(ae?e:o);for(;l=c.nextNode();)Fe(l),Be(l),l.content instanceof i&&He(l.content);if(ae)return e;if(ee){if(te)for(u=E.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return($.shadowroot||$.shadowrootmode)&&(u=k.call(r,u,!0)),u}let d=Q?o.outerHTML:o.innerHTML;return Q&&j["!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([C,O,R],e=>{d=stringReplace(d,e," ")}),w&&ne?w.createHTML(d):d},t.setConfig=function(){Re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},t.clearConfig=function(){Ae=null,J=!1},t.isValidAttribute=function(e,t,n){Ae||Re({});const r=ke(e),o=ke(t);return ze(r,o,n)},t.addHook=function(e,t){"function"==typeof t&&arrayPush(A[e],t)},t.removeHook=function(e,t){if(void 0!==t){const n=arrayLastIndexOf(A[e],t);return-1===n?void 0:arraySplice(A[e],n,1)[0]}return arrayPop(A[e])},t.removeHooks=function(e){A[e]=[]},t.removeAllHooks=function(){A=_createHooksMap()},t}createDOMPurify();const skipEvent=e=>(e.preventDefault(),e.stopPropagation(),!1),FunctionPropertyContent=observer(({item:e})=>{const t=[...Array(safeFunctionLength(e.data))].map((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.isInaccessibleDisplay?e.inaccessibleDisplayLabel:e.instanceClassName;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:15,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:14,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:19,columnNumber:9},void 0),e.isExpanded&&!e.isInaccessibleDisplay&&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:20,columnNumber:60},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:12,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.isInaccessibleDisplay?e.inaccessibleDisplayLabel: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.inaccessible]:t.isInaccessibleDisplay,[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),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),requestAnimationFrame(()=>{this.payload.devtools.searchEngine.focusInput()}))}})),__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),i=Math.min(this.payload.devtools.listItems.length,n+r+BUFFER_SIZE);this.startIndex===o&&this.endIndex===i||runInAction(()=>{this.startIndex=o,this.endIndex=i})}),__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:[...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:cx(css$2.vmContentControlPanel,{[css$2.searchIsActive]:o.searchEngine.isActive}),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:53,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:67,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:52,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:92,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:95,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:98,columnNumber:19},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:94,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,onFocus:o.searchEngine.handleSearchInputFocus,onBlur:o.searchEngine.handleSearchInputBlur,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:103,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:123,columnNumber:17},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:122,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:86,columnNumber:13},void 0),o.searchEngine.shouldShowSuggestions&&jsxDevRuntimeExports.jsxDEV("div",{className:css$2.inputSuggestions,"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:128,columnNumber:17},void 0),jsxDevRuntimeExports.jsxDEV("div",{className:css$2.inputSuggestionsList,children:o.searchEngine.suggestionItems.map((e,t)=>jsxDevRuntimeExports.jsxDEV("div",{onMouseEnter:()=>{o.searchEngine.selectSuggestionAtIndex(t)},onMouseDown:n=>{n.preventDefault(),o.searchEngine.applySuggestionFromClick(e,t)},className:cx(css$2.inputSuggestionItem,t===o.searchEngine.selectedSuggestionIndex&&css$2.selected),children:[!o.searchEngine.isNestedSearch&&jsxDevRuntimeExports.jsxDEV("span",{className:`${css$2.inputSuggestionOwner} ${css$2[e.owner.type]}`,children:e.owner.name},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:154,columnNumber:27},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$2.inputSuggestionValue,children:e.value},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:160,columnNumber:25},void 0)]},`${e.owner.key}/${e.value}`,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:134,columnNumber:23},void 0))},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:131,columnNumber:17},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:127,columnNumber:15},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:175,columnNumber:11},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:171,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","Meta+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,searchTextToSearch:observable.ref,selectedSuggestionIndex:observable.ref,isSearchInputFocused:observable.ref,isSuggestionsDismissed:observable.ref,selectedPathOwnerKey:observable.ref,selectedPathSegment:observable.ref,formattedSearchText:computed,segments:computed.struct,endsWithDot:computed,isNestedSearch:computed,isActive:computed,isSearchTextDebouncing:computed,shouldShowSuggestions:computed,suggestionItems:computed.struct,selectedSuggestion:computed,suggestionSuffix:computed,selectSuggestionAtIndex:action,applySuggestion:action,applySuggestionFromClick:action,handleSearchInput:action,handleSearchInputFocus:action,handleSearchInputBlur:action,handleKeyDown:action,resetSearch:action})}searchInputRef;searchText="";searchTextToSearch="";selectedSuggestionIndex=0;isSearchInputFocused=!1;isSuggestionsDismissed=!1;selectedPathOwnerKey=null;selectedPathSegment=null;searchCacheKey="";isSearching=!1;searchTextToSearchTimeout=null;scrollToSearchMatchTimeout=null;static searchDebounceMs=150;static itemHeight=22;get formattedSearchText(){return this.searchTextToSearch.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.searchTextToSearch.trim().endsWith(".")}get isNestedSearch(){return this.endsWithDot||this.segments.length>1}get isActive(){return this.formattedSearchText.length>0}get isSearchTextDebouncing(){return this.searchText!==this.searchTextToSearch}get shouldShowSuggestions(){return!0}get suggestionItems(){return this.isSearchTextDebouncing&&!this.searchText.includes(".")?[]:this.buildSuggestionItemsForText(this.getActiveSearchText())}getActiveSearchText(){return this.searchText.includes(".")?this.searchText:this.searchTextToSearch}buildSuggestionItemsForText(e){const t=e.toLowerCase().trim();if(!t)return[];const n=t.split("."),r=""===n[n.length-1]?n.slice(0,-1):n;if(0===r.length)return[];const o=e.trim().endsWith("."),i=o?"":r[r.length-1];if(!o&&!i)return[];const a=this.config.getRootItems(),s=o?r:r.slice(0,-1),l=this.getCandidatePropsAtDepth(a,s),u=new Map,c=new Set;for(const m of l){const e=m.searchData.property,t=m.property??"",n=this.getOwnerInfo(m),r=`${n.key}/${e}`;if(e.startsWith(i)&&e.length>=i.length){if(c.has(r))continue;c.add(r);const e=u.get(n.name)??[];e.push({value:t,suffix:t.slice(i.length),owner:n}),u.set(n.name,e)}}const d=[],p=[...u.values()];let f=0;for(;d.length<10;){let e=!1;for(const t of p){const n=t[f];if(n&&(d.push(n),e=!0,d.length>=10))return d}if(!e)break;f++}return d}get selectedSuggestion(){if(0===this.suggestionItems.length)return null;const e=Math.min(this.selectedSuggestionIndex,this.suggestionItems.length-1);return this.suggestionItems[e]??null}get suggestionSuffix(){return this.selectedSuggestion?.suffix??""}selectSuggestionAtIndex=e=>{e<0||e>=this.suggestionItems.length||(this.selectedSuggestionIndex=e,this.isSuggestionsDismissed=!1)};applySuggestion=(e,t)=>{this.clearSearchDebounce();const n=this.searchText.includes("."),r=this.searchText+e.suffix;this.searchText=r,this.searchTextToSearch=r,this.selectedSuggestionIndex=0,this.isSuggestionsDismissed=t?.dismissSuggestions??!1;const o=n?this.getFirstPathSegment(r):void 0;t?.commitOwner?this.commitSuggestionOwner(e,o):n?this.selectedPathOwnerKey||this.commitSuggestionOwner(e,o):this.commitSuggestionOwner(e),this.searchInputRef.current?.focus(),this.scheduleScrollToFirstSearchMatch()};applySuggestionFromClick=(e,t)=>{this.selectSuggestionAtIndex(t),this.applySuggestion(e,{commitOwner:!0})};handleSearchInput=e=>{const t=this.searchText,n=this.selectedSuggestion;this.searchText=e.target.value,this.isSuggestionsDismissed=!1,this.handlePathOwnerSelectionFromInput(t,this.searchText,n),this.selectedSuggestionIndex=0,this.scheduleSearchTextDebounce()};handleSearchInputFocus=e=>{this.isSearchInputFocused=!0,this.isSuggestionsDismissed=!1};handleSearchInputBlur=e=>{this.isSearchInputFocused=!1};handleKeyDown=e=>"Escape"===e.key?(e.preventDefault(),e.stopPropagation(),void(this.isSuggestionsDismissed=!0)):"ArrowDown"===e.key&&this.suggestionItems.length>0?(e.preventDefault(),void(this.selectedSuggestionIndex=(this.selectedSuggestionIndex+1)%this.suggestionItems.length)):"ArrowUp"===e.key&&this.suggestionItems.length>0?(e.preventDefault(),void(this.selectedSuggestionIndex=(this.selectedSuggestionIndex-1+this.suggestionItems.length)%this.suggestionItems.length)):void("Tab"!==e.key&&"Enter"!==e.key||!this.selectedSuggestion||(e.preventDefault(),this.applySuggestion(this.selectedSuggestion,{dismissSuggestions:"Enter"===e.key})));commitSuggestionOwner(e,t){this.selectedPathOwnerKey=e.owner.key,this.selectedPathSegment=t??e.value.toLowerCase().trim()}handlePathOwnerSelectionFromInput(e,t,n){const r=t.endsWith(".")&&t===`${e}.`,o=t.includes(".")&&!e.includes(".");if(r||o){const o=this.getFirstPathSegment(r?e:t);if(this.selectedPathOwnerKey&&this.selectedPathSegment===o)return this.searchTextToSearch=t,void this.clearSearchDebounce();const i=r&&n&&n.value.toLowerCase()===o?n:this.resolvePathOwnerSuggestion(o,this.selectedSuggestionIndex);return i&&this.commitSuggestionOwner(i,o),this.searchTextToSearch=t,void this.clearSearchDebounce()}const i=t.toLowerCase().trim().split(".")[0]??"";t.includes(".")&&i&&i===this.selectedPathSegment||(this.selectedPathOwnerKey=null,this.selectedPathSegment=null)}getFirstPathSegment(e){return e.toLowerCase().trim().split(".")[0]??""}resolvePathOwnerSuggestion(e,t){if(!e)return null;const n=this.buildSuggestionItemsForText(e);if(0===n.length)return null;const r=n.filter(t=>t.value.toLowerCase()===e);return r.length>0?r[Math.min(t,r.length-1)]??r[0]:n[Math.min(t,n.length-1)]??n[0]}clearSearchDebounce(){this.searchTextToSearchTimeout&&(clearTimeout(this.searchTextToSearchTimeout),this.searchTextToSearchTimeout=null)}scheduleSearchTextDebounce(){this.clearSearchDebounce(),this.searchText.trim()?this.searchTextToSearchTimeout=setTimeout(()=>{runInAction(()=>{this.searchTextToSearchTimeout=null,this.searchTextToSearch=this.searchText,this.scheduleScrollToFirstSearchMatch()})},SearchEngine.searchDebounceMs):this.searchTextToSearch=""}scheduleScrollToFirstSearchMatch(){this.scrollToSearchMatchTimeout&&clearTimeout(this.scrollToSearchMatchTimeout),this.scrollToSearchMatchTimeout=setTimeout(()=>{this.scrollToSearchMatchTimeout=null,this.scrollToFirstSearchMatch()},0)}scrollToFirstSearchMatch(){if(!this.isActive)return;const e=this.getListItems(this.config.getRootItems()).findIndex(e=>this.isSearchTargetMatched(e));if(e<0)return;const t=this.config.getItemOffset(e),n=t>0?t:e*SearchEngine.itemHeight;this.config.scrollToOffset(n),this.scrollSimpleBarToOffset(n)}scrollSimpleBarToOffset(e){if("undefined"==typeof document)return;const t=document.getElementById(this.config.getContainerId()),n=t?.querySelector(".simplebar-content-wrapper");n?.scrollTo({top:e})}collectAllVMs(e){const t=[],n=e=>{if(e instanceof VMListItem){t.push(e);for(const t of e.children)n(t)}};for(const r of e)n(r);return t}getCandidatePropsAtDepth(e,t){const n=this.collectAllVMs(e),r=e.filter(e=>e instanceof ExtraListItem);if(0===t.length)return[...n,...r].flatMap(e=>this.getDirectPropertyChildren(e));const o=t[0],i=[];for(const a of n){if(!this.isOwnerAllowedForFirstPathSegment(a,o))continue;const e=this.getDirectPropertyChildren(a),n=e.some(e=>e.searchData.property===o);!n&&(a.searchData.name.includes(o)||a.searchData.id.includes(o))?i.push(...this.getOwnerMatchedPathCandidates(e,t)):n&&i.push(...this.getPropertyPathCandidates(e,t))}for(const a of r){if(!this.isOwnerAllowedForFirstPathSegment(a,o))continue;const e=this.getDirectPropertyChildren(a);e.some(e=>e.searchData.property===o)&&i.push(...this.getPropertyPathCandidates(e,t))}return i}getOwnerMatchedPathCandidates(e,t){return 1===t.length?e:this.navigatePropertyPath(e,t.slice(1))}getPropertyPathCandidates(e,t){const[n,...r]=t,o=this.getPathMatchingProps(e,n);return 0===r.length?o.flatMap(e=>e.children):o.flatMap(e=>this.navigatePropertyPath(e.children,r))}getDirectPropertyChildren(e){return e.children.filter(e=>e instanceof PropertyListItem)}isOwnerAllowedForFirstPathSegment(e,t){return!this.selectedPathOwnerKey||this.selectedPathSegment!==t||e.key===this.selectedPathOwnerKey}isPathOwnerLockedToAnotherOwner(e,t){return!this.isOwnerAllowedForFirstPathSegment(e,t)}getPathMatchingProps(e,t){return e.filter(e=>e.searchData.property===t)}getOwnerInfo(e){let t=e.parentListItem;for(;t instanceof PropertyListItem;)t=t.parentListItem;return t instanceof VMListItem?{name:t.displayName,type:"vm",key:t.key}:t instanceof ExtraListItem?{name:t.displayName,type:"extras",key:t.key}:{name:"",type:"unknown",key:"-unknown"}}navigatePropertyPath(e,t){if(0===t.length)return e;const[n,...r]=t,o=this.getPathMatchingProps(e,n);if(0===r.length){const e=[];for(const t of o)e.push(...t.children);return e}const i=[];for(const a of o)i.push(...this.navigatePropertyPath(a.children,r));return i}getFlatListItems(e){const t=[],n=e=>{if(e instanceof VMListItem){if(t.push(e),e.isExpanded)for(const n of e.children)n instanceof VMListItem||t.push(...n.expandedChildrenWithSelf);for(const t of e.children)t instanceof VMListItem&&n(t)}else t.push(e),e.isExpanded&&t.push(...e.expandedChildren)};for(const r of e)n(r);return t}getListItems(e){return this.isActive?e.flatMap(e=>this.getFilteredItemsForSearch(e)):"list"===this.config.getPresentationMode()?this.getFlatListItems(e):e.flatMap(e=>e.expandedChildrenWithSelf)}getFilteredItemsForSearch(e){return e instanceof VMListItem?this.getVMSearchItems(e):e instanceof ExtraListItem?this.getExtraSearchItems(e):[e]}getExtraSearchItems(e){if(this.isPathOwnerLockedToAnotherOwner(e,this.segments[0]??""))return[];const t=this.getDirectPropertyChildren(e);return t.some(e=>e.searchData.property.includes(this.segments[0]??""))?[e,...this.getPropertySearchItems(t,this.segments)]:[]}getVMSearchItems(e){const t=[],n=this.segments[0]??"";if(this.isPathOwnerLockedToAnotherOwner(e,n)){for(const n of e.children)n instanceof VMListItem&&t.push(...this.getVMSearchItems(n));return 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:r}=this,o=e.children.filter(e=>e instanceof PropertyListItem),i=e.children.filter(e=>e instanceof VMListItem),a=!((this.endsWithDot||r.length>1)&&o.some(e=>e.searchData.property===n))&&(e.searchData.name.includes(n)||e.searchData.id.includes(n))?r.slice(1):r;t.push(...this.getPropertySearchItems(o,a));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,i=o?this.getPathMatchingProps(e,r):[];for(const a of e){n.push(a);i.includes(a)&&o?n.push(...this.getPropertySearchItems(a.children,t.slice(1))):a.isExpanded&&n.push(...a.expandedChildren)}return n}vmMatchesSearch(e){const{segments:t}=this;if(0===t.length)return!0;const n=t[0];return!this.isPathOwnerLockedToAnotherOwner(e,n)&&(!(!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}isSearchTargetMatched(e){return!!this.isActive&&(e instanceof VMListItem?this.isVMSearchTargetMatched(e):e instanceof PropertyListItem&&this.isPropertySearchTargetMatched(e))}isVMSearchTargetMatched(e){const{segments:t}=this;if(0===t.length)return!1;const n=t[0];if(this.isPathOwnerLockedToAnotherOwner(e,n))return!1;return!((this.endsWithDot||t.length>1)&&e.children.some(e=>e instanceof PropertyListItem&&e.searchData.property===n))&&(e.searchData.name.includes(n)||e.searchData.id.includes(n))}isPropertySearchTargetMatched(e){const{segments:t}=this;if(0===t.length)return!1;let n=e.parentListItem,r=0;const o=[];for(;n instanceof PropertyListItem;)o.push(n),r++,n=n.parentListItem;if(!(n instanceof VMListItem||n instanceof ExtraListItem))return!1;const i=t[0];if(this.isPathOwnerLockedToAnotherOwner(n,i))return!1;const a=this.endsWithDot||t.length>1,s=this.getDirectPropertyChildren(n),l=a&&s.some(e=>e.searchData.property===i),u=n instanceof VMListItem&&!l&&(n.searchData.name.includes(i)||n.searchData.id.includes(i))?t.slice(1):t;if(0===u.length)return!1;const c=u.length-1,d=Math.min(r,c);for(let f=0;f<d;f++){const e=o[r-1-f];if(!this.isPropertyFittedToSegment(e,u[f],!0))return!1}if(r!==c)return!1;const p=this.endsWithDot||r<u.length-1;return this.isPropertyFittedToSegment(e,u[c],p)}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;const o=[];for(;n instanceof PropertyListItem;)o.push(n),r++,n=n.parentListItem;if(!(n instanceof VMListItem||n instanceof ExtraListItem))return!0;const i=t[0];if(this.isPathOwnerLockedToAnotherOwner(n,i))return!1;const a=this.endsWithDot||t.length>1,s=this.getDirectPropertyChildren(n),l=a&&s.some(e=>e.searchData.property===i),u=n instanceof VMListItem&&!l&&(n.searchData.name.includes(i)||n.searchData.id.includes(i))?t.slice(1):t,c=Math.min(r,u.length);for(let e=0;e<c;e++){const t=o[r-1-e],n=u[e];if(!this.isPropertyFittedToSegment(t,n,!0))return!1}if(r>=u.length)return!0;const d=u[r],p=this.endsWithDot||r<u.length-1;return this.isPropertyFittedToSegment(e,d,p)}return!0}isPropertyFittedToSegment(e,t,n){return!t||(n?e.searchData.property===t:e.searchData.property.includes(t))}resetSearch=()=>{this.clearSearchDebounce(),this.scrollToSearchMatchTimeout&&(clearTimeout(this.scrollToSearchMatchTimeout),this.scrollToSearchMatchTimeout=null),this.searchText="",this.searchTextToSearch="",this.selectedSuggestionIndex=0,this.isSuggestionsDismissed=!1,this.selectedPathOwnerKey=null,this.selectedPathSegment=null,this.focusInput()};focusInput=()=>{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,getPresentationMode:()=>this.presentationMode}),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"list"===this.presentationMode?e.children.some(e=>!(e instanceof VMListItem)):e.isExpandable}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}}exports.ViewModelDevtools=ViewModelDevtools;
2
+ "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,i=e[t>>1],a=i&&i.length;o<a;o++)1&t?i[o].call(n):r=i[o].call(n,r);return r},__decorateElement=(e,t,n,r,o,i)=>{var a,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],g=d>3&&(e[m-1]=[]),v=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,i)},set[n](e){return __privateSet(this,i,e)}},n));d?f&&d<4&&__name(i,(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],v),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?i:b.get):e=>e[n]),d>2&&(c.set=f?(e,t)=>__privateSet(e,o,t,4^d?i:b.set):(e,t)=>e[n]=t)),s=(0,r[y])(d?d<4?f?i: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?g.unshift(s):d?f?i=s:b[h]=s:o=s):"object"!=typeof s||null===s?__typeError("Object expected"):(__expectFn(a=s.get)&&(b.get=a),__expectFn(a=s.set)&&(b.set=a),__expectFn(a=s.init)&&g.unshift(a));return d||__decoratorMetadata(e,o),b&&__defProp(o,n,b),f?4^d?i: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;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var 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,unset:()=>{e=void 0},set:t=>(e=t,t)}}const t=globalThis;return{get:()=>t[e],unset:()=>{delete 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},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$2(){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$1(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$1(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$1(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$1(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$1(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 i=createActionDescriptor(e,this,t,n,!1);return defineProperty(r,t,i),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,i=t.addInitializer,a=this,s=function(e){var t,n,r,i;return createAction(null!=(t=null==(n=a.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=a.options_)?void 0:i.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&&i(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void die("Cannot apply '"+a.annotationType_+"' to '"+String(o)+"' (kind: "+r+"):\n'"+a.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 i,a,s,l,u,c,d;void 0===o&&(o=globalState.safeDescriptors),assertActionDescriptor(e,t,n,r);var p,f=r.value;null!=(i=t.options_)&&i.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_));return{value:createAction(null!=(a=null==(s=t.options_)?void 0:s.name)?a: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 i=createFlowDescriptor(e,this,t,n,!1,!1);return defineProperty(r,t,i),2}function extend_$2(e,t,n,r){var o,i=createFlowDescriptor(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,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,i){void 0===i&&(i=globalState.safeDescriptors),assertFlowDescriptor(e,t,n,r);var a,s=r.value;(isFlow(s)||(s=flow(s)),o)&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0);return{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}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,i;return assertObservableDescriptor(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.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,i=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,s.name_+"."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[$mobx].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[$mobx].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(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,i,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 u,c=!1===(null==(o=this.options_)?void 0:o.deep)?observable.ref:observable;"function"==typeof n.value&&null!=(i=this.options_)&&i.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,i,a;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!=(a=e.proxy_)?a:e.target_));return(!1===(null==(i=this.options_)?void 0:i.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 i=_startAction(e,t,r,o);try{return n.apply(r,o)}catch(a){throw i.error_=a,a}finally{_endAction(i)}}function _startAction(e,t,n,r){var o=isSpyEnabled()&&!!e,i=0;if(o){i=Date.now();var a=r?Array.from(r):EMPTY_ARRAY;spyReportStart({type:ACTION,name:e,object:n,arguments:a})}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_:i,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,i){var a,s;(void 0===r&&(r="ObservableValue@"+getNextId()),void 0===o&&(o=!0),void 0===i&&(i=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=i,a.value_=n(t,void 0,r),o&&isSpyEnabled())&&spyReport({type:CREATE,object:a,observableKind:"value",debugObjectName:a.name_,newValue:""+(null==(s=a.value_)?void 0:s.toString())});return 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){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 i=n.get();if(!r||t){var a=untrackedStart();e({observableKind:"computed",debugObjectName:n.name_,type:UPDATE,object:n,newValue:i,oldValue:o}),untrackedEnd(a)}r=!1,o=i})},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,i=0;i<o;i++){var a=r[i];if(isComputedValue(a)){if(globalState.disableErrorBoundaries)a.get();else try{a.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,i=globalState.trackingDerivation;if(globalState.trackingDerivation=e,globalState.inBatch++,!0===globalState.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(a){o=new CaughtException(a)}return globalState.inBatch--,globalState.trackingDerivation=i,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,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];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$2();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$2();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),globalState=new MobXGlobals}}function getGlobalState(){return globalState}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,i;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 a,s=null!=(n=null==(r=t)?void 0:r.name)?n:e.name||"Autorun@"+getNextId();if(!t.scheduler&&!t.delay)a=new Reaction(s,function(){this.track(c)},t.onError,t.requiresObservable);else{var l=createSchedulerFromOptions(t),u=!1;a=new Reaction(s,function(){u||(u=!0,l(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}function c(){e(a)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.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,i;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 a,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=a;m.track(function(){var n=allowStateChanges(!1,function(){return e(m)});t=d||!f(a,n),a=n}),(d&&n.fireImmediately||!d&&t)&&l(a,r,m),d=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||m.schedule_(),m.getDisposer_(null==(i=n)?void 0:i.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),i=isFunction$1(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[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,!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,i=action(r+" - runid: "+o+" - 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: "+o+" - yield "+s++,i.next).call(i,e)}catch(l){return n(l)}c(t)}function u(e){var t;a=void 0;try{t=action(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,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):(a=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{a&&cancelPromise(a);var t=i.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,i=r.length;o<i&&((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,i=(r=r.slice()).length;o<i;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 i=interceptChange(this,{object:this.proxy_,type:SPLICE,index:e,removedCount:t,added:n});if(!i)return EMPTY_ARRAY;t=i.removedCount,n=i.added}n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_;var a=n.length-t;this.updateArrayLength_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),o=hasListeners(this),i=o||r?{observableKind:"array",object:this.proxy_,type:UPDATE,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;r&&spyReportStart(i),this.atom_.reportChanged(),o&&notifyListeners(this,i),r&&spyReportEnd()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&isSpyEnabled(),o=hasListeners(this),i=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(i),this.atom_.reportChanged(),o&&notifyListeners(this,i),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 i=new Array(e+1-n.length),a=0;a<i.length-1;a++)i[a]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},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 i=new Proxy(o.values_,arrayTraps);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i})}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 i=this[$mobx];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.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),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:UPDATE,object:this,oldValue:n.value_,name:e,newValue:t}:null;r&&spyReportStart(i),n.setNewValue_(t),o&&notifyListeners(this,i),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),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:ADD,object:this,name:e,newValue:t}:null;r&&spyReportStart(i),o&&notifyListeners(this,i),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,i=o[0],a=o[1];e.call(t,a,i,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,i=!1,a=_createForOfIteratorHelperLoose(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))i=!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||(i=!0)}}if(!i)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),v=o.keys(),b=g.next(),y=v.next();!b.done;){if(b.value!==y.value){t.keysAtom_.reportChanged();break}b=g.next(),y=v.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),i=o||r?{observableKind:"set",debugObjectName:this.name_,type:ADD,object:this,newValue:e}:null;r&&spyReportStart(i),o&&notifyListeners(this,i),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),i=isSpyEnabled(),a=o||i?{type:UPDATE,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;i&&spyReportStart(a),n.setNewValue_(t),o&&notifyListeners(this,a),i&&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 i=t.make_(this,e,o,r);if(0===i)return;if(1===i)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 i=o.newValue;t.value!==i&&(t=_extends({},t,{value:i}))}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 i=interceptChange(this,{object:this.proxy_||this.target_,name:e,type:ADD,newValue:t});if(!i)return null;t=i.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,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),i={configurable:!globalState.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else defineProperty(this.target_,e,i);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),i=isSpyEnabled(),a=this.values_.get(e),s=void 0;if(!a&&(o||i))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],a&&(this.values_.delete(e),a instanceof ObservableValue&&(s=a.value_),propagateChanged(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||i){var l={type:REMOVE,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&spyReportStart(l),o&&notifyListeners(this,l),i&&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 i=r||o?{type:ADD,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&spyReportStart(i),r&&notifyListeners(this,i),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 i;return void 0===r&&(r="ObservableArray@"+getNextId()),void 0===o&&(o=!1),i=e.call(this)||this,initObservable(function(){var e=new ObservableArrayAdministration(r,n,o,!0);e.proxy_=i,addHiddenFinalProp(i,$mobx,e),t&&t.length&&i.spliceWithArray(0,0,t),safariPrototypeSetterInheritanceBug&&Object.defineProperty(i,"0",ENTRY_0)}),i}_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 i=typeof e;if("function"!==i&&"object"!==i&&"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,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$2().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$2()[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});var applyObservable$1=(e,t,n)=>{if(n)t.forEach(([t,...n])=>{n.forEach(n=>{t(e,n)})}),makeObservable(e);else{const n={};t.forEach(([e,...t])=>{t.forEach(t=>{n[t]=e})}),makeObservable(e,n)}},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},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 i=t;for(const a of r)if(!Object.hasOwn(i,a)||e[a]!==i[a])return!1;return!0};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 _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}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}}const entries$1=Object.entries,setPrototypeOf$1=Object.setPrototypeOf,isFrozen$1=Object.isFrozen,getPrototypeOf$1=Object.getPrototypeOf,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor;let freeze$1=Object.freeze,seal$1=Object.seal,create$1=Object.create,_ref="undefined"!=typeof Reflect&&Reflect,apply$1=_ref.apply,construct$1=_ref.construct;freeze$1||(freeze$1=function(e){return e}),seal$1||(seal$1=function(e){return e}),apply$1||(apply$1=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$1||(construct$1=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$1=unapply$1(Array.prototype.forEach),arrayLastIndexOf$1=unapply$1(Array.prototype.lastIndexOf),arrayPop$1=unapply$1(Array.prototype.pop),arrayPush$1=unapply$1(Array.prototype.push),arraySplice$1=unapply$1(Array.prototype.splice),arrayIsArray=Array.isArray,stringToLowerCase$1=unapply$1(String.prototype.toLowerCase),stringToString$1=unapply$1(String.prototype.toString),stringMatch$1=unapply$1(String.prototype.match),stringReplace$1=unapply$1(String.prototype.replace),stringIndexOf$1=unapply$1(String.prototype.indexOf),stringTrim$1=unapply$1(String.prototype.trim),numberToString=unapply$1(Number.prototype.toString),booleanToString=unapply$1(Boolean.prototype.toString),bigintToString="undefined"==typeof BigInt?null:unapply$1(BigInt.prototype.toString),symbolToString="undefined"==typeof Symbol?null:unapply$1(Symbol.prototype.toString),objectHasOwnProperty$1=unapply$1(Object.prototype.hasOwnProperty),objectToString$1=unapply$1(Object.prototype.toString),regExpTest$1=unapply$1(RegExp.prototype.test),typeErrorCreate$1=unconstruct$1(TypeError);function unapply$1(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$1(e,t,r)}}function unconstruct$1(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return construct$1(e,n)}}function addToSet$1(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:stringToLowerCase$1;if(setPrototypeOf$1&&setPrototypeOf$1(e,null),!arrayIsArray(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(isFrozen$1(t)||(t[r]=e),o=e)}e[o]=!0}return e}function cleanArray$1(e){for(let t=0;t<e.length;t++){objectHasOwnProperty$1(e,t)||(e[t]=null)}return e}function clone$1(e){const t=create$1(null);for(const r of entries$1(e)){var n=_slicedToArray(r,2);const o=n[0],i=n[1];objectHasOwnProperty$1(e,o)&&(arrayIsArray(i)?t[o]=cleanArray$1(i):i&&"object"==typeof i&&i.constructor===Object?t[o]=clone$1(i):t[o]=i)}return t}function stringifyValue(e){switch(typeof e){case"string":return e;case"number":return numberToString(e);case"boolean":return booleanToString(e);case"bigint":return bigintToString?bigintToString(e):"0";case"symbol":return symbolToString?symbolToString(e):"Symbol()";case"undefined":default:return objectToString$1(e);case"function":case"object":{if(null===e)return objectToString$1(e);const t=e,n=lookupGetter$1(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:objectToString$1(e)}return objectToString$1(e)}}}function lookupGetter$1(e,t){for(;null!==e;){const n=getOwnPropertyDescriptor$1(e,t);if(n){if(n.get)return unapply$1(n.get);if("function"==typeof n.value)return unapply$1(n.value)}e=getPrototypeOf$1(e)}return function(){return null}}function isRegex(e){try{return regExpTest$1(e,""),!0}catch(t){return!1}}const html$1$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["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$1=freeze$1(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text$1=freeze$1(["#text"]),html$2=freeze$1(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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"]),svg$2=freeze$1(["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$2=freeze$1(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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$1=freeze$1(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR$1=seal$1(/{{[\w\W]*|^[\w\W]*}}/g),ERB_EXPR$1=seal$1(/<%[\w\W]*|^[\w\W]*%>/g),TMPLIT_EXPR$1=seal$1(/\${[\w\W]*/g),DATA_ATTR$1=seal$1(/^data-[\-\w.\u00B7-\uFFFF]+$/),ARIA_ATTR$1=seal$1(/^aria-[\-\w]+$/),IS_ALLOWED_URI$1=seal$1(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA$1=seal$1(/^(?:\w+script|data):/i),ATTR_WHITESPACE$1=seal$1(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME$1=seal$1(/^html$/i),CUSTOM_ELEMENT$1=seal$1(/^[a-z][.\w]*(-[.\w]+)+$/i),NODE_TYPE$1={element:1,text:3,progressingInstruction:7,comment:8,document:9},getGlobal$1=function(){return"undefined"==typeof window?null:window},_createTrustedTypesPolicy$1=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(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},_createHooksMap$1=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify$1(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getGlobal$1();const t=e=>createDOMPurify$1(e);if(t.version="3.4.5",t.removed=[],!e||!e.document||e.document.nodeType!==NODE_TYPE$1.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript,i=e.DocumentFragment,a=e.HTMLTemplateElement,s=e.Node,l=e.Element,u=e.NodeFilter,c=e.NamedNodeMap,d=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,p=e.HTMLFormElement,f=e.DOMParser,m=e.trustedTypes,h=l.prototype,g=lookupGetter$1(h,"cloneNode"),v=lookupGetter$1(h,"remove"),b=lookupGetter$1(h,"nextSibling"),y=lookupGetter$1(h,"childNodes"),w=lookupGetter$1(h,"parentNode"),x=s&&s.prototype?lookupGetter$1(s.prototype,"nodeType"):null;if("function"==typeof a){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,_="";const E=n,T=E.implementation,k=E.createNodeIterator,A=E.createDocumentFragment,C=E.getElementsByTagName,O=r.importNode;let R=_createHooksMap$1();t.isSupported="function"==typeof entries$1&&"function"==typeof w&&T&&void 0!==T.createHTMLDocument;const I=MUSTACHE_EXPR$1,D=ERB_EXPR$1,N=TMPLIT_EXPR$1,P=DATA_ATTR$1,M=ARIA_ATTR$1,L=IS_SCRIPT_OR_DATA$1,j=ATTR_WHITESPACE$1,V=CUSTOM_ELEMENT$1;let $=IS_ALLOWED_URI$1,F=null;const z=addToSet$1({},[...html$1$1,...svg$1$1,...svgFilters$1,...mathMl$1$1,...text$1]);let U=null;const B=addToSet$1({},[...html$2,...svg$2,...mathMl$2,...xml$1]);let H=Object.seal(create$1(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,G=null;const q=Object.seal(create$1(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Y=!0,K=!0,X=!1,Q=!0,J=!1,Z=!0,ee=!1,te=!1,ne=!1,re=!1,oe=!1,ie=!1,ae=!0,se=!1;const le="user-content-";let ue=!0,ce=!1,de={},pe=null;const fe=addToSet$1({},["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 me=null;const he=addToSet$1({},["audio","video","img","source","image","track"]);let ge=null;const ve=addToSet$1({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),be="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",we="http://www.w3.org/1999/xhtml";let xe=we,Se=!1,_e=null;const Ee=addToSet$1({},[be,ye,we],stringToString$1);let Te=addToSet$1({},["mi","mo","mn","ms","mtext"]),ke=addToSet$1({},["annotation-xml"]);const Ae=addToSet$1({},["title","style","font","a","script"]);let Ce=null;const Oe=["application/xhtml+xml","text/html"];let Re=null,Ie=null;const De=n.createElement("form"),Ne=function(e){return e instanceof RegExp||e instanceof Function},Pe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ie&&Ie===e)return;e&&"object"==typeof e||(e={}),e=clone$1(e),Ce=-1===Oe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Re="application/xhtml+xml"===Ce?stringToString$1:stringToLowerCase$1,F=objectHasOwnProperty$1(e,"ALLOWED_TAGS")&&arrayIsArray(e.ALLOWED_TAGS)?addToSet$1({},e.ALLOWED_TAGS,Re):z,U=objectHasOwnProperty$1(e,"ALLOWED_ATTR")&&arrayIsArray(e.ALLOWED_ATTR)?addToSet$1({},e.ALLOWED_ATTR,Re):B,_e=objectHasOwnProperty$1(e,"ALLOWED_NAMESPACES")&&arrayIsArray(e.ALLOWED_NAMESPACES)?addToSet$1({},e.ALLOWED_NAMESPACES,stringToString$1):Ee,ge=objectHasOwnProperty$1(e,"ADD_URI_SAFE_ATTR")&&arrayIsArray(e.ADD_URI_SAFE_ATTR)?addToSet$1(clone$1(ve),e.ADD_URI_SAFE_ATTR,Re):ve,me=objectHasOwnProperty$1(e,"ADD_DATA_URI_TAGS")&&arrayIsArray(e.ADD_DATA_URI_TAGS)?addToSet$1(clone$1(he),e.ADD_DATA_URI_TAGS,Re):he,pe=objectHasOwnProperty$1(e,"FORBID_CONTENTS")&&arrayIsArray(e.FORBID_CONTENTS)?addToSet$1({},e.FORBID_CONTENTS,Re):fe,W=objectHasOwnProperty$1(e,"FORBID_TAGS")&&arrayIsArray(e.FORBID_TAGS)?addToSet$1({},e.FORBID_TAGS,Re):clone$1({}),G=objectHasOwnProperty$1(e,"FORBID_ATTR")&&arrayIsArray(e.FORBID_ATTR)?addToSet$1({},e.FORBID_ATTR,Re):clone$1({}),de=!!objectHasOwnProperty$1(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?clone$1(e.USE_PROFILES):e.USE_PROFILES),Y=!1!==e.ALLOW_ARIA_ATTR,K=!1!==e.ALLOW_DATA_ATTR,X=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,J=e.SAFE_FOR_TEMPLATES||!1,Z=!1!==e.SAFE_FOR_XML,ee=e.WHOLE_DOCUMENT||!1,re=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,ne=e.FORCE_BODY||!1,ae=!1!==e.SANITIZE_DOM,se=e.SANITIZE_NAMED_PROPS||!1,ue=!1!==e.KEEP_CONTENT,ce=e.IN_PLACE||!1,$=isRegex(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:IS_ALLOWED_URI$1,xe="string"==typeof e.NAMESPACE?e.NAMESPACE:we,Te=objectHasOwnProperty$1(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?clone$1(e.MATHML_TEXT_INTEGRATION_POINTS):addToSet$1({},["mi","mo","mn","ms","mtext"]),ke=objectHasOwnProperty$1(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?clone$1(e.HTML_INTEGRATION_POINTS):addToSet$1({},["annotation-xml"]);const t=objectHasOwnProperty$1(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?clone$1(e.CUSTOM_ELEMENT_HANDLING):create$1(null);if(H=create$1(null),objectHasOwnProperty$1(t,"tagNameCheck")&&Ne(t.tagNameCheck)&&(H.tagNameCheck=t.tagNameCheck),objectHasOwnProperty$1(t,"attributeNameCheck")&&Ne(t.attributeNameCheck)&&(H.attributeNameCheck=t.attributeNameCheck),objectHasOwnProperty$1(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),J&&(K=!1),oe&&(re=!0),de&&(F=addToSet$1({},text$1),U=create$1(null),!0===de.html&&(addToSet$1(F,html$1$1),addToSet$1(U,html$2)),!0===de.svg&&(addToSet$1(F,svg$1$1),addToSet$1(U,svg$2),addToSet$1(U,xml$1)),!0===de.svgFilters&&(addToSet$1(F,svgFilters$1),addToSet$1(U,svg$2),addToSet$1(U,xml$1)),!0===de.mathMl&&(addToSet$1(F,mathMl$1$1),addToSet$1(U,mathMl$2),addToSet$1(U,xml$1))),q.tagCheck=null,q.attributeCheck=null,objectHasOwnProperty$1(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?q.tagCheck=e.ADD_TAGS:arrayIsArray(e.ADD_TAGS)&&(F===z&&(F=clone$1(F)),addToSet$1(F,e.ADD_TAGS,Re))),objectHasOwnProperty$1(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?q.attributeCheck=e.ADD_ATTR:arrayIsArray(e.ADD_ATTR)&&(U===B&&(U=clone$1(U)),addToSet$1(U,e.ADD_ATTR,Re))),objectHasOwnProperty$1(e,"ADD_URI_SAFE_ATTR")&&arrayIsArray(e.ADD_URI_SAFE_ATTR)&&addToSet$1(ge,e.ADD_URI_SAFE_ATTR,Re),objectHasOwnProperty$1(e,"FORBID_CONTENTS")&&arrayIsArray(e.FORBID_CONTENTS)&&(pe===fe&&(pe=clone$1(pe)),addToSet$1(pe,e.FORBID_CONTENTS,Re)),objectHasOwnProperty$1(e,"ADD_FORBID_CONTENTS")&&arrayIsArray(e.ADD_FORBID_CONTENTS)&&(pe===fe&&(pe=clone$1(pe)),addToSet$1(pe,e.ADD_FORBID_CONTENTS,Re)),ue&&(F["#text"]=!0),ee&&addToSet$1(F,["html","head","body"]),F.table&&(addToSet$1(F,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw typeErrorCreate$1('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw typeErrorCreate$1('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,_=S.createHTML("")}else void 0===S&&(S=_createTrustedTypesPolicy$1(m,o)),null!==S&&"string"==typeof _&&(_=S.createHTML(""));freeze$1&&freeze$1(e),Ie=e},Me=addToSet$1({},[...svg$1$1,...svgFilters$1,...svgDisallowed$1]),Le=addToSet$1({},[...mathMl$1$1,...mathMlDisallowed$1]),je=function(e){arrayPush$1(t.removed,{element:e});try{w(e).removeChild(e)}catch(n){v(e)}},Ve=function(e,n){try{arrayPush$1(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(r){arrayPush$1(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e)if(re||oe)try{je(n)}catch(r){}else try{n.setAttribute(e,"")}catch(r){}},$e=function(e){let t=null,r=null;if(ne)e="<remove></remove>"+e;else{const t=stringMatch$1(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===Ce&&xe===we&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=S?S.createHTML(e):e;if(xe===we)try{t=(new f).parseFromString(o,Ce)}catch(a){}if(!t||!t.documentElement){t=T.createDocument(xe,"template",null);try{t.documentElement.innerHTML=Se?_:o}catch(a){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(n.createTextNode(r),i.childNodes[0]||null),xe===we?C.call(t,ee?"html":"body")[0]:ee?t.documentElement:i},Fe=function(e){return k.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ze=function(e){e.normalize();const t=k.call(e.ownerDocument||e,e,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let n=t.nextNode();for(;n;){let e=n.data;arrayForEach$1([I,D,N],t=>{e=stringReplace$1(e,t," ")}),n.data=e,n=t.nextNode()}},Ue=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){if(!x||"object"!=typeof e||null===e)return!1;try{return"number"==typeof x(e)}catch(t){return!1}};function He(e,n,r){arrayForEach$1(e,e=>{e.call(t,n,r,Ie)})}const We=function(e){let n=null;if(He(R.beforeSanitizeElements,e,null),Ue(e))return je(e),!0;const r=Re(e.nodeName);if(He(R.uponSanitizeElement,e,{tagName:r,allowedTags:F}),Z&&e.hasChildNodes()&&!Be(e.firstElementChild)&&regExpTest$1(/<[/\w!]/g,e.innerHTML)&&regExpTest$1(/<[/\w!]/g,e.textContent))return je(e),!0;if(Z&&e.namespaceURI===we&&"style"===r&&Be(e.firstElementChild))return je(e),!0;if(e.nodeType===NODE_TYPE$1.progressingInstruction)return je(e),!0;if(Z&&e.nodeType===NODE_TYPE$1.comment&&regExpTest$1(/<[/\w]/g,e.data))return je(e),!0;if(W[r]||!(q.tagCheck instanceof Function&&q.tagCheck(r))&&!F[r]){if(!W[r]&&Ye(r)){if(H.tagNameCheck instanceof RegExp&&regExpTest$1(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(ue&&!pe[r]){const t=w(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=g(n[r],!0);t.insertBefore(o,b(e))}}}return je(e),!0}return e instanceof l&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:xe,tagName:"template"});const n=stringToLowerCase$1(e.tagName),r=stringToLowerCase$1(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===ye?t.namespaceURI===we?"svg"===n:t.namespaceURI===be?"svg"===n&&("annotation-xml"===r||Te[r]):Boolean(Me[n]):e.namespaceURI===be?t.namespaceURI===we?"math"===n:t.namespaceURI===ye?"math"===n&&ke[r]:Boolean(Le[n]):e.namespaceURI===we?!(t.namespaceURI===ye&&!ke[r])&&!(t.namespaceURI===be&&!Te[r])&&!Le[n]&&(Ae[n]||!Me[n]):!("application/xhtml+xml"!==Ce||!_e[e.namespaceURI]))}(e)?(je(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!regExpTest$1(/<\/no(script|embed|frames)/i,e.innerHTML)?(J&&e.nodeType===NODE_TYPE$1.text&&(n=e.textContent,arrayForEach$1([I,D,N],e=>{n=stringReplace$1(n,e," ")}),e.textContent!==n&&(arrayPush$1(t.removed,{element:e.cloneNode()}),e.textContent=n)),He(R.afterSanitizeElements,e,null),!1):(je(e),!0)},Ge=function(e,t,r){if(G[t])return!1;if(ae&&("id"===t||"name"===t)&&(r in n||r in De))return!1;const o=U[t]||q.attributeCheck instanceof Function&&q.attributeCheck(t,e);if(K&&!G[t]&&regExpTest$1(P,t));else if(Y&&regExpTest$1(M,t));else if(!o||G[t]){if(!(Ye(e)&&(H.tagNameCheck instanceof RegExp&&regExpTest$1(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&regExpTest$1(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&regExpTest$1(H.tagNameCheck,r)||H.tagNameCheck instanceof Function&&H.tagNameCheck(r))))return!1}else if(ge[t]);else if(regExpTest$1($,stringReplace$1(r,j,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf$1(r,"data:")||!me[e]){if(X&&!regExpTest$1(L,stringReplace$1(r,j,"")));else if(r)return!1}else;return!0},qe=addToSet$1({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Ye=function(e){return!qe[stringToLowerCase$1(e)]&&regExpTest$1(V,e)},Ke=function(e){He(R.beforeSanitizeAttributes,e,null);const n=e.attributes;if(!n||Ue(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let o=n.length;for(;o--;){const a=n[o],s=a.name,l=a.namespaceURI,u=a.value,c=Re(s),d=u;let p="value"===s?d:stringTrim$1(d);if(r.attrName=c,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,He(R.uponSanitizeAttribute,e,r),p=r.attrValue,!se||"id"!==c&&"name"!==c||0===stringIndexOf$1(p,le)||(Ve(s,e),p=le+p),Z&&regExpTest$1(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)){Ve(s,e);continue}if("attributename"===c&&stringMatch$1(p,"href")){Ve(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ve(s,e);continue}if(!Q&&regExpTest$1(/\/>/i,p)){Ve(s,e);continue}J&&arrayForEach$1([I,D,N],e=>{p=stringReplace$1(p,e," ")});const f=Re(e.nodeName);if(Ge(f,c,p)){if(S&&"object"==typeof m&&"function"==typeof m.getAttributeType)if(l);else switch(m.getAttributeType(f,c)){case"TrustedHTML":p=S.createHTML(p);break;case"TrustedScriptURL":p=S.createScriptURL(p)}if(p!==d)try{l?e.setAttributeNS(l,s,p):e.setAttribute(s,p),Ue(e)?je(e):arrayPop$1(t.removed)}catch(i){Ve(s,e)}}else Ve(s,e)}He(R.afterSanitizeAttributes,e,null)},Xe=function(e){let t=null;const n=Fe(e);for(He(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)He(R.uponSanitizeShadowNode,t,null),We(t),Ke(t),t.content instanceof i&&Xe(t.content);He(R.afterSanitizeShadowDOM,e,null)},Qe=function(e){if(e.nodeType===NODE_TYPE$1.element&&e.shadowRoot instanceof i){const t=e.shadowRoot;Qe(t),Xe(t)}const t=e.childNodes;if(!t)return;const n=[];arrayForEach$1(t,e=>{arrayPush$1(n,e)});for(const r of n)Qe(r)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,a=null,s=null,l=null;if(Se=!e,Se&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)&&"string"!=typeof(e=stringifyValue(e)))throw typeErrorCreate$1("dirty is not a string, aborting");if(!t.isSupported)return e;if(te||Pe(n),t.removed=[],"string"==typeof e&&(ce=!1),ce){const t=e.nodeName;if("string"==typeof t){const e=Re(t);if(!F[e]||W[e])throw typeErrorCreate$1("root node is forbidden and cannot be sanitized in-place")}Qe(e)}else if(Be(e))o=$e("\x3c!----\x3e"),a=o.ownerDocument.importNode(e,!0),a.nodeType===NODE_TYPE$1.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a),Qe(a);else{if(!re&&!J&&!ee&&-1===e.indexOf("<"))return S&&ie?S.createHTML(e):e;if(o=$e(e),!o)return re?null:ie?_:""}o&&ne&&je(o.firstChild);const u=Fe(ce?e:o);for(;s=u.nextNode();)We(s),Ke(s),s.content instanceof i&&Xe(s.content);if(ce)return J&&ze(e),e;if(re){if(J&&ze(o),oe)for(l=A.call(o.ownerDocument);o.firstChild;)l.appendChild(o.firstChild);else l=o;return(U.shadowroot||U.shadowrootmode)&&(l=O.call(r,l,!0)),l}let c=ee?o.outerHTML:o.innerHTML;return ee&&F["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&regExpTest$1(DOCTYPE_NAME$1,o.ownerDocument.doctype.name)&&(c="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+c),J&&arrayForEach$1([I,D,N],e=>{c=stringReplace$1(c,e," ")}),S&&ie?S.createHTML(c):c},t.setConfig=function(){Pe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),te=!0},t.clearConfig=function(){Ie=null,te=!1},t.isValidAttribute=function(e,t,n){Ie||Pe({});const r=Re(e),o=Re(t);return Ge(r,o,n)},t.addHook=function(e,t){"function"==typeof t&&arrayPush$1(R[e],t)},t.removeHook=function(e,t){if(void 0!==t){const n=arrayLastIndexOf$1(R[e],t);return-1===n?void 0:arraySplice$1(R[e],n,1)[0]}return arrayPop$1(R[e])},t.removeHooks=function(e){R[e]=[]},t.removeAllHooks=function(){R=_createHooksMap$1()},t}createDOMPurify$1();var startViewTransitionSafety=(e,t)=>{if("undefined"!=typeof document&&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"),i=Symbol.for("react.strict_mode"),a=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 g(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}var v={current:null},b={transition:null},y={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},x={},S=null;function _(e){S=e}x.setExtraStackFrame=function(e){S=e},x.getCurrentStack=null,x.getStackAddendum=function(){var e="";S&&(e+=S);var t=x.getCurrentStack;return t&&(e+=t()||""),e};var E={ReactCurrentDispatcher:v,ReactCurrentBatchConfig:b,ReactCurrentOwner:w};function T(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];A("warn",e,n)}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];A("error",e,n)}function A(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 C={};function O(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;C[o]||(k("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),C[o]=!0)}var R={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){O(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){O(e,"replaceState")},enqueueSetState:function(e,t,n,r){O(e,"setState")}},I=Object.assign,D={};function N(e,t,n){this.props=e,this.context=t,this.refs=D,this.updater=n||R}Object.freeze(D),N.prototype.isReactComponent={},N.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")},N.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var P={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(N.prototype,e,{get:function(){T("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var L in P)P.hasOwnProperty(L)&&M(L,P[L]);function j(){}function V(e,t,n){this.props=e,this.context=t,this.refs=D,this.updater=n||R}j.prototype=N.prototype;var $=V.prototype=new j;$.constructor=V,I($,N.prototype),$.isPureReactComponent=!0;var F=Array.isArray;function z(e){return F(e)}function U(e){return""+e}function B(e){if(function(e){try{return U(e),!1}catch(t){return!0}}(e))return k("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)),U(e)}function H(e){return e.displayName||"Context"}function W(e){if(null==e)return null;if("number"==typeof e.tag&&k("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 a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return H(e)+".Consumer";case s:return H(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:W(e.type)||"Memo";case f:var n=e,m=n._payload,h=n._init;try{return W(h(m))}catch(g){return null}}return null}var G,q,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,i,a,s){var l={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:a,_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:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ee(e,t,n){var r,o={},i=null,a=null,s=null,l=null;if(null!=t)for(r in Q(t)&&(a=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=W(w.current.type);Y[t]||(k('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)&&(B(t.key),i=""+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(i||a){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&function(e,t){var n=function(){G||(G=!0,k("%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),a&&function(e,t){var n=function(){q||(q=!0,k("%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,i,a,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,i=I({},e.props),a=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)&&(B(t.key),a=""+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?i[r]=o[r]:i[r]=t[r]);var d=arguments.length-2;if(1===d)i.children=n;else if(d>1){for(var p=Array(d),f=0;f<d;f++)p[f]=arguments[f+2];i.children=p}return Z(e.type,a,s,l,u,c,i)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var re,oe=!1,ie=/\/+/g;function ae(e){return e.replace(ie,"$&/")}function se(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(B(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,i,a){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=a(p),m=""===i?"."+se(p,0):i;if(z(f)){var h="";null!=m&&(h=ae(m)+"/"),le(f,t,h,"",function(e){return e})}else null!=f&&(ne(f)&&(!f.key||p&&p.key===f.key||B(f.key),l=f,u=o+(!f.key||p&&p.key===f.key?"":ae(""+f.key)+"/")+m,f=Z(l.type,u,l.ref,l._self,l._source,l._owner,l.props)),t.push(f));return 1}var v=0,b=""===i?".":i+":";if(z(e))for(var y=0;y<e.length;y++)v+=le(c=e[y],t,o,b+se(c,y),a);else{var w=g(e);if("function"==typeof w){var x=e;w===x.entries&&(oe||T("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;)v+=le(c=S.value,t,o,b+se(c,E++),a)}else if("object"===s){var k=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===k?"object with keys {"+Object.keys(e).join(", ")+"}":k)+"). If you meant to render a collection of children, use an array instead.")}}return v}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&&k("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||k("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===a||e===i||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=v.current;return null===e&&k("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,ge,ve,be,ye,we=0;function xe(){}xe.__reactDisabledLog=!0;var Se,_e=E.ReactCurrentDispatcher;function Ee(e,t,n){if(void 0===Se)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Se=r&&r[1]||""}return"\n"+Se+e}var Te,ke=!1,Ae="function"==typeof WeakMap?WeakMap:Map;function Ce(e,t){if(!e||ke)return"";var n,r=Te.get(e);if(void 0!==r)return r;ke=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=_e.current,_e.current=null,function(){if(0===we){fe=console.log,me=console.info,he=console.warn,ge=console.error,ve=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 a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(m){n=m}Reflect.construct(e,[],a)}else{try{a.call()}catch(m){n=m}e.call(a.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&&Te.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{ke=!1,_e.current=o,function(){if(0===--we){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:fe}),info:I({},e,{value:me}),warn:I({},e,{value:he}),error:I({},e,{value:ge}),group:I({},e,{value:ve}),groupCollapsed:I({},e,{value:be}),groupEnd:I({},e,{value:ye})})}we<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?Ee(p):"";return"function"==typeof e&&Te.set(e,f),f}function Oe(e,t,n){if(null==e)return"";if("function"==typeof e)return Ce(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 Ce(e.render,!1);case p:return Oe(e.type,t,n);case f:var o=e,i=o._payload,a=o._init;try{return Oe(a(i),t,n)}catch(s){}}return""}Te=new Ae;var Re,Ie={},De=E.ReactDebugCurrentFrame;function Ne(e){if(e){var t=e._owner,n=Oe(e.type,e._source,t?t.type:null);De.setExtraStackFrame(n)}else De.setExtraStackFrame(null)}function Pe(e){if(e){var t=e._owner;_(Oe(e.type,e._source,t?t.type:null))}else _(null)}function Me(){if(w.current){var e=W(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Re=!1;var Le={};function je(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(!Le[n]){Le[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+W(e._owner.type)+"."),Pe(e),k('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),Pe(null)}}}function Ve(e,t){if("object"==typeof e)if(z(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&je(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=g(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ne(i.value)&&je(i.value,t)}}function $e(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=W(n);!function(e,t,n,r,o){var i=Function.call.bind(K);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(Ne(o),k("%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,a,typeof s),Ne(null)),s instanceof Error&&!(s.message in Ie)&&(Ie[s.message]=!0,Ne(o),k("Failed %s type: %s",n,s.message),Ne(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Re||(Re=!0,k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",W(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Fe(e,t,r){var i,a,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!=(i=t)&&void 0!==(a=i.__source)?"\n\nCheck your code at "+a.fileName.replace(/^.*[\\\/]/,"")+":"+a.lineNumber+".":"";l+=c||Me(),null===e?u="null":z(e)?u="array":void 0!==e&&e.$$typeof===n?(u="<"+(W(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,k("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){Pe(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Pe(null);break}}null!==e.ref&&(Pe(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),Pe(null))}(d):$e(d),d}var ze=!1,Ue=!1,Be=null,He=0,We=!1;function Ge(e){var t=He;He++,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 qe(t),c}finally{y.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var i=n,a=!1,s={then:function(e,n){a=!0,i.then(function(r){qe(t),0===He?Ye(r,e,n):e(r)},function(e){qe(t),n(e)})}};return We||"undefined"==typeof Promise||Promise.resolve().then(function(){}).then(function(){a||(We=!0,k("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(qe(t),0===He){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 qe(e){e!==He-1&&k("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),He=e}function Ye(t,n,r){var o=y.current;if(null!==o)try{Xe(o),function(t){if(null===Be)try{var n=("require"+Math.random()).slice(0,7),r=e&&e[n];Be=r.call(e,"timers").setImmediate}catch(o){Be=function(e){!1===Ue&&(Ue=!0,"undefined"==typeof MessageChannel&&k("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)}}Be(t)}(function(){0===o.length?(y.current=null,n(t)):Ye(t,n,r)})}catch(i){r(i)}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=Fe,Je=function(e,t,n){for(var r=te.apply(this,arguments),o=2;o<arguments.length;o++)Ve(arguments[o],r.type);return $e(r),r},Ze=function(e){var t=Fe.bind(null,e);return t.type=e,ze||(ze=!0,T("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 T("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=N,t.Fragment=o,t.Profiler=a,t.PureComponent=V,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E,t.act=Ge,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,i={$$typeof:l,_context:t};return Object.defineProperties(i,{Provider:{get:function(){return r||(r=!0,k("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,k("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||(T("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=i,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?k("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?k("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&k("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||k("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){k("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){k("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)||k("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&&T("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=Ge,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?k("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&&k("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"),i=Symbol.for("react.profiler"),a=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 g(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 v;function b(e){return e.displayName||"Context"}function y(e){if(null==e)return null;if("number"==typeof e.tag&&g("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 i: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 a: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(v){return null}}return null}v=Symbol.for("react.module.reference");var w,x,S,_,E,T,k,A=Object.assign,C=0;function O(){}O.__reactDisabledLog=!0;var R,I=h.ReactCurrentDispatcher;function D(e,t,n){if(void 0===R)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return"\n"+R+e}var N,P=!1,M="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||P)return"";var n,r=N.get(e);if(void 0!==r)return r;P=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=I.current,I.current=null,function(){if(0===C){w=console.log,x=console.info,S=console.warn,_=console.error,E=console.group,T=console.groupCollapsed,k=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}C++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(m){n=m}Reflect.construct(e,[],a)}else{try{a.call()}catch(m){n=m}e.call(a.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&&N.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{P=!1,I.current=o,function(){if(0===--C){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:w}),info:A({},e,{value:x}),warn:A({},e,{value:S}),error:A({},e,{value:_}),group:A({},e,{value:E}),groupCollapsed:A({},e,{value:T}),groupEnd:A({},e,{value:k})})}C<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?D(p):"";return"function"==typeof e&&N.set(e,f),f}function j(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return D(e);switch(e){case u:return D("Suspense");case c:return D("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return L(e.render,!1);case d:return j(e.type,t,n);case p:var o=e,i=o._payload,a=o._init;try{return j(a(i),t,n)}catch(s){}}return""}N=new M;var V=Object.prototype.hasOwnProperty,$={},F=h.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,n=j(e.type,e._source,t?t.type:null);F.setExtraStackFrame(n)}else F.setExtraStackFrame(null)}var U=Array.isArray;function B(e){return U(e)}function H(e){return""+e}function W(e){if(function(e){try{return H(e),!1}catch(t){return!0}}(e))return g("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)),H(e)}var G,q,Y=h.ReactCurrentOwner,K={key:!0,ref:!0,__self:!0,__source:!0};function X(e,n,r,o,i){var a,s={},l=null,u=null;for(a in void 0!==r&&(W(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)&&(W(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,a)&&!K.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){G||(G=!0,g("%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(){q||(q=!0,g("%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,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_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:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,o,Y.current,s)}var Q,J=h.ReactCurrentOwner,Z=h.ReactDebugCurrentFrame;function ee(e){if(e){var t=e._owner,n=j(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),g('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 ie(e,t){if("object"==typeof e)if(B(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 i,a=o.call(e);!(i=a.next()).done;)te(i.value)&&oe(i.value,t)}}function ae(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 i=Function.call.bind(V);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(z(o),g("%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,a,typeof s),z(null)),s instanceof Error&&!(s.message in $)&&($[s.message]=!0,z(o),g("Failed %s type: %s",n,s.message),z(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Q){Q=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("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===i||e===o||e===u||e===c||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||void 0!==e.getModuleId)}(e);if(!x){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _;S+=ne(),null===e?_="null":B(e)?_="array":void 0!==e&&e.$$typeof===t?(_="<"+(y(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,g("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 T=n.children;if(void 0!==T)if(h)if(B(T)){for(var k=0;k<T.length;k++)ie(T[k],e);Object.freeze&&Object.freeze(T)}else g("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(T,e)}if(V.call(n,"key")){var A=y(e),C=Object.keys(n).filter(function(e){return"key"!==e}),O=C.length>0?"{key: someKey, "+C.join(": ..., ")+": ...}":"{key: someKey}";if(!se[A+O])g('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,C.length>0?"{"+C.join(": ..., ")+": ...}":"{}",A),se[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){ee(e),g("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),g("Invalid attribute `ref` supplied to `React.Fragment`."),ee(null))}(E):ae(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 i=r-1>>>1,a=e[i];if(!(o(a,t)>0))return;e[i]=t,e[r]=a,r=i}}(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,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(o(l,t)<0)u<i&&o(c,l)<0?(e[r]=c,e[u]=t,r=u):(e[r]=l,e[s]=t,r=s);else{if(!(u<i&&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 i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,p=3,f=!1,m=!1,h=!1,g="function"==typeof setTimeout?setTimeout:null,v="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,D(x);else{var t=n(u);null!==t&&N(w,t.startTime-e)}}function x(t,o){m=!1,h&&(h=!1,P()),f=!0;var i=p;try{return function(t,o){var i=o;for(y(i),d=n(l);null!==d&&(!(d.expirationTime>i)||t&&!A());){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)return!0;var c=n(u);return null!==c&&N(w,c.startTime-i),!1}(t,o)}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S=!1,_=null,E=-1,T=5,k=-1;function A(){return!(e.unstable_now()-k<T)}var C,O=function(){if(null!==_){var t=e.unstable_now();k=t;var n=!0;try{n=_(!0,t)}finally{n?C():(S=!1,_=null)}}else S=!1};if("function"==typeof b)C=function(){b(O)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,I=R.port2;R.port1.onmessage=O,C=function(){I.postMessage(null)}}else C=function(){g(O,0)};function D(e){_=e,S||(S=!0,C())}function N(t,n){E=g(function(){t(e.unstable_now())},n)}function P(){v(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,D(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"):T=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,i){var a,s,d=e.unstable_now();if("object"==typeof i&&null!==i){var p=i.delay;a="number"==typeof p&&p>0?d+p:d}else a=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 g=a+s,v={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:g,sortIndex:-1};return a>d?(v.sortIndex=a,t(u,v),null===n(l)&&v===n(u)&&(h?P():h=!0,N(w,a-d))):(v.sortIndex=g,t(l,v),m||f||(m=!0,D(x))),v},e.unstable_shouldYield=A,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];a("warn",e,n)}}function i(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];a("error",e,n)}}function a(e,t,r){var o=n.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var i=r.map(function(e){return String(e)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}var s=10,l=11,u=12,c=13,d=14,p=15,f=17,m=18,h=19,g=21,v=22,b=23,y=!1,w=!1,x=new Set,S={},_={};function E(e,t){T(e,t),T(e+"Capture",t)}function T(e,t){S[e]&&i("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),S[e]=t;var n=e.toLowerCase();_[n]=e,"onDoubleClick"===e&&(_.ondblclick=e);for(var r=0;r<t.length;r++)x.add(t[r])}var k=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),A=Object.prototype.hasOwnProperty;function C(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function O(e){try{return R(e),!1}catch(t){return!0}}function R(e){return""+e}function I(e,t){if(O(e))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}function D(e){if(O(e))return i("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.",C(e)),R(e)}var N=":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",P=N+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",M=new RegExp("^["+N+"]["+P+"]*$"),L={},j={};function V(e){return!!A.call(j,e)||!A.call(L,e)&&(M.test(e)?(j[e]=!0,!0):(L[e]=!0,i("Invalid attribute name: `%s`",e),!1))}function $(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 F(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 z(e,t,n,r){if(null==t)return!0;if(F(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 U(e){return H.hasOwnProperty(e)?H[e]:null}function B(e,t,n,r,o,i,a){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=i,this.removeEmptyString=a}var H={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){H[e]=new B(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];H[t]=new B(t,1,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){H[e]=new B(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){H[e]=new B(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){H[e]=new B(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){H[e]=new B(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){H[e]=new B(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){H[e]=new B(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){H[e]=new B(e,5,!1,e.toLowerCase(),null,!1,!1)});var W=/[\-\:]([a-z])/g,G=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(W,G);H[t]=new B(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(W,G);H[t]=new B(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(W,G);H[t]=new B(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){H[e]=new B(e,1,!1,e.toLowerCase(),null,!1,!1)});H.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){H[e]=new B(e,1,!1,e.toLowerCase(),null,!0,!0)});var q=/^[\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&&q.test(e)&&(Y=!0,i("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];I(n,t),r.sanitizeURL&&K(""+n);var o=r.attributeName,i=null;if(4===r.type){if(e.hasAttribute(o)){var a=e.getAttribute(o);return""===a||(z(t,n,r,!1)?a:a===""+n?n:a)}}else if(e.hasAttribute(o)){if(z(t,n,r,!1))return e.getAttribute(o);if(3===r.type)return n;i=e.getAttribute(o)}return z(t,n,r,!1)?null===i?n:i:i===""+n?n:i}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 I(n,t),o===""+n?n:o}}function J(e,t,n,r){var o=U(t);if(!$(t,o,r))if(z(t,n,o,r)&&(n=null),r||null===o){if(V(t)){var i=t;null===n?e.removeAttribute(i):(I(n,t),e.setAttribute(i,""+n))}}else if(o.mustUseProperty){var a=o.propertyName;if(null===n){var s=o.type;e[a]=3!==s&&""}else e[a]=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="":(I(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"),ie=Symbol.for("react.context"),ae=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,ge,ve,be,ye,we,xe=Object.assign,Se=0;function _e(){}_e.__reactDisabledLog=!0;var Ee,Te=n.ReactCurrentDispatcher;function ke(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 Ae,Ce=!1,Oe="function"==typeof WeakMap?WeakMap:Map;function Re(e,t){if(!e||Ce)return"";var n,r=Ae.get(e);if(void 0!==r)return r;Ce=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Te.current,Te.current=null,function(){if(0===Se){me=console.log,he=console.info,ge=console.warn,ve=console.error,be=console.group,ye=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:_e,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Se++}();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(g){if(g&&n&&"string"==typeof g.stack){for(var l=g.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&&Ae.set(e,p),p}}while(c>=1&&d>=0);break}}}finally{Ce=!1,Te.current=o,function(){if(0===--Se){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:ge}),error:xe({},e,{value:ve}),group:xe({},e,{value:be}),groupCollapsed:xe({},e,{value:ye}),groupEnd:xe({},e,{value:we})})}Se<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",m=f?ke(f):"";return"function"==typeof e&&Ae.set(e,m),m}function Ie(e,t,n){return Re(e,!1)}function De(e,t,n){if(null==e)return"";if("function"==typeof e)return Re(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return ke(e);switch(e){case se:return ke("Suspense");case le:return ke("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case ae:return Ie(e.render);case ue:return De(e.type,t,n);case ce:var o=e,i=o._payload,a=o._init;try{return De(a(i),t,n)}catch(s){}}return""}function Ne(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return ke(e.type);case 16:return ke("Lazy");case c:return ke("Suspense");case h:return ke("SuspenseList");case 0:case 2:case p:return Ie(e.type);case l:return Ie(e.type.render);case 1:return Re(e.type,!0);default:return""}}function Pe(e){try{var t="",n=e;do{t+=Ne(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 Le(e){if(null==e)return null;if("number"==typeof e.tag&&i("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 ie:return Me(e)+".Consumer";case oe:return Me(e._context)+".Provider";case ae: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:Le(e.type)||"Memo";case ce:var n=e,r=n._payload,o=n._init;try{return Le(o(r))}catch(a){return null}}return null}function je(e){return e.displayName||"Context"}function Ve(e){var t,n,r,o,i=e.tag,a=e.type;switch(i){case 24:return"Cache";case 9:return je(a)+".Consumer";case s:return je(a._context)+".Provider";case 18:return"DehydratedFragment";case l:return t=a,n=a.render,r="ForwardRef",o=n.displayName||n.name||"",t.displayName||(""!==o?r+"("+o+")":r);case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Le(a);case 8:return a===ne?"StrictMode":"Mode";case v:return"Offscreen";case u:return"Profiler";case g: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 a)return a.displayName||a.name||null;if("string"==typeof a)return a}return null}Ae=new Oe;var $e=n.ReactDebugCurrentFrame,Fe=null,ze=!1;function Ue(){if(null===Fe)return null;var e=Fe._debugOwner;return null!=e?Ve(e):null}function Be(){return null===Fe?"":Pe(Fe)}function He(){$e.getCurrentStack=null,Fe=null,ze=!1}function We(e){$e.getCurrentStack=null===e?null:Be,Fe=e,ze=!1}function Ge(e){ze=e}function qe(e){return""+e}function Ye(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return D(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||i("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||i("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);D(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,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){D(e),r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var a={getValue:function(){return r},setValue:function(e){D(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return a}}(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,it=!1;function at(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||(i("%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",Ue()||"A component",t.type),rt=!0),void 0===t.value||void 0===t.defaultValue||nt||(i("%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",Ue()||"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:at(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=at(t);n._wrapperState.controlled||!r||it||(i("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"),it=!0),!n._wrapperState.controlled||r||ot||(i("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),a=t.type;if(null!=o)"number"===a?(0===o&&""===n.value||n.value!=o)&&(n.value=qe(o)):n.value!==qe(o)&&(n.value=qe(o));else if("submit"===a||"reset"===a)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 i=qe(r._wrapperState.initialValue);n||i!==r.value&&(r.value=i),r.defaultValue=i}var a=r.name;""!==a&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==a&&(r.name=a)}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;I(n,"name");for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<o.length;i++){var a=o[i];if(a!==e&&a.form===e.form){var s=Qu(a);if(!s)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");et(a),ct(a,s)}}}}(n,t)}function ft(e,t,n){"number"===t&&tt(e.ownerDocument)===e||(null==n?e.defaultValue=qe(e._wrapperState.initialValue):e.defaultValue!==qe(n)&&(e.defaultValue=qe(n)))}var mt=!1,ht=!1,gt=!1;function vt(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,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):null!=n.dangerouslySetInnerHTML&&(gt||(gt=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||mt||(i("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=Ue();return e?"\n\nCheck the render method of `"+e+"`.":""}bt=!1;var St=["value","defaultValue"];function _t(e,t,n,r){var o=e.options;if(t){for(var i=n,a={},s=0;s<i.length;s++)a["$"+i[s]]=!0;for(var l=0;l<o.length;l++){var u=a.hasOwnProperty("$"+o[l].value);o[l].selected!==u&&(o[l].selected=u),u&&r&&(o[l].defaultSelected=!0)}}else{for(var c=qe(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 Tt(e,t){var n=e;!function(e){Xe(0,e);for(var t=0;t<St.length;t++){var n=St[t];if(null!=e[n]){var r=wt(e[n]);e.multiple&&!r?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,xt()):!e.multiple&&r&&i("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||(i("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 kt=!1;function At(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:qe(n._wrapperState.initialValue)})}function Ct(e,t){var n=e;Xe(0,t),void 0===t.value||void 0===t.defaultValue||kt||(i("%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",Ue()||"A component"),kt=!0);var r=t.value;if(null==r){var o=t.children,a=t.defaultValue;if(null!=o){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=a)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]}a=o}null==a&&(a=""),r=a}n._wrapperState={initialValue:Ye(r)}}function Ot(e,t){var n=e,r=Ye(t.value),o=Ye(t.defaultValue);if(null!=r){var i=qe(r);i!==n.value&&(n.value=i),null==t.defaultValue&&n.defaultValue!==i&&(n.defaultValue=i)}null!=o&&(n.defaultValue=qe(o))}function Rt(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var It="http://www.w3.org/1999/xhtml",Dt="http://www.w3.org/2000/svg";function Nt(e){switch(e){case"svg":return Dt;case"math":return"http://www.w3.org/1998/Math/MathML";default:return It}}function Pt(e,t){return null==e||e===It?Nt(t):e===Dt&&"foreignObject"===t?It:e}var Mt,Lt,jt=(Lt=function(e,t){if(e.namespaceURI!==Dt||"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 Lt(e,t,n,r)})}:Lt),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},$t={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"]},Ft={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 zt=["Webkit","ms","Moz","O"];function Ut(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ft.hasOwnProperty(e)&&Ft[e]?(function(e,t){if(O(e))i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(Ft).forEach(function(e){zt.forEach(function(t){Ft[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=Ft[e]})});var Bt=/([A-Z])/g,Ht=/^ms-/;function Wt(e){return e.replace(Bt,"-$1").toLowerCase().replace(Ht,"-ms-")}var Gt=/^(?:webkit|moz|o)[A-Z]/,qt=/^-ms-/,Yt=/-(.)/g,Kt=/;\s*$/,Xt={},Qt={},Jt=!1,Zt=!1,en=function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,i("Unsupported style property %s. Did you mean %s?",e,e.replace(qt,"ms-").replace(Yt,function(e,t){return t.toUpperCase()})))},tn=function(e,t){e.indexOf("-")>-1?en(e):Gt.test(e)?function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,i("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,i('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,i("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e){Zt||(Zt=!0,i("`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 i=0===r.indexOf("--");t+=n+(i?r:Wt(r))+":",t+=Ut(r,o,i),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 i=Ut(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,i):n[r]=i}}function on(e){return null==e||"boolean"==typeof e||""===e}function an(e){var t={};for(var n in e)for(var r=$t[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&&i("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)-["+P+"]*$"),mn=new RegExp("^(aria)[A-Z]["+P+"]*$");function hn(e,t){if(A.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 i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),pn[t]=!0,!0;if(t!==r)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),pn[t]=!0,!0}if(fn.test(t)){var o=t.toLowerCase(),a=dn.hasOwnProperty(o)?o:null;if(null==a)return pn[t]=!0,!1;if(t!==a)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,a),pn[t]=!0,!0}return!0}function gn(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?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e):n.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e)}(e,t)}var vn=!1;var bn,yn={},wn=/^on./,xn=/^on[^A-Z]/,Sn=new RegExp("^(aria)-["+P+"]*$"),_n=new RegExp("^(aria)[A-Z]["+P+"]*$");bn=function(e,t,n,r){if(A.call(yn,t)&&yn[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return i("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 a=r.registrationNameDependencies,s=r.possibleRegistrationNames;if(a.hasOwnProperty(t))return!0;var l=s.hasOwnProperty(o)?s[o]:null;if(null!=l)return i("Invalid event handler property `%s`. Did you mean `%s`?",t,l),yn[t]=!0,!0;if(wn.test(t))return i("Unknown event handler property `%s`. It will be ignored.",t),yn[t]=!0,!0}else if(wn.test(t))return xn.test(t)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),yn[t]=!0,!0;if(Sn.test(t)||_n.test(t))return!0;if("innerhtml"===o)return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),yn[t]=!0,!0;if("aria"===o)return i("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 i("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 i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),yn[t]=!0,!0;var u=U(t),c=null!==u&&0===u.type;if(cn.hasOwnProperty(o)){var d=cn[o];if(d!==t)return i("Invalid DOM property `%s`. Did you mean `%s`?",t,d),yn[t]=!0,!0}else if(!c&&t!==o)return i("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&&F(t,n,u,!1)?(n?i('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):i('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||(F(t,n,u,!1)?(yn[t]=!0,!1):("false"!==n&&"true"!==n||null===u||3!==u.type||(i("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 a=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?i("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 ",a,e):r.length>1&&i("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 ",a,e)}(e,t,n)}var Tn=null;function kn(e){null!==Tn&&i("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Tn=e}function An(){null===Tn&&i("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Tn=null}function Cn(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var On=null,Rn=null,In=null;function Dn(e){var t=Ku(e);if(t){if("function"!=typeof On)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);On(t.stateNode,t.type,r)}}}function Nn(e){Rn?In?In.push(e):In=[e]:Rn=e}function Pn(){if(Rn){var e=Rn,t=In;if(Rn=null,In=null,Dn(e),t)for(var n=0;n<t.length;n++)Dn(t[n])}}var Mn=function(e,t){return e(t)},Ln=function(){},jn=!1;function Vn(){(null!==Rn||null!==In)&&(Ln(),Pn())}function $n(e,t,n){if(jn)return e(t,n);jn=!0;try{return Mn(e,t,n)}finally{jn=!1,Vn()}}function Fn(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 zn=!1;if(k)try{var Un={};Object.defineProperty(Un,"passive",{get:function(){zn=!0}}),window.addEventListener("test",Un,Un),window.removeEventListener("test",Un,Un)}catch(rx){zn=!1}function Bn(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Hn=Bn;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var Wn=document.createElement("react");Hn=function(e,t,n,r,o,i,a,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(){Wn.removeEventListener(x,v,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=p)}var h,g=Array.prototype.slice.call(arguments,3);function v(){c=!0,m(),t.apply(n,g),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),Wn.addEventListener(x,v,!1),u.initEvent(x,!1,!1),Wn.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(),Bn.apply(this,arguments)}}var Gn=Hn,qn=!1,Yn=null,Kn=!1,Xn=null,Qn={onError:function(e){qn=!0,Yn=e}};function Jn(e,t,n,r,o,i,a,s,l){qn=!1,Yn=null,Gn.apply(Qn,arguments)}function Zn(){if(qn){var e=Yn;return qn=!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,ir=1024,ar=2048,sr=4096,lr=8192,ur=16384,cr=32768,dr=65536,pr=131072,fr=1048576,mr=2097152,hr=4194304,gr=16777216,vr=33554432,br=1028,yr=12854,wr=8772,xr=2064,Sr=14680064,_r=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 Tr(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 kr(e){return 3===e.tag?e.stateNode.containerInfo:null}function Ar(e){if(Er(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Cr(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 i=r.return;if(null===i)break;var a=i.alternate;if(null===a){var s=i.return;if(null!==s){r=o=s;continue}break}if(i.child===a.child){for(var l=i.child;l;){if(l===r)return Ar(i),e;if(l===o)return Ar(i),t;l=l.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=i,o=a;else{for(var u=!1,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){for(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)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 Or(e){var t=Cr(e);return null!==t?Rr(t):null}function Rr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=Rr(t);if(null!==n)return n;t=t.sibling}return null}function Ir(e){var t=Cr(e);return null!==t?Dr(t):null}function Dr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){if(4!==t.tag){var n=Dr(t);if(null!==n)return n}t=t.sibling}return null}var Nr=t.unstable_scheduleCallback,Pr=t.unstable_cancelCallback,Mr=t.unstable_shouldYield,Lr=t.unstable_requestPaint,jr=t.unstable_now,Vr=t.unstable_getCurrentPriorityLevel,$r=t.unstable_ImmediatePriority,Fr=t.unstable_UserBlockingPriority,zr=t.unstable_NormalPriority,Ur=t.unstable_LowPriority,Br=t.unstable_IdlePriority,Hr=t.unstable_yieldValue,Wr=t.unstable_setDisableYieldValue,Gr=null,qr=null,Yr=null,Kr=!1,Xr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Qr(e){if("function"==typeof Hr&&(Wr(e),r=e),qr&&"function"==typeof qr.setStrictMode)try{qr.setStrictMode(Gr,e)}catch(t){Kr||(Kr=!0,i("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 io(e){null!==Yr&&"function"==typeof Yr.markComponentPassiveEffectUnmountStarted&&Yr.markComponentPassiveEffectUnmountStarted(e)}function ao(){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 go(e,t){null!==Yr&&"function"==typeof Yr.markStateUpdateScheduled&&Yr.markStateUpdateScheduled(e,t)}var vo=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,So=1,_o=2,Eo=4,To=8,ko=16,Ao=32,Co=4194240,Oo=1024,Ro=2048,Io=4096,Do=8192,No=16384,Po=32768,Mo=65536,Lo=131072,jo=262144,Vo=524288,$o=1048576,Fo=2097152,zo=130023424,Uo=4194304,Bo=8388608,Ho=16777216,Wo=33554432,Go=67108864,qo=Uo,Yo=134217728,Ko=268435455,Xo=268435456,Qo=536870912,Jo=1073741824;function Zo(e){return e&So?"Sync":e&_o?"InputContinuousHydration":e&Eo?"InputContinuous":e&To?"DefaultHydration":e&ko?"Default":e&Ao?"TransitionHydration":e&Co?"Transition":e&zo?"Retry":e&Yo?"SelectiveHydration":e&Xo?"IdleHydration":e&Qo?"Idle":e&Jo?"Offscreen":void 0}var ei=-1,ti=64,ni=Uo;function ri(e){switch(pi(e)){case So:return So;case _o:return _o;case Eo:return Eo;case To:return To;case ko:return ko;case Ao:return Ao;case 64:case 128:case 256:case 512:case Oo:case Ro:case Io:case Do:case No:case Po:case Mo:case Lo:case jo:case Vo:case $o:case Fo:return e&Co;case Uo:case Bo:case Ho:case Wo:case Go:return e&zo;case Yo:return Yo;case Xo:return Xo;case Qo:return Qo;case Jo:return Jo;default:return i("Should have found matching lanes. This is a bug in React."),e}}function oi(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&Ko;if(0!==a){var s=a&~o;if(0!==s)r=ri(s);else{var l=a&i;0!==l&&(r=ri(l))}}else{var u=n&~o;0!==u?r=ri(u):0!==i&&(r=ri(i))}if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)){var c=pi(r),d=pi(t);if(c>=d||c===ko&&0!==(d&Co))return t}0!==(r&Eo)&&(r|=n&ko);var p=e.entangledLanes;if(0!==p)for(var f=e.entanglements,m=r&p;m>0;){var h=mi(m),g=1<<h;r|=f[h],m&=~g}return r}function ii(e,t){switch(e){case So:case _o:case Eo:return t+250;case To:case ko:case Ao:case 64:case 128:case 256:case 512:case Oo:case Ro:case Io:case Do:case No:case Po:case Mo:case Lo:case jo:case Vo:case $o:case Fo:return t+5e3;case Uo:case Bo:case Ho:case Wo:case Go:case Yo:case Xo:case Qo:case Jo:return ei;default:return i("Should have found matching lanes. This is a bug in React."),ei}}function ai(e){var t=e.pendingLanes&~Jo;return 0!==t?t:t&Jo?Jo:0}function si(e){return 0!==(e&Ko)}function li(e){return(e&zo)===e}function ui(e,t){return 0!==(t&(_o|Eo|To|ko))}function ci(e){return 0!==(e&Co)}function di(){var e=ti;return 0===((ti<<=1)&Co)&&(ti=64),e}function pi(e){return e&-e}function fi(e){return pi(e)}function mi(e){return 31-bo(e)}function hi(e){return mi(e)}function gi(e,t){return 0!==(e&t)}function vi(e,t){return(e&t)===t}function bi(e,t){return e|t}function yi(e,t){return e&~t}function wi(e,t){return e&t}function xi(e){for(var t=[],n=0;n<xo;n++)t.push(e);return t}function Si(e,t,n){e.pendingLanes|=t,t!==Qo&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[hi(t)]=n}function _i(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function Ei(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,o=n;o;){var i=mi(o),a=1<<i;a&t|r[i]&t&&(r[i]|=t),o&=~a}}function Ti(e,t,n){if(Xr)for(var r=e.pendingUpdatersLaneMap;n>0;){var o=hi(n),i=1<<o;r[o].add(t),n&=~i}}function ki(e,t){if(Xr)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var o=hi(t),i=1<<o,a=n[o];a.size>0&&(a.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),a.clear()),t&=~i}}var Ai,Ci,Oi,Ri,Ii,Di=So,Ni=Eo,Pi=ko,Mi=Qo,Li=0;function ji(){return Li}function Vi(e){Li=e}function $i(e,t){return 0!==e&&e<t}function Fi(e){var t=pi(e);return $i(Di,t)?$i(Ni,t)?si(t)?Pi:Mi:Ni:Di}function zi(e){return e.current.memoizedState.isDehydrated}function Ui(e){Ai(e)}var Bi=!1,Hi=[],Wi=null,Gi=null,qi=null,Yi=new Map,Ki=new Map,Xi=[],Qi=["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 Ji(e,t){switch(e){case"focusin":case"focusout":Wi=null;break;case"dragenter":case"dragleave":Gi=null;break;case"mouseover":case"mouseout":qi=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Yi.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;Ki.delete(r)}}function Zi(e,t,n,r,o,i){if(null===e||e.nativeEvent!==i){var a=function(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]}}(t,n,r,o,i);if(null!==t){var s=Ku(t);null!==s&&Ci(s)}return a}e.eventSystemFlags|=r;var l=e.targetContainers;return null!==o&&-1===l.indexOf(o)&&l.push(o),e}function ea(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=Tr(n);if(null!==o)return e.blockedOn=o,void Ii(e.priority,function(){Oi(n)})}else if(3===r){if(zi(n.stateNode))return void(e.blockedOn=kr(n))}}}e.blockedOn=null}function ta(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],r=fa(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(null!==r){var o=Ku(r);return null!==o&&Ci(o),e.blockedOn=r,!1}var i=e.nativeEvent,a=new i.constructor(i.type,i);kn(a),i.target.dispatchEvent(a),An(),t.shift()}return!0}function na(e,t,n){ta(e)&&n.delete(t)}function ra(){Bi=!1,null!==Wi&&ta(Wi)&&(Wi=null),null!==Gi&&ta(Gi)&&(Gi=null),null!==qi&&ta(qi)&&(qi=null),Yi.forEach(na),Ki.forEach(na)}function oa(e,n){e.blockedOn===n&&(e.blockedOn=null,Bi||(Bi=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,ra)))}function ia(e){if(Hi.length>0){oa(Hi[0],e);for(var t=1;t<Hi.length;t++){var n=Hi[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Wi&&oa(Wi,e),null!==Gi&&oa(Gi,e),null!==qi&&oa(qi,e);var r=function(t){return oa(t,e)};Yi.forEach(r),Ki.forEach(r);for(var o=0;o<Xi.length;o++){var i=Xi[o];i.blockedOn===e&&(i.blockedOn=null)}for(;Xi.length>0;){var a=Xi[0];if(null!==a.blockedOn)break;ea(a),null===a.blockedOn&&Xi.shift()}}var aa=n.ReactCurrentBatchConfig,sa=!0;function la(e){sa=!!e}function ua(e,t,n,r){var o=ji(),i=aa.transition;aa.transition=null;try{Vi(Di),da(e,t,n,r)}finally{Vi(o),aa.transition=i}}function ca(e,t,n,r){var o=ji(),i=aa.transition;aa.transition=null;try{Vi(Ni),da(e,t,n,r)}finally{Vi(o),aa.transition=i}}function da(e,t,n,r){sa&&function(e,t,n,r){var o=fa(e,t,n,r);if(null===o)return yl(e,t,r,pa,n),void Ji(e,r);if(function(e,t,n,r,o){switch(t){case"focusin":return Wi=Zi(Wi,e,t,n,r,o),!0;case"dragenter":return Gi=Zi(Gi,e,t,n,r,o),!0;case"mouseover":return qi=Zi(qi,e,t,n,r,o),!0;case"pointerover":var i=o,a=i.pointerId;return Yi.set(a,Zi(Yi.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":var s=o,l=s.pointerId;return Ki.set(l,Zi(Ki.get(l)||null,e,t,n,r,s)),!0}return!1}(o,e,t,n,r))return void r.stopPropagation();if(Ji(e,r),4&t&&function(e){return Qi.indexOf(e)>-1}(e)){for(;null!==o;){var i=Ku(o);null!==i&&Ui(i);var a=fa(e,t,n,r);if(null===a&&yl(e,t,r,pa,n),a===o)break;o=a}return void(null!==o&&r.stopPropagation())}yl(e,t,r,null,n)}(e,t,n,r)}var pa=null;function fa(e,t,n,r){pa=null;var o=Yu(Cn(r));if(null!==o){var i=Er(o);if(null===i)o=null;else{var a=i.tag;if(a===c){var s=Tr(i);if(null!==s)return s;o=null}else if(3===a){if(zi(i.stateNode))return kr(i);o=null}else i!==o&&(o=null)}}return pa=o,null}function ma(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 Di;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 Ni;case"message":switch(Vr()){case $r:return Di;case Fr:return Ni;case zr:case Ur:return Pi;case Br:return Mi;default:return Pi}default:return Pi}}var ha=null,ga=null,va=null;function ba(){if(va)return va;var e,t,n=ga,r=n.length,o=ya(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var s=t>1?1-t:void 0;return va=o.slice(e,s)}function ya(){return"value"in ha?ha.value:ha.textContent}function wa(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 xa(){return!0}function Sa(){return!1}function _a(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)if(e.hasOwnProperty(a)){var s=e[a];this[a]=s?s(o):o[a]}var l=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=l?xa:Sa,this.isPropagationStopped=Sa,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=xa)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=xa)},persist:function(){},isPersistent:xa}),t}var Ea,Ta,ka,Aa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ca=_a(Aa),Oa=xe({},Aa,{view:0,detail:0}),Ra=_a(Oa);var Ia=xe({},Oa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ba,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!==ka&&(ka&&"mousemove"===e.type?(Ea=e.screenX-ka.screenX,Ta=e.screenY-ka.screenY):(Ea=0,Ta=0),ka=e)}(e),Ea)},movementY:function(e){return"movementY"in e?e.movementY:Ta}}),Da=_a(Ia),Na=_a(xe({},Ia,{dataTransfer:0})),Pa=_a(xe({},Oa,{relatedTarget:0})),Ma=_a(xe({},Aa,{animationName:0,elapsedTime:0,pseudoElement:0})),La=_a(xe({},Aa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ja=_a(xe({},Aa,{data:0})),Va=ja,$a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fa={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 za={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ua(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=za[e];return!!n&&!!t[n]}function Ba(e){return Ua}var Ha=_a(xe({},Oa,{key:function(e){if(e.key){var t=$a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=wa(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?Fa[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ba,charCode:function(e){return"keypress"===e.type?wa(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?wa(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Wa=_a(xe({},Ia,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ga=_a(xe({},Oa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ba})),qa=_a(xe({},Aa,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ya=_a(xe({},Ia,{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})),Ka=[9,13,27,32],Xa=229,Qa=k&&"CompositionEvent"in window,Ja=null;k&&"documentMode"in document&&(Ja=document.documentMode);var Za=k&&"TextEvent"in window&&!Ja,es=k&&(!Qa||Ja&&Ja>8&&Ja<=11),ts=32,ns=String.fromCharCode(ts);var rs=!1;function os(e,t){switch(e){case"keyup":return-1!==Ka.indexOf(t.keyCode);case"keydown":return t.keyCode!==Xa;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function is(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function as(e){return"ko"===e.locale}var ss=!1;function ls(e,t,n,r,o){var i,a;if(Qa?i=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):ss?os(t,r)&&(i="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===Xa}(t,r)&&(i="onCompositionStart"),!i)return null;es&&!as(r)&&(ss||"onCompositionStart"!==i?"onCompositionEnd"===i&&ss&&(a=ba()):ss=function(e){return ha=e,ga=ya(),!0}(o));var s=xl(n,i);if(s.length>0){var l=new ja(i,t,null,r,o);if(e.push({event:l,listeners:s}),a)l.data=a;else{var u=is(r);null!==u&&(l.data=u)}}}function us(e,t){if(ss){if("compositionend"===e||!Qa&&os(e,t)){var n=ba();return ha=null,ga=null,va=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&&!as(t)?null:t.data}}function cs(e,t,n,r,o){var i;if(!(i=Za?function(e,t){switch(e){case"compositionend":return is(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 a=xl(n,"onBeforeInput");if(a.length>0){var s=new Va("onBeforeInput","beforeinput",null,r,o);e.push({event:s,listeners:a}),s.data=i}}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){Nn(r);var o=xl(t,"onChange");if(o.length>0){var i=new Ca("onChange","change",null,n,r);e.push({event:i,listeners:o})}}var ms=null,hs=null;function gs(e){pl(e,0)}function vs(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&&vs(hs)&&function(e){var t=[];fs(t,hs,e,Cn(e)),$n(gs,t)}(e)}function Ss(e,t,n){"focusin"===e?(ws(),function(e,t){hs=t,(ms=e).attachEvent("onpropertychange",xs)}(t,n)):"focusout"===e&&ws()}function _s(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return vs(hs)}function Es(e,t){if("click"===e)return vs(t)}function Ts(e,t){if("input"===e||"change"===e)return vs(t)}function ks(e,t,n,r,o,i,a){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=Ts:(s=_s,l=Ss):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 As(e,t,n,r,o,i,a){var s="mouseover"===t||"pointerover"===t,l="mouseout"===t||"pointerout"===t;if(s&&r!==Tn){var u=r.relatedTarget||r.fromElement;if(u&&(Yu(u)||qu(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=Da,g="onMouseLeave",v="onMouseEnter",b="mouse";"pointerout"!==t&&"pointerover"!==t||(h=Wa,g="onPointerLeave",v="onPointerEnter",b="pointer");var y=null==d?c:Xu(d),w=null==p?c:Xu(p),x=new h(g,b+"leave",d,r,o);x.target=y,x.relatedTarget=w;var S=null;if(Yu(o)===n){var _=new h(v,b+"enter",p,r,o);_.target=w,_.relatedTarget=y,S=_}!function(e,t,n,r,o){var i=r&&o?function(e,t){for(var n=e,r=t,o=0,i=n;i;i=Sl(i))o++;for(var a=0,s=r;s;s=Sl(s))a++;for(;o-a>0;)n=Sl(n),o--;for(;a-o>0;)r=Sl(r),a--;var l=o;for(;l--;){if(n===r||null!==r&&n===r.alternate)return n;n=Sl(n),r=Sl(r)}return null}(r,o):null;null!==r&&_l(e,t,r,i,!1);null!==o&&null!==n&&_l(e,n,o,i,!0)}(e,x,S,d,p)}}}k&&(ys=function(e){if(!k)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 Cs="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Os(e,t){if(Cs(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 i=n[o];if(!A.call(t,i)||!Cs(e[i],t[i]))return!1}return!0}function Rs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Is(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ds(e,t){for(var n=Rs(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=Rs(Is(n))}}function Ns(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,i=r.anchorOffset,a=r.focusNode,s=r.focusOffset;try{o.nodeType,a.nodeType}catch(rx){return null}return function(e,t,n,r,o){var i=0,a=-1,s=-1,l=0,u=0,c=e,d=null;e:for(;;){for(var p=null;c!==t||0!==n&&3!==c.nodeType||(a=i+n),c!==r||0!==o&&3!==c.nodeType||(s=i+o),3===c.nodeType&&(i+=c.nodeValue.length),null!==(p=c.firstChild);)d=c,c=p;for(;;){if(c===e)break e;if(d===t&&++l===n&&(a=i),d===r&&++u===o&&(s=i),null!==(p=c.nextSibling))break;d=(c=d).parentNode}c=p}if(-1===a||-1===s)return null;return{start:a,end:s}}(e,o,i,a,s)}function Ps(e){return e&&3===e.nodeType}function Ms(e,t){return!(!e||!t)&&(e===t||!Ps(e)&&(Ps(t)?Ms(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ls(e){return e&&e.ownerDocument&&Ms(e.ownerDocument.documentElement,e)}function js(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(!js(t))return t;t=tt((e=t.contentWindow).document)}return t}function $s(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 Fs(e){var t=Vs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Ls(n)){null!==r&&$s(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(),i=e.textContent.length,a=Math.min(t.start,i),s=void 0===t.end?a:Math.min(t.end,i);if(!o.extend&&a>s){var l=s;s=a,a=l}var u=Ds(e,a),c=Ds(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(),a>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=[],i=n;i=i.parentNode;)1===i.nodeType&&o.push({element:i,left:i.scrollLeft,top:i.scrollTop});"function"==typeof n.focus&&n.focus();for(var a=0;a<o.length;a++){var s=o[a];s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}}function zs(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Ns(e))||{start:0,end:0}}var Us=k&&"documentMode"in document&&document.documentMode<=11;var Bs=null,Hs=null,Ws=null,Gs=!1;function qs(e,t,n){var r,o=(r=n).window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!Gs&&null!=Bs&&Bs===tt(o)){var i=function(e){if("selectionStart"in e&&$s(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}}(Bs);if(!Ws||!Os(Ws,i)){Ws=i;var a=xl(Hs,"onSelect");if(a.length>0){var s=new Ca("onSelect","select",null,t,n);e.push({event:s,listeners:a}),s.target=Bs}}}}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}k&&(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 il(e,t){rl.set(e,t),E(t,[e])}function al(e,t,n,r,o,i,a){var s=rl.get(t);if(void 0!==s){var l=Ca,u=t;switch(t){case"keypress":if(0===wa(r))return;case"keydown":case"keyup":l=Ha;break;case"focusin":u="focus",l=Pa;break;case"focusout":u="blur",l=Pa;break;case"beforeblur":case"afterblur":l=Pa;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=Da;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Na;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ga;break;case Zs:case el:case tl:l=Ma;break;case nl:l=qa;break;case"scroll":l=Ra;break;case"wheel":l=Ya;break;case"copy":case"cut":case"paste":l=La;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Wa}var c=!!(4&i),d=!c&&"scroll"===t,p=function(e,t,n,r,o){var i=null!==t?t+"Capture":null,a=r?i:t,s=[],l=e,u=null;for(;null!==l;){var c=l,d=c.stateNode;if(5===c.tag&&null!==d&&(u=d,null!==a)){var p=Fn(l,a);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,i,a){al(e,t,n,r,o,i),!(7&i)&&(As(e,t,n,r,o),ks(e,t,n,r,o),function(e,t,n,r,o){var i=n?Xu(n):window;switch(t){case"focusin":(ps(i)||"true"===i.contentEditable)&&(Bs=i,Hs=n,Ws=null);break;case"focusout":Bs=null,Hs=null,Ws=null;break;case"mousedown":Gs=!0;break;case"contextmenu":case"mouseup":case"dragend":Gs=!1,qs(e,r,o);break;case"selectionchange":if(Us)break;case"keydown":case"keyup":qs(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];il(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}il(Zs,"onAnimationEnd"),il(el,"onAnimationIteration"),il(tl,"onAnimationStart"),il("dblclick","onDoubleClick"),il("focusin","onFocus"),il("focusout","onBlur"),il(nl,"onTransitionEnd")}(),T("onMouseEnter",["mouseout","mouseover"]),T("onMouseLeave",["mouseout","mouseover"]),T("onPointerEnter",["pointerout","pointerover"]),T("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,i,a,s,l){if(Jn.apply(this,arguments),qn){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 i=t[o],a=i.instance,s=i.currentTarget,l=i.listener;if(a!==r&&e.isPropagationStopped())return;cl(e,l,s),r=a}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)||i('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[zu];void 0===t&&(t=e[zu]=new Set);return t}(t),r=function(e){return e+"__bubble"}(e);n.has(r)||(vl(t,e,2,!1),n.add(r))}function ml(e,t,n){ul.has(e)&&!t&&i('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),vl(n,e,r,t)}var hl="_reactListening"+Math.random().toString(36).slice(2);function gl(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 vl(e,t,n,r,o){var i=function(e,t,n){var r;switch(ma(t)){case Di:r=ua;break;case Ni:r=ca;break;default:r=da}return r.bind(null,t,n,e)}(e,t,n),a=void 0;zn&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0)),r?void 0!==a?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,i,a):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,i):void 0!==a?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,i,a):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,i)}function bl(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function yl(e,t,n,r,o){var i=r;if(!(1&t||2&t)){var a=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,a))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,a))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=i=p;continue e}u=u.parentNode}}s=s.return}}}$n(function(){return function(e,t,n,r){var o=[];sl(o,e,r,n,Cn(n),t),pl(o,t)}(e,t,n,i)})}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 i=o,a=i.stateNode;if(5===i.tag&&null!==a){var s=a,l=Fn(o,n);null!=l&&r.unshift(wl(o,l,s));var u=Fn(o,t);null!=u&&r.push(wl(o,u,s))}o=o.return}return r}function Sl(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function _l(e,t,n,r,o){for(var i=t._reactName,a=[],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=Fn(s,i);null!=f&&a.unshift(wl(s,f,p))}else if(!o){var m=Fn(s,i);null!=m&&a.push(wl(s,m,p))}}s=s.return}0!==a.length&&e.push({event:t,listeners:a})}var El,Tl,kl,Al,Cl,Ol,Rl,Il=!1,Dl="dangerouslySetInnerHTML",Nl="suppressContentEditableWarning",Pl="suppressHydrationWarning",Ml="autoFocus",Ll="children",jl="style",Vl="__html";El={dialog:!0,webview:!0},Tl=function(e,t){gn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||vn||(vn=!0,"select"===e&&t.multiple?i("`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):i("`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:S,possibleRegistrationNames:_})},Ol=k&&!document.documentMode,kl=function(e,t,n){if(!Il){var r=zl(n),o=zl(t);o!==r&&(Il=!0,i("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Al=function(e){if(!Il){Il=!0;var t=[];e.forEach(function(e){t.push(e)}),i("Extra attributes from the server: %s",t)}},Cl=function(e,t){!1===t?i("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):i("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Rl=function(e,t){var n=e.namespaceURI===It?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var $l=/\r\n?/g,Fl=/\u0000|\uFFFD/g;function zl(e){return function(e){if(O(e))i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}(e),("string"==typeof e?e:""+e).replace($l,"\n").replace(Fl,"")}function Ul(e,t,n,r){var o=zl(t),a=zl(e);if(a!==o&&(r&&(Il||(Il=!0,i('Text content did not match. Server: "%s" Client: "%s"',a,o))),n))throw new Error("Text content does not match server-rendered HTML.")}function Bl(e){return 9===e.nodeType?e:e.ownerDocument}function Hl(){}function Wl(e){e.onclick=Hl}function Gl(e,t,n,r){var o,i=un(t,n);switch(Tl(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 a=0;a<ll.length;a++)fl(ll[a],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":vt(0,n),o=n;break;case"select":Tt(e,n),o=Et(0,n),fl("invalid",e);break;case"textarea":Ct(e,n),o=At(e,n),fl("invalid",e);break;default:o=n}switch(ln(t,o),function(e,t,n,r,o){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];if(i===jl)a&&Object.freeze(a),rn(t,a);else if(i===Dl){var s=a?a[Vl]:void 0;null!=s&&jt(t,s)}else i===Ll?"string"==typeof a?("textarea"!==e||""!==a)&&Vt(t,a):"number"==typeof a&&Vt(t,""+a):i===Nl||i===Pl||i===Ml||(S.hasOwnProperty(i)?null!=a&&("function"!=typeof a&&Cl(i,a),"onScroll"===i&&fl("scroll",t)):null!=a&&J(t,i,a,o))}}(t,e,0,o,i),t){case"input":Ze(e),dt(e,n,!1);break;case"textarea":Ze(e),Rt(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",qe(Ye(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?_t(n,!!t.multiple,r,!1):null!=t.defaultValue&&_t(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Wl(e)}}function ql(e,t,n,r,o){Tl(t,r);var a,s,l,u,c=null;switch(t){case"input":a=st(e,n),s=st(e,r),c=[];break;case"select":a=Et(0,n),s=Et(0,r),c=[];break;case"textarea":a=At(e,n),s=At(e,r),c=[];break;default:s=r,"function"!=typeof(a=n).onClick&&"function"==typeof s.onClick&&Wl(e)}ln(t,s);var d=null;for(l in a)if(!s.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if(l===jl){var p=a[l];for(u in p)p.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else l===Dl||l===Ll||l===Nl||l===Pl||l===Ml||(S.hasOwnProperty(l)?c||(c=[]):(c=c||[]).push(l,null));for(l in s){var f=s[l],m=null!=a?a[l]:void 0;if(s.hasOwnProperty(l)&&f!==m&&(null!=f||null!=m))if(l===jl)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===Dl){var h=f?f[Vl]:void 0,g=m?m[Vl]:void 0;null!=h&&g!==h&&(c=c||[]).push(l,h)}else l===Ll?"string"!=typeof f&&"number"!=typeof f||(c=c||[]).push(l,""+f):l===Nl||l===Pl||(S.hasOwnProperty(l)?(null!=f&&("function"!=typeof f&&Cl(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 a in n){var s=n[a],l=r[a];if(l&&s!==l){var u=s+","+l;if(o[u])continue;o[u]=!0,i("%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[jl]),(c=c||[]).push(jl,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 i=t[o],a=t[o+1];i===jl?rn(e,a):i===Dl?jt(e,a):i===Ll?Vt(e,a):J(e,i,a,r)}}(e,t,0,un(n,o)),n){case"input":ct(e,o);break;case"textarea":Ot(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?_t(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?_t(n,!!t.multiple,t.defaultValue,!0):_t(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){Il||(Il=!0,i("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Ql(e,t){Il||(Il=!0,i('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Jl(e,t,n){Il||(Il=!0,i("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function Zl(e,t){""!==t&&(Il||(Il=!0,i('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"]),iu=["dd","dt","li","option","optgroup","p","rp","rt"],au={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};tu=function(e,t){var n=xe({},e||au),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||au).current,o=r&&r.tag;null!=t&&(null!=e&&i("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var a=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===iu.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=a?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=a||s;if(l){var u=l.tag,c=!!a+"|"+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+">",a){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."),i("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,p,f)}else i("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=sa,t=Vs(),mu={focusedElem:t,selectionRange:$s(t)?zs(t):null};return la(!1),null}function gu(e,t,n,r,o){var a=r;if(eu(e,null,a.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var s=""+t.children,l=tu(a.ancestorInfo,e);eu(null,s,l)}var u=function(e,t,n,r){var o,a,s=Bl(n),l=r;if(l===It&&(l=Nt(e)),l===It){if((o=un(e,t))||e===e.toLowerCase()||i("<%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;a=u.removeChild(c)}else if("string"==typeof t.is)a=s.createElement(e,{is:t.is});else if(a=s.createElement(e),"select"===e){var d=a;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else a=s.createElementNS(l,e);return l===It&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||A.call(El,e)||(El[e]=!0,i("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),a}(e,t,n,a.namespace);return Hu(o,u),Ju(u,t),u}function vu(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 Bl(t).createTextNode(e)}(e,t);return Hu(r,o),o}var wu="function"==typeof setTimeout?setTimeout:void 0,xu="function"==typeof clearTimeout?clearTimeout:void 0,Su="function"==typeof Promise?Promise:void 0,_u="function"==typeof queueMicrotask?queueMicrotask:void 0!==Su?function(e){return Su.resolve(null).then(e).catch(Eu)}:wu;function Eu(e){setTimeout(function(){throw e})}function Tu(e){Vt(e,"")}function ku(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType){var i=o.data;if(i===cu){if(0===r)return e.removeChild(o),void ia(t);r--}else i!==uu&&i!==du&&i!==pu||r++}n=o}while(n);ia(t)}function Au(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Cu(e){e.nodeValue=""}function Ou(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Ut("display",r)}function Ru(e,t){e.nodeValue=t}function Iu(e){return e.data===du}function Du(e){return e.data===pu}function Nu(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 Pu(e){return Nu(e.nextSibling)}function Mu(e,t,n,r,o,i,a){return Hu(i,e),Ju(e,n),function(e,t,n,r,o,i,a){var s,l;switch(s=un(t,n),Tl(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":vt(0,n);break;case"select":Tt(e,n),fl("invalid",e);break;case"textarea":Ct(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===Ll)"string"==typeof m?e.textContent!==m&&(!0!==n[Pl]&&Ul(e.textContent,m,i,a),p=[Ll,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==n[Pl]&&Ul(e.textContent,m,i,a),p=[Ll,""+m]);else if(S.hasOwnProperty(f))null!=m&&("function"!=typeof m&&Cl(f,m),"onScroll"===f&&fl("scroll",e));else if(a&&"boolean"==typeof s){var h=void 0,g=U(f);if(!0===n[Pl]);else if(f===Nl||f===Pl||"value"===f||"checked"===f||"selected"===f);else if(f===Dl){var v=e.innerHTML,b=m?m[Vl]:void 0;if(null!=b){var y=Rl(e,b);y!==v&&kl(f,v,y)}}else if(f===jl){if(l.delete(f),Ol){var w=nn(m);w!==(h=e.getAttribute("style"))&&kl(f,h,w)}}else if(s)l.delete(f.toLowerCase()),m!==(h=Q(e,f,m))&&kl(f,h,m);else if(!$(f,g,s)&&!z(f,m,g,s)){var x=!1;if(null!==g)l.delete(g.attributeName),h=X(e,f,m,g);else{var _=r;if(_===It&&(_=Nt(t)),_===It)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||kl(f,h,m)}}}switch(a&&l.size>0&&!0!==n[Pl]&&Al(l),t){case"input":Ze(e),dt(e,n,!0);break;case"textarea":Ze(e),Rt(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Wl(e)}return p}(e,t,n,o.namespace,0,!!(1&i.mode),a)}function Lu(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 ju=Math.random().toString(36).slice(2),Vu="__reactFiber$"+ju,$u="__reactProps$"+ju,Fu="__reactContainer$"+ju,zu="__reactEvents$"+ju,Uu="__reactListeners$"+ju,Bu="__reactHandles$"+ju;function Hu(e,t){t[Vu]=e}function Wu(e,t){t[Fu]=e}function Gu(e){e[Fu]=null}function qu(e){return!!e[Fu]}function Yu(e){var t=e[Vu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fu]||n[Vu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=Lu(e);null!==o;){var i=o[Vu];if(i)return i;o=Lu(o)}return t}n=(e=n).parentNode}return null}function Ku(e){var t=e[Vu]||e[Fu];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[$u]||null}function Ju(e,t){e[$u]=t}var Zu={},ec=n.ReactDebugCurrentFrame;function tc(e){if(e){var t=e._owner,n=De(e.type,e._source,t?t.type:null);ec.setExtraStackFrame(n)}else ec.setExtraStackFrame(null)}function nc(e,t,n,r,o){var a=Function.call.bind(A);for(var s in e)if(a(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),i("%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),i("Failed %s type: %s",n,l.message),tc(null))}}var rc,oc=[];rc=[];var ic,ac=-1;function sc(e){return{current:e}}function lc(e,t){ac<0?i("Unexpected pop."):(t!==rc[ac]&&i("Unexpected Fiber popped."),e.current=oc[ac],oc[ac]=null,rc[ac]=null,ac--)}function uc(e,t,n){ac++,oc[ac]=e.current,rc[ac]=n,e.current=t}ic={};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 gc(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 i in n)o[i]=t[i];return nc(n,o,"context",Ve(e)||"Unknown"),r&&hc(e,t,o),o}function vc(){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 Sc(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var a=Ve(e)||"Unknown";return ic[a]||(ic[a]=!0,i("%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.",a,a)),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 _c(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=Sc(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 Tc(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 kc=null,Ac=!1,Cc=!1;function Oc(e){null===kc?kc=[e]:kc.push(e)}function Rc(){Ac&&Ic()}function Ic(){if(!Cc&&null!==kc){Cc=!0;var e=0,t=ji();try{var n=kc;for(Vi(Di);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}kc=null,Ac=!1}catch(o){throw null!==kc&&(kc=kc.slice(e+1)),Nr($r,Ic),o}finally{Vi(t),Cc=!1}}return null}var Dc=[],Nc=0,Pc=null,Mc=0,Lc=[],jc=0,Vc=null,$c=1,Fc="";function zc(){var e=Fc;return($c&~function(e){return 1<<Wc(e)-1}($c)).toString(32)+e}function Uc(e,t){qc(),Dc[Nc++]=Mc,Dc[Nc++]=Pc,Pc=e,Mc=t}function Bc(e,t,n){qc(),Lc[jc++]=$c,Lc[jc++]=Fc,Lc[jc++]=Vc,Vc=e;var r=$c,o=Fc,i=Wc(r)-1,a=r&~(1<<i),s=n+1,l=Wc(t)+i;if(l>30){var u=i-i%5,c=(a&(1<<u)-1).toString(32),d=a>>u,p=i-u,f=Wc(t)+p;$c=1<<f|(s<<p|d),Fc=c+o}else{$c=1<<l|(s<<i|a),Fc=o}}function Hc(e){if(qc(),null!==e.return){Uc(e,1),Bc(e,1,0)}}function Wc(e){return 32-bo(e)}function Gc(e){for(;e===Pc;)Pc=Dc[--Nc],Dc[Nc]=null,Mc=Dc[--Nc],Dc[Nc]=null;for(;e===Vc;)Vc=Lc[--jc],Lc[jc]=null,Fc=Lc[--jc],Lc[jc]=null,$c=Lc[--jc],Lc[jc]=null}function qc(){bd()||i("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=Nu(t.firstChild),Yc=e,Xc=!0,Jc=null,Qc=!1,!0}function td(e,t,n){var r,o;return Kc=Nu(t.nextSibling),Yc=e,Xc=!0,Jc=null,Qc=!1,null!==n&&(r=e,o=n,qc(),Lc[jc++]=$c,Lc[jc++]=Fc,Lc[jc++]=Vc,$c=o.id,Fc=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=qy(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,i=e.stateNode;switch(t.tag){case 5:var a=t.type;t.pendingProps;!function(e,t,n,r,o,i){(i||!0!==t[lu])&&Jl(n,r)}(0,o,i,a,0,!!(1&e.mode));break;case 6:!function(e,t,n,r,o){(o||!0!==t[lu])&&Zl(n,r)}(0,o,i,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 id(e,t){t.flags=-4097&t.flags|2,od(e,t)}function ad(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=Nu(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 i=function(e){return 8!==e.nodeType?null:e}(t);if(null!==i){var a={dehydrated:i,treeContext:(qc(),null!==Vc?{id:$c,overflow:Fc}:null),retryLane:Jo};e.memoizedState=a;var s=function(e){var t=qy(m,null,null,0);return t.stateNode=e,t}(i);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()),id(Yc,e),Xc=!1,void(Yc=e);var n=t;if(!ad(e,t)){sd(e)&&(od(Yc,e),ld()),t=Pu(n);var r=Yc;if(!t||!ad(e,t))return id(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 Hu(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){Ul(t.nodeValue,n,r,!0)}(0,t,n,!!(1&o.mode));break;case 5:o.type;var i=o.memoizedProps;o.stateNode;!function(e,t,n,r,o,i){!0!==t[lu]&&Ul(r.nodeValue,o,i,!0)}(0,i,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){Hu(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 Pu(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=Pu(t)}var n;return fd(e),Kc=e.tag===c?pd(e):Yc?Pu(e.stateNode):null,!0}function hd(e){for(var t=Kc;t;)nd(e,t),t=Pu(t)}function gd(){Yc=null,Kc=null,Xc=!1,Qc=!1}function vd(){null!==Jc&&(Hb(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(){}},Sd=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},_d=[],Ed=[],Td=[],kd=[],Ad=[],Cd=[],Od=new Set;xd.recordUnsafeLifecycleWarnings=function(e,t){Od.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&_d.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&Ed.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Td.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&kd.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Ad.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&Cd.push(e))},xd.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;_d.length>0&&(_d.forEach(function(t){e.add(Ve(t)||"Component"),Od.add(t.type)}),_d=[]);var t=new Set;Ed.length>0&&(Ed.forEach(function(e){t.add(Ve(e)||"Component"),Od.add(e.type)}),Ed=[]);var n=new Set;Td.length>0&&(Td.forEach(function(e){n.add(Ve(e)||"Component"),Od.add(e.type)}),Td=[]);var r=new Set;kd.length>0&&(kd.forEach(function(e){r.add(Ve(e)||"Component"),Od.add(e.type)}),kd=[]);var a=new Set;Ad.length>0&&(Ad.forEach(function(e){a.add(Ve(e)||"Component"),Od.add(e.type)}),Ad=[]);var s=new Set;(Cd.length>0&&(Cd.forEach(function(e){s.add(Ve(e)||"Component"),Od.add(e.type)}),Cd=[]),t.size>0)&&i("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",Sd(t));r.size>0&&i("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",Sd(r));s.size>0&&i("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",Sd(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",Sd(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",Sd(n));a.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",Sd(a))};var Rd,Id,Dd,Nd,Pd,Md=new Map,Ld=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(!Ld.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 i("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"),Ld.add(e.type)});var o=Sd(r);try{We(n),i("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{He()}}})},xd.discardPendingWarnings=function(){_d=[],Ed=[],Td=[],kd=[],Ad=[],Cd=[],Md=new Map};var jd;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 a=Ve(e)||"Component";Dd[a]||(i('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',a,o),Dd[a]=!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(O(e))i("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(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 $d(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 Fd(e){var t=Ve(e)||"Component";Pd[t]||(Pd[t]=!0,i("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 zd(e){var t=e._payload;return(0,e._init)(t)}function Ud(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 a(t,n,r){if(t.index=r,!e)return t.flags|=fr,n;var o=t.alternate;if(null!==o){var i=o.index;return i<n?(t.flags|=2,n):i}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 i=tw(n,e.mode,r);return i.return=e,i}var a=o(t,n);return a.return=e,a}function u(e,t,n,r){var i=n.type;if(i===te)return d(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===i||Vy(t,n)||"object"==typeof i&&null!==i&&i.$$typeof===ce&&zd(i)===t.type)){var a=o(t,n.props);return a.ref=Vd(e,t,n),a.return=e,a._debugSource=n._source,a._debugOwner=n._owner,a}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 i=nw(n,e.mode,r);return i.return=e,i}var a=o(t,n.children||[]);return a.return=e,a}function d(e,t,n,r,i){if(null===t||7!==t.tag){var a=Zy(n,e.mode,r,i);return a.return=e,a}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 i=nw(t,e.mode,n);return i.return=e,i;case ce:var a=t._payload;return p(e,(0,t._init)(a),n)}if(wt(t)||fe(t)){var s=Zy(t,e.mode,n,null);return s.return=e,s}$d(0,t)}return"function"==typeof t&&Fd(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 i=n._payload;return f(e,t,(0,n._init)(i),r)}if(wt(n)||fe(n))return null!==o?null:d(e,t,n,r,null);$d(0,n)}return"function"==typeof n&&Fd(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 i=r._payload;return m(e,t,n,(0,r._init)(i),o)}if(wt(r)||fe(r))return d(t,e.get(n)||null,r,o,null);$d(0,r)}return"function"==typeof r&&Fd(t),null}function h(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case Z:case ee:jd(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}i("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,g){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,i,a){for(var s=i.key,l=r;null!==l;){if(l.key===s){var u=i.type;if(u===te){if(7===l.tag){n(e,l.sibling);var c=o(l,i.props.children);return c.return=e,c._debugSource=i._source,c._debugOwner=i._owner,c}}else if(l.elementType===u||Vy(l,i)||"object"==typeof u&&null!==u&&u.$$typeof===ce&&zd(u)===l.type){n(e,l.sibling);var d=o(l,i.props);return d.ref=Vd(e,l,i),d.return=e,d._debugSource=i._source,d._debugOwner=i._owner,d}n(e,l);break}t(e,l),l=l.sibling}if(i.type===te){var p=Zy(i.props.children,e.mode,a,i.key);return p.return=e,p}var f=Jy(i,e.mode,a);return f.ref=Vd(e,r,i),f.return=e,f}(u,c,d,g));case ee:return s(function(e,r,i,a){for(var s=i.key,l=r;null!==l;){if(l.key===s){if(4===l.tag&&l.stateNode.containerInfo===i.containerInfo&&l.stateNode.implementation===i.implementation){n(e,l.sibling);var u=o(l,i.children||[]);return u.return=e,u}n(e,l);break}t(e,l),l=l.sibling}var c=nw(i,e.mode,a);return c.return=e,c}(u,c,d,g));case ce:var v=d._payload;return l(u,c,(0,d._init)(v),g)}if(wt(d))return function(o,i,s,l){for(var u=null,c=0;c<s.length;c++)u=h(s[c],u,o);for(var d=null,g=null,v=i,b=0,y=0,w=null;null!==v&&y<s.length;y++){v.index>y?(w=v,v=null):w=v.sibling;var x=f(o,v,s[y],l);if(null===x){null===v&&(v=w);break}e&&v&&null===x.alternate&&t(o,v),b=a(x,b,y),null===g?d=x:g.sibling=x,g=x,v=w}if(y===s.length)return n(o,v),bd()&&Uc(o,y),d;if(null===v){for(;y<s.length;y++){var S=p(o,s[y],l);null!==S&&(b=a(S,b,y),null===g?d=S:g.sibling=S,g=S)}return bd()&&Uc(o,y),d}for(var _=r(0,v);y<s.length;y++){var E=m(_,o,y,s[y],l);null!==E&&(e&&null!==E.alternate&&_.delete(null===E.key?y:E.key),b=a(E,b,y),null===g?d=E:g.sibling=E,g=E)}return e&&_.forEach(function(e){return t(o,e)}),bd()&&Uc(o,y),d}(u,c,d,g);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]&&(Id||i("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."),Id=!0),l.entries===c&&(Rd||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rd=!0);var d=c.call(l);if(d)for(var g=null,v=d.next();!v.done;v=d.next())g=h(v.value,g,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,S=0,_=0,E=null,T=b.next();null!==x&&!T.done;_++,T=b.next()){x.index>_?(E=x,x=null):E=x.sibling;var k=f(o,x,T.value,u);if(null===k){null===x&&(x=E);break}e&&x&&null===k.alternate&&t(o,x),S=a(k,S,_),null===w?y=k:w.sibling=k,w=k,x=E}if(T.done)return n(o,x),bd()&&Uc(o,_),y;if(null===x){for(;!T.done;_++,T=b.next()){var A=p(o,T.value,u);null!==A&&(S=a(A,S,_),null===w?y=A:w.sibling=A,w=A)}return bd()&&Uc(o,_),y}for(var C=r(0,x);!T.done;_++,T=b.next()){var O=m(C,o,_,T.value,u);null!==O&&(e&&null!==O.alternate&&C.delete(null===O.key?_:O.key),S=a(O,S,_),null===w?y=O:w.sibling=O,w=O)}return e&&C.forEach(function(e){return t(o,e)}),bd()&&Uc(o,_),y}(u,c,d,g);$d(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?s(function(e,t,r,i){if(null!==t&&6===t.tag){n(e,t.sibling);var a=o(t,r);return a.return=e,a}n(e,t);var s=tw(r,e.mode,i);return s.return=e,s}(u,c,""+d,g)):("function"==typeof d&&Fd(u),n(u,c))}}Rd=!1,Id=!1,Dd={},Nd={},Pd={},jd=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";Nd[n]||(Nd[n]=!0,i('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Bd=Ud(!0),Hd=Ud(!1);function Wd(e,t){for(var n=e.child;null!==n;)Xy(n,t),n=n.sibling}var Gd,qd=sc(null);Gd={};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(qd,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Gd&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Gd}function np(e,t){var n=qd.current;lc(qd,t),e._currentValue=n}function rp(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(vi(r.childLanes,t)?null===o||vi(o.childLanes,t)||(o.childLanes=bi(o.childLanes,t)):(r.childLanes=bi(r.childLanes,t),null!==o&&(o.childLanes=bi(o.childLanes,t))),r===n)break;r=r.return}r!==n&&i("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,i=r.dependencies;if(null!==i){o=r.child;for(var a=i.firstContext;null!==a;){if(a.context===t){if(1===r.tag){var l=fi(n),u=wp(ei,l);u.tag=gp;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=bi(r.lanes,n);var f=r.alternate;null!==f&&(f.lanes=bi(f.lanes,n)),rp(r.return,n,e),i.lanes=bi(i.lanes,n);break}a=a.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=bi(h.lanes,n);var g=h.alternate;null!==g&&(g.lanes=bi(g.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 v=o.sibling;if(null!==v){v.return=o.return,o=v;break}o=o.return}r=o}}(e,t,n)}function ip(e,t){Yd=e,Kd=null,Xd=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(gi(n.lanes,t)&&hg(),n.firstContext=null))}function ap(e){Qd&&i("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=bi(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=bi(n.lanes,t)),null===n&&4098&e.flags&&_y(e);for(var r=e,o=e.return;null!==o;)o.childLanes=bi(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=bi(n.childLanes,t):4098&o.flags&&_y(e),r=o,o=o.return;return 3===r.tag?r.stateNode:null}var fp,mp,hp=0,gp=2,vp=!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||(i("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),(Qv&Uv)!==zv){var a=o.pending;return null===a?t.next=t:(t.next=a.next,a.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 Sp(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(ci(n)){var i=o.lanes,a=bi(i=wi(i,e.pendingLanes),n);o.lanes=a,Ei(e,a)}}}function _p(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var i=null,a=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===a?i=a=u:(a.next=u,a=u),l=l.next}while(null!==l);null===a?i=a=t:(a.next=t,a=t)}else i=a=t;return n={baseState:o.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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,i){switch(n.tag){case 1:var a=n.payload;if("function"==typeof a){Zd();var s=a.call(i,r,o);if(8&e.mode){Qr(!0);try{a.call(i,r,o)}finally{Qr(!1)}}return ep(),s}return a;case 3:e.flags=-65537&e.flags|nr;case hp:var l,u=n.payload;if("function"==typeof u){if(Zd(),l=u.call(i,r,o),8&e.mode){Qr(!0);try{u.call(i,r,o)}finally{Qr(!1)}}ep()}else l=u;return null==l?r:xe({},r,l);case gp:return vp=!0,r}return r}function Tp(e,t,n,r){var o=e.updateQueue;vp=!1,mp=o.shared;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;if(null!==c){var d=c.updateQueue,p=d.lastBaseUpdate;p!==a&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=l)}}if(null!==i){for(var f=o.baseState,m=0,h=null,g=null,v=null,b=i;;){var y=b.lane,w=b.eventTime;if(vi(r,y)){if(null!==v){var x={eventTime:w,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null};v=v.next=x}if(f=Ep(e,0,b,f,t,n),null!==b.callback&&0!==b.lane){e.flags|=64;var S=o.effects;null===S?o.effects=[b]:S.push(b)}}else{var _={eventTime:w,lane:y,tag:b.tag,payload:b.payload,callback:b.callback,next:null};null===v?(g=v=_,h=f):v=v.next=_,m=bi(m,y)}if(null===(b=b.next)){if(null===(s=o.shared.pending))break;var E=s,T=E.next;E.next=null,b=T,o.lastBaseUpdate=E,o.shared.pending=null}}null===v&&(h=f),o.baseState=h,o.firstBaseUpdate=g,o.lastBaseUpdate=v;var k=o.shared.interleaved;if(null!==k){var A=k;do{m=bi(m,A.lane),A=A.next}while(A!==k)}else null===i&&(o.shared.lanes=0);ny(m),e.lanes=m,e.memoizedState=f}mp=null}function kp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Ap(){vp=!1}function Cp(){return vp}function Op(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var i=r[o],a=i.callback;null!==a&&(i.callback=null,kp(a,n))}}fp=!1,mp=null;var Rp={},Ip=sc(Rp),Dp=sc(Rp),Np=sc(Rp);function Pp(e){if(e===Rp)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 Pp(Np.current)}function Lp(e,t){uc(Np,t,e),uc(Dp,e,e),uc(Ip,Rp,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:Pt(null,"");break;default:var i=8===r?e.parentNode:e;n=Pt(i.namespaceURI||null,t=i.tagName)}var a=t.toLowerCase();return{namespace:n,ancestorInfo:tu(null,a)}}(t);lc(Ip,e),uc(Ip,n,e)}function jp(e){lc(Ip,e),lc(Dp,e),lc(Np,e)}function Vp(){return Pp(Ip.current)}function $p(e){Pp(Np.current);var t,n,r,o=Pp(Ip.current),i=(t=o,n=e.type,{namespace:Pt((r=t).namespace,n),ancestorInfo:tu(r.ancestorInfo,n)});o!==i&&(uc(Dp,e,e),uc(Ip,i,e))}function Fp(e){Dp.current===e&&(lc(Ip,e),lc(Dp,e))}var zp=sc(0);function Up(e,t){return 0!==(e&t)}function Bp(e){return 1&e}function Hp(e,t){return 1&e|t}function Wp(e,t){uc(zp,t,e)}function Gp(e){lc(zp,e)}function qp(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||Iu(r)||Du(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 gf(){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 a=pf[o],s=o===ff?e:a,l=o+1+". "+a;l.length<r;)l+=" ";n+=l+=s+"\n"}i("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 vf(e){null==e||wt(e)||i("%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 i("%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&&i("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(!Cs(e[n],t[n]))return!1;return!0}function wf(e,t,n,r,o,a){nf=a,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=km:ef.current=null!==pf?Tm: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=Am,s=n(r,o)}while(lf)}ef.current=_m,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&Sr)!==(t.flags&Sr)&&1&e.mode&&i("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 Sf(e,t,n){t.updateQueue=e.updateQueue,0!==(t.mode&vo)?t.flags&=-50333701:t.flags&=-2053,e.lanes=yi(e.lanes,n)}function _f(){if(ef.current=_m,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 Tf(){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 kf(e,t){return"function"==typeof t?t(e):t}function Af(e,t,n){var r,o=Ef();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=i;var a=i.dispatch=vm.bind(null,rf,i);return[o.memoizedState,a]}function Cf(e,t,n){var r=Tf(),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=of,s=a.baseQueue,l=o.pending;if(null!==l){if(null!==s){var u=s.next,c=l.next;s.next=c,l.next=u}a.baseQueue!==s&&i("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=s=l,o.pending=null}if(null!==s){var d=s.next,p=a.baseState,f=null,m=null,h=null,g=d;do{var v=g.lane;if(vi(nf,v)){if(null!==h){var b={lane:0,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};h=h.next=b}if(g.hasEagerState)p=g.eagerState;else p=e(p,g.action)}else{var y={lane:v,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};null===h?(m=h=y,f=p):h=h.next=y,rf.lanes=bi(rf.lanes,v),ny(v)}g=g.next}while(null!==g&&g!==d);null===h?f=p:h.next=m,Cs(p,r.memoizedState)||hg(),r.memoizedState=p,r.baseState=f,r.baseQueue=h,o.lastRenderedState=p}var w=o.interleaved;if(null!==w){var x=w;do{var S=x.lane;rf.lanes=bi(rf.lanes,S),ny(S),x=x.next}while(x!==w)}else null===s&&(o.lanes=0);var _=o.dispatch;return[r.memoizedState,_]}function Of(e,t,n){var r=Tf(),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=o.dispatch,a=o.pending,s=r.memoizedState;if(null!==a){o.pending=null;var l=a.next,u=l;do{s=e(s,u.action),u=u.next}while(u!==l);Cs(s,r.memoizedState)||hg(),r.memoizedState=s,null===r.baseQueue&&(r.baseState=s),o.lastRenderedState=s}return[s,i]}function Rf(e,t,n){var r,o=rf,a=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()&&(i("The result of getServerSnapshot should be cached to avoid an infinite loop"),Zp=!0)}else{if(r=t(),!Zp){var s=t();Cs(r,s)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),Zp=!0)}var l=Lb();if(null===l)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ui(0,nf)||Df(o,t,r)}a.memoizedState=r;var u={value:r,getSnapshot:t};return a.queue=u,Wf(Pf.bind(null,o,u,e),[e]),o.flags|=ar,Ff(9,Nf.bind(null,o,u,r,t),void 0,null),r}function If(e,t,n){var r=rf,o=Tf(),a=t();if(!Zp){var s=t();Cs(a,s)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),Zp=!0)}var l=o.memoizedState,u=!Cs(l,a);u&&(o.memoizedState=a,hg());var c=o.queue;if(Gf(Pf.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==af&&1&af.memoizedState.tag){r.flags|=ar,Ff(9,Nf.bind(null,r,c,a,t),void 0,null);var d=Lb();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ui(0,nf)||Df(r,t,a)}return a}function Df(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 i=o.stores;null===i?o.stores=[r]:i.push(r)}}function Nf(e,t,n,r){t.value=n,t.getSnapshot=r,Mf(t)&&Lf(e)}function Pf(e,t,n){return n(function(){Mf(t)&&Lf(e)})}function Mf(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!Cs(n,r)}catch(o){return!0}}function Lf(e){var t=cp(e,So);null!==t&&Fb(t,e,So,ei)}function jf(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:kf,lastRenderedState:e};t.queue=n;var r=n.dispatch=bm.bind(null,rf,n);return[t.memoizedState,r]}function Vf(e){return Cf(kf)}function $f(e){return Of(kf)}function Ff(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},i=rf.updateQueue;if(null===i)i={lastEffect:null,stores:null},rf.updateQueue=i,i.lastEffect=o.next=o;else{var a=i.lastEffect;if(null===a)i.lastEffect=o.next=o;else{var s=a.next;a.next=o,o.next=s,i.lastEffect=o}}return o}function zf(e){var t={current:e};return Ef().memoizedState=t,t}function Uf(e){return Tf().memoizedState}function Bf(e,t,n,r){var o=Ef(),i=void 0===r?null:r;rf.flags|=e,o.memoizedState=Ff(1|t,n,void 0,i)}function Hf(e,t,n,r){var o=Tf(),i=void 0===r?null:r,a=void 0;if(null!==of){var s=of.memoizedState;if(a=s.destroy,null!==i)if(yf(i,s.deps))return void(o.memoizedState=Ff(t,n,a,i))}rf.flags|=e,o.memoizedState=Ff(1|t,n,a,i)}function Wf(e,t){return 0!==(rf.mode&vo)?Bf(41945088,8,e,t):Bf(8390656,8,e,t)}function Gf(e,t){return Hf(ar,8,e,t)}function qf(e,t){return Bf(4,2,e,t)}function Yf(e,t){return Hf(4,2,e,t)}function Kf(e,t){var n=4;return n|=hr,0!==(rf.mode&vo)&&(n|=gr),Bf(n,4,e,t)}function Xf(e,t){return Hf(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")||i("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 a=e();return o.current=a,function(){o.current=null}}}function Jf(e,t,n){"function"!=typeof t&&i("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&vo)&&(o|=gr),Bf(o,4,Qf.bind(null,t,e),r)}function Zf(e,t,n){"function"!=typeof t&&i("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 Hf(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=Tf(),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 im(e,t){var n=Tf(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&yf(r,o[1])))return o[0];var i=e();return n.memoizedState=[i,r],i}function am(e){return Ef().memoizedState=e,e}function sm(e){return um(Tf(),of.memoizedState,e)}function lm(e){var t=Tf();return null===of?(t.memoizedState=e,e):um(t,of.memoizedState,e)}function um(e,t,n){if(!(0===(nf&(So|Eo|ko)))){if(!Cs(n,t)){var r=di();rf.lanes=bi(rf.lanes,r),ny(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,hg()),e.memoizedState=n,n}function cm(e,t,n){var r,i,a=ji();Vi((i=Ni,0!==(r=a)&&r<i?r:i)),e(!0);var s=tf.transition;tf.transition={};var l=tf.transition;tf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Vi(a),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=jf(!1),t=e[0],n=e[1],r=cm.bind(null,n);return Ef().memoizedState=r,[t,r]}function pm(){return[Vf()[0],Tf().memoizedState]}function fm(){return[$f()[0],Tf().memoizedState]}var mm=!1;function hm(){var e,t=Ef(),n=Lb().identifierPrefix;if(bd()){e=":"+n+"R"+zc();var r=uf++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(cf++).toString(32)+":"}return t.memoizedState=e,e}function gm(){return Tf().memoizedState}function vm(e,t,n){"function"==typeof arguments[3]&&i("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 a=up(e,t,o,r);if(null!==a)Fb(a,e,r,jb()),xm(a,t,r)}Sm(e,r)}function bm(e,t,n){"function"==typeof arguments[3]&&i("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 a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)){var s=t.lastRenderedReducer;if(null!==s){var l;l=ef.current,ef.current=Om;try{var u=t.lastRenderedState,c=s(u,n);if(o.hasEagerState=!0,o.eagerState=c,Cs(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)Fb(d,e,r,jb()),xm(d,t,r)}Sm(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(ci(n)){var r=t.lanes,o=bi(r=wi(r,e.pendingLanes),n);t.lanes=o,Ei(e,o)}}function Sm(e,t,n){go(e,t)}var _m={readContext:ap,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,Tm=null,km=null,Am=null,Cm=null,Om=null,Rm=null,Im=function(){i("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().")},Dm=function(){i("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 ap(e)},useCallback:function(e,t){return df="useCallback",hf(),vf(t),nm(e,t)},useContext:function(e){return df="useContext",hf(),ap(e)},useEffect:function(e,t){return df="useEffect",hf(),vf(t),Wf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",hf(),vf(n),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",hf(),vf(t),qf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",hf(),vf(t),Kf(e,t)},useMemo:function(e,t){df="useMemo",hf(),vf(t);var n=ef.current;ef.current=Cm;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",hf();var r=ef.current;ef.current=Cm;try{return Af(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",hf(),zf(e)},useState:function(e){df="useState",hf();var t=ef.current;ef.current=Cm;try{return jf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",hf()},useDeferredValue:function(e){return df="useDeferredValue",hf(),am(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(),Rf(e,t,n)},useId:function(){return df="useId",hf(),hm()},unstable_isNewReconciler:y},Tm={readContext:function(e){return ap(e)},useCallback:function(e,t){return df="useCallback",gf(),nm(e,t)},useContext:function(e){return df="useContext",gf(),ap(e)},useEffect:function(e,t){return df="useEffect",gf(),Wf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",gf(),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",gf(),qf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",gf(),Kf(e,t)},useMemo:function(e,t){df="useMemo",gf();var n=ef.current;ef.current=Cm;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",gf();var r=ef.current;ef.current=Cm;try{return Af(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",gf(),zf(e)},useState:function(e){df="useState",gf();var t=ef.current;ef.current=Cm;try{return jf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",gf()},useDeferredValue:function(e){return df="useDeferredValue",gf(),am(e)},useTransition:function(){return df="useTransition",gf(),dm()},useMutableSource:function(e,t,n){df="useMutableSource",gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",gf(),Rf(e,t,n)},useId:function(){return df="useId",gf(),hm()},unstable_isNewReconciler:y},km={readContext:function(e){return ap(e)},useCallback:function(e,t){return df="useCallback",gf(),rm(e,t)},useContext:function(e){return df="useContext",gf(),ap(e)},useEffect:function(e,t){return df="useEffect",gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",gf();var n=ef.current;ef.current=Om;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",gf();var r=ef.current;ef.current=Om;try{return Cf(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",gf(),Uf()},useState:function(e){df="useState",gf();var t=ef.current;ef.current=Om;try{return Vf()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",gf(),sm(e)},useTransition:function(){return df="useTransition",gf(),pm()},useMutableSource:function(e,t,n){df="useMutableSource",gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",gf(),If(e,t)},useId:function(){return df="useId",gf(),gm()},unstable_isNewReconciler:y},Am={readContext:function(e){return ap(e)},useCallback:function(e,t){return df="useCallback",gf(),rm(e,t)},useContext:function(e){return df="useContext",gf(),ap(e)},useEffect:function(e,t){return df="useEffect",gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",gf();var n=ef.current;ef.current=Rm;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",gf();var r=ef.current;ef.current=Rm;try{return Of(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",gf(),Uf()},useState:function(e){df="useState",gf();var t=ef.current;ef.current=Rm;try{return $f()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",gf(),lm(e)},useTransition:function(){return df="useTransition",gf(),fm()},useMutableSource:function(e,t,n){df="useMutableSource",gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",gf(),If(e,t)},useId:function(){return df="useId",gf(),gm()},unstable_isNewReconciler:y},Cm={readContext:function(e){return Im(),ap(e)},useCallback:function(e,t){return df="useCallback",Dm(),hf(),nm(e,t)},useContext:function(e){return df="useContext",Dm(),hf(),ap(e)},useEffect:function(e,t){return df="useEffect",Dm(),hf(),Wf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Dm(),hf(),Jf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Dm(),hf(),qf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Dm(),hf(),Kf(e,t)},useMemo:function(e,t){df="useMemo",Dm(),hf();var n=ef.current;ef.current=Cm;try{return om(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Dm(),hf();var r=ef.current;ef.current=Cm;try{return Af(e,t,n)}finally{ef.current=r}},useRef:function(e){return df="useRef",Dm(),hf(),zf(e)},useState:function(e){df="useState",Dm(),hf();var t=ef.current;ef.current=Cm;try{return jf(e)}finally{ef.current=t}},useDebugValue:function(e,t){df="useDebugValue",Dm(),hf()},useDeferredValue:function(e){return df="useDeferredValue",Dm(),hf(),am(e)},useTransition:function(){return df="useTransition",Dm(),hf(),dm()},useMutableSource:function(e,t,n){df="useMutableSource",Dm(),hf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Dm(),hf(),Rf(e,t,n)},useId:function(){return df="useId",Dm(),hf(),hm()},unstable_isNewReconciler:y},Om={readContext:function(e){return Im(),ap(e)},useCallback:function(e,t){return df="useCallback",Dm(),gf(),rm(e,t)},useContext:function(e){return df="useContext",Dm(),gf(),ap(e)},useEffect:function(e,t){return df="useEffect",Dm(),gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Dm(),gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Dm(),gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Dm(),gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",Dm(),gf();var n=ef.current;ef.current=Om;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Dm(),gf();var r=ef.current;ef.current=Om;try{return Cf(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",Dm(),gf(),Uf()},useState:function(e){df="useState",Dm(),gf();var t=ef.current;ef.current=Om;try{return Vf()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",Dm(),gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",Dm(),gf(),sm(e)},useTransition:function(){return df="useTransition",Dm(),gf(),pm()},useMutableSource:function(e,t,n){df="useMutableSource",Dm(),gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Dm(),gf(),If(e,t)},useId:function(){return df="useId",Dm(),gf(),gm()},unstable_isNewReconciler:y},Rm={readContext:function(e){return Im(),ap(e)},useCallback:function(e,t){return df="useCallback",Dm(),gf(),rm(e,t)},useContext:function(e){return df="useContext",Dm(),gf(),ap(e)},useEffect:function(e,t){return df="useEffect",Dm(),gf(),Gf(e,t)},useImperativeHandle:function(e,t,n){return df="useImperativeHandle",Dm(),gf(),Zf(e,t,n)},useInsertionEffect:function(e,t){return df="useInsertionEffect",Dm(),gf(),Yf(e,t)},useLayoutEffect:function(e,t){return df="useLayoutEffect",Dm(),gf(),Xf(e,t)},useMemo:function(e,t){df="useMemo",Dm(),gf();var n=ef.current;ef.current=Om;try{return im(e,t)}finally{ef.current=n}},useReducer:function(e,t,n){df="useReducer",Dm(),gf();var r=ef.current;ef.current=Om;try{return Of(e)}finally{ef.current=r}},useRef:function(e){return df="useRef",Dm(),gf(),Uf()},useState:function(e){df="useState",Dm(),gf();var t=ef.current;ef.current=Om;try{return $f()}finally{ef.current=t}},useDebugValue:function(e,t){return df="useDebugValue",Dm(),gf(),tm()},useDeferredValue:function(e){return df="useDeferredValue",Dm(),gf(),lm(e)},useTransition:function(){return df="useTransition",Dm(),gf(),fm()},useMutableSource:function(e,t,n){df="useMutableSource",Dm(),gf()},useSyncExternalStore:function(e,t,n){return df="useSyncExternalStore",Dm(),gf(),If(e,t)},useId:function(){return df="useId",Dm(),gf(),gm()},unstable_isNewReconciler:y};var Nm=t.unstable_now,Pm=0,Mm=-1,Lm=-1,jm=-1,Vm=!1,$m=!1;function Fm(){return Vm}function zm(){return Pm}function Um(){Pm=Nm()}function Bm(e){Lm=Nm(),e.actualStartTime<0&&(e.actualStartTime=Nm())}function Hm(e){Lm=-1}function Wm(e,t){if(Lm>=0){var n=Nm()-Lm;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Lm=-1}}function Gm(e){if(Mm>=0){var t=Nm()-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 qm(e){if(jm>=0){var t=Nm()-jm;jm=-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=Nm()}function Km(){jm=Nm()}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,ih,ah,sh,lh,uh={};Jm=new Set,Zm=new Set,eh=new Set,th=new Set,ih=new Set,nh=new Set,ah=new Set,sh=new Set,lh=new Set;var ch=new Set;function dh(e,t,n,r){var o=e.memoizedState,i=n(r,o);if(8&e.mode){Qr(!0);try{i=n(r,o)}finally{Qr(!1)}}rh(t,i);var a=null==i?o:xe({},o,i);(e.memoizedState=a,0===e.lanes)&&(e.updateQueue.baseState=a)}oh=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;ch.has(n)||(ch.add(n),i("%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=Le(e)||"Component";nh.has(n)||(nh.add(n),i("%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=_r.current;if(null!==t&&1===t.tag){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||i("%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=jb(),i=Vb(r),a=wp(o,i);a.payload=t,null!=n&&(oh(n,"setState"),a.callback=n);var s=xp(r,a,i);null!==s&&(Fb(s,r,i,o),Sp(s,r,i)),go(r,i)},enqueueReplaceState:function(e,t,n){var r=er(e),o=jb(),i=Vb(r),a=wp(o,i);a.tag=1,a.payload=t,null!=n&&(oh(n,"replaceState"),a.callback=n);var s=xp(r,a,i);null!==s&&(Fb(s,r,i,o),Sp(s,r,i)),go(r,i)},enqueueForceUpdate:function(e,t){var n=er(e),r=jb(),o=Vb(n),i=wp(r,o);i.tag=gp,null!=t&&(oh(t,"forceUpdate"),i.callback=t);var a=xp(n,i,o);null!==a&&(Fb(a,n,o,r),Sp(a,n,o)),function(e,t){null!==Yr&&"function"==typeof Yr.markForceUpdateScheduled&&Yr.markForceUpdateScheduled(e,t)}(n,o)}};function fh(e,t,n,r,o,a,s){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){var u=l.shouldComponentUpdate(r,a,s);if(8&e.mode){Qr(!0);try{u=l.shouldComponentUpdate(r,a,s)}finally{Qr(!1)}}return void 0===u&&i("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Le(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!Os(n,r)||!Os(o,a))}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,a=cc,s=t.contextType;if("contextType"in t&&(!(null===s||void 0!==s&&s.$$typeof===ie&&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(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Le(t)||"Component",l)}if("object"==typeof s&&null!==s)a=ap(s);else{o=mc(0,t,!0);var u=t.contextTypes;a=(r=null!=u)?gc(e,o):cc}var c=new t(n,a);if(8&e.mode){Qr(!0);try{c=new t(n,a)}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=Le(t)||"Component";Zm.has(p)||(Zm.add(p),i("`%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 g=Le(t)||"Component",v="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";th.has(g)||(th.add(g),i("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",g,v,null!==f?"\n "+f:"",null!==m?"\n "+m:"",null!==h?"\n "+h:""))}}return r&&hc(e,o,a),c}function gh(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 a=Ve(e)||"Component";Jm.has(a)||(Jm.add(a),i("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),ph.enqueueReplaceState(t,t.state,null)}}function vh(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=Le(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):i("%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||i("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&&i("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&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&i("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),i("%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),i("%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&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!ah.has(t)&&(ah.add(t),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&i("%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&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Le(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&i("%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&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var a=r.props!==n;void 0!==r.props&&a&&i("%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&&i("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),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Le(t))),"function"==typeof r.getDerivedStateFromProps&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&i("%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))&&i("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&i("%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 a=t.contextType;if("object"==typeof a&&null!==a)o.context=ap(a);else{var s=mc(0,t,!0);o.context=gc(e,s)}if(o.state===n){var l=Le(t)||"Component";ih.has(l)||(ih.add(l),i("%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&&(i("%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),Tp(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=4;c|=hr,0!==(e.mode&vo)&&(c|=gr),e.flags|=c}}function bh(e,t){return{value:e,source:t,stack:Pe(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,i=null!==o?o:"";if(null!=n&&n._suppressLogging){if(1===e.tag)return;console.error(n)}var a=r?Ve(r):null,s=(a?"The above error occurred in the <"+a+"> component:":"The above error occurred in one of your React components:")+"\n"+i+"\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 Sh(e,t,n){var r=wp(ei,n);r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){py(o),wh(e,t)},r}function _h(e,t,n){var r=wp(ei,n);r.tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var a=t.value;r.payload=function(){return o(a)},r.callback=function(){$y(e),wh(e,t)}}var s=e.stateNode;return null!==s&&"function"==typeof s.componentDidCatch&&(r.callback=function(){var n;$y(e),wh(e,t),"function"!=typeof o&&(n=this,null===yb?yb=new Set([n]):yb.add(n));var r=t.value,a=t.stack;this.componentDidCatch(r,{componentStack:null!==a?a:""}),"function"!=typeof o&&(gi(e.lanes,So)||i("%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 i=hy.bind(null,e,t,n);Xr&&ky(e,n),t.then(i,i)}}function Th(e){var t=e;do{if(t.tag===c&&qp(t))return t;t=t.return}while(null!==t);return null}function kh(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 i=wp(ei,So);i.tag=gp,xp(n,i,So)}n.lanes=bi(n.lanes,So)}return e}return e.flags|=dr,e.lanes=o,e}function Ah(e,t,n,r,o){if(n.flags|=cr,Xr&&ky(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var i=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 a=Th(t);if(null!==a)return a.flags&=-257,kh(a,t,n,0,o),1&a.mode&&Eh(e,i,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)}(a,0,i);if(0===(o&So))return Eh(e,i,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=Th(t);if(null!==s)return 0===(s.flags&dr)&&(s.flags|=rr),kh(s,t,n,0,o),void yd(bh(r,n))}!function(e){rb!==Yv&&(rb=Gv);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=fi(o);return u.lanes=bi(u.lanes,d),void _p(u,Sh(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 g=fi(o);return u.lanes=bi(u.lanes,g),void _p(u,_h(u,f,g))}}u=u.return}while(null!==u)}var Ch,Oh,Rh,Ih,Dh,Nh,Ph,Mh,Lh,jh=n.ReactCurrentOwner,Vh=!1;function $h(e,t,n,r){t.child=null===e?Hd(t,null,n,r):Bd(t,e.child,n,r)}function Fh(e,t,n,r,o){if(t.type!==t.elementType){var i=n.propTypes;i&&nc(i,r,"prop",Le(n))}var a,s,l=n.render,u=t.ref;if(ip(t,o),to(t),jh.current=t,Ge(!0),a=wf(e,t,l,r,u,o),s=xf(),8&t.mode){Qr(!0);try{a=wf(e,t,l,r,u,o),s=xf()}finally{Qr(!1)}}return Ge(!1),no(),null===e||Vh?(bd()&&s&&Hc(t),t.flags|=1,$h(e,t,a,o),t.child):(Sf(e,t,o),vg(e,t,o))}function zh(e,t,n,r,o){if(null===e){var a=n.type;if(function(e){return"function"==typeof e&&!Yy(e)&&void 0===e.defaultProps}(a)&&null===n.compare&&void 0===n.defaultProps){var s;return s=My(a),t.tag=p,t.type=s,Qh(t,a),Uh(e,t,s,r,o)}var l=a.propTypes;if(l&&nc(l,r,"prop",Le(a)),void 0!==n.defaultProps){var u=Le(a)||"Unknown";Lh[u]||(i("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Lh[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",Le(d));var m=e.child;if(!bg(e,o)){var h=m.memoizedProps,g=n.compare;if((g=null!==g?g:Os)(h,r)&&e.ref===t.ref)return vg(e,t,o)}t.flags|=1;var v=Ky(m,r);return v.ref=t.ref,v.return=t,t.child=v,v}function Uh(e,t,n,r,o){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===ce){var a=i,s=a._payload,l=a._init;try{i=l(s)}catch(d){i=null}var u=i&&i.propTypes;u&&nc(u,r,"prop",Le(i))}}if(null!==e){var c=e.memoizedProps;if(Os(c,r)&&e.ref===t.ref&&t.type===e.type){if(Vh=!1,t.pendingProps=r=c,!bg(e,o))return t.lanes=e.lanes,vg(e,t,o);0!==(e.flags&pr)&&(Vh=!0)}}return Wh(e,t,n,r,o)}function Bh(e,t,n){var r,o=t.pendingProps,i=o.children,a=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(1&t.mode){if(!gi(n,Jo)){var s;if(null!==a)s=bi(a.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!==a?a.baseLanes:n)}else{var c={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=c,Xb(t,n)}else null!==a?(r=bi(a.baseLanes,n),t.memoizedState=null):r=n,Xb(t,r);return $h(e,t,i,n),t.child}function Hh(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=or,t.flags|=mr)}function Wh(e,t,n,r,o){if(t.type!==t.elementType){var i=n.propTypes;i&&nc(i,r,"prop",Le(n))}var a,s,l;if(a=gc(t,mc(0,n,!0)),ip(t,o),to(t),jh.current=t,Ge(!0),s=wf(e,t,n,r,a,o),l=xf(),8&t.mode){Qr(!0);try{s=wf(e,t,n,r,a,o),l=xf()}finally{Qr(!1)}}return Ge(!1),no(),null===e||Vh?(bd()&&l&&Hc(t),t.flags|=1,$h(e,t,s,o),t.child):(Sf(e,t,o),vg(e,t,o))}function Gh(e,t,n,r,o){switch(bw(t)){case!1:var a=t.stateNode,s=new(0,t.type)(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,s,null);break;case!0:t.flags|=nr,t.flags|=dr;var l=new Error("Simulated error coming from DevTools"),u=fi(o);t.lanes=bi(t.lanes,u),_p(t,_h(t,bh(l,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&nc(c,r,"prop",Le(n))}var d,p;bc(n)?(d=!0,_c(t)):d=!1,ip(t,o),null===t.stateNode?(gg(e,t),hh(t,n,r),vh(t,n,r,o),p=!0):p=null===e?function(e,t,n,r){var o=e.stateNode,i=e.memoizedProps;o.props=i;var a=o.context,s=t.contextType,l=cc;l="object"==typeof s&&null!==s?ap(s):gc(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||i===n&&a===l||gh(e,o,n,l),Ap();var d=e.memoizedState,p=o.state=d;if(Tp(e,n,o,r),p=e.memoizedState,i===n&&d===p&&!vc()&&!Cp()){if("function"==typeof o.componentDidMount){var f=4;f|=hr,0!==(e.mode&vo)&&(f|=gr),e.flags|=f}return!1}"function"==typeof u&&(dh(e,t,u,n),p=e.memoizedState);var m=Cp()||fh(e,t,i,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&vo)&&(h|=gr),e.flags|=h}}else{if("function"==typeof o.componentDidMount){var g=4;g|=hr,0!==(e.mode&vo)&&(g|=gr),e.flags|=g}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 i=t.stateNode;yp(e,t);var a=t.memoizedProps,s=t.type===t.elementType?a:Qm(t.type,a);i.props=s;var l=t.pendingProps,u=i.context,c=n.contextType,d=cc;d="object"==typeof c&&null!==c?ap(c):gc(t,mc(0,n,!0));var p=n.getDerivedStateFromProps,f="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||a===l&&u===d||gh(t,i,r,d),Ap();var m=t.memoizedState,h=i.state=m;if(Tp(t,r,i,o),h=t.memoizedState,a===l&&m===h&&!vc()&&!Cp())return"function"==typeof i.componentDidUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4)),"function"==typeof i.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=ir)),!1;"function"==typeof p&&(dh(t,n,p,r),h=t.memoizedState);var g=Cp()||fh(t,n,s,r,m,h,d)||w;return g?(f||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,d),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,d)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=ir)):("function"==typeof i.componentDidUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4)),"function"==typeof i.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&m===e.memoizedState||(t.flags|=ir)),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=d,g}(e,t,n,r,o);var f=qh(e,t,n,p,d,o),m=t.stateNode;return p&&m.props!==r&&(Nh||i("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"),Nh=!0),f}function qh(e,t,n,r,o,i){Hh(e,t);var a=0!==(t.flags&nr);if(!r&&!a)return o&&Ec(t,n,!1),vg(e,t,i);var s,l=t.stateNode;if(jh.current=t,a&&"function"!=typeof n.getDerivedStateFromError)s=null,Hm();else{if(to(t),Ge(!0),s=l.render(),8&t.mode){Qr(!0);try{l.render()}finally{Qr(!1)}}Ge(!1),no()}return t.flags|=1,null!==e&&a?function(e,t,n,r){t.child=Bd(t,e.child,null,r),t.child=Bd(t,null,n,r)}(e,t,s,i):$h(e,t,s,i),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),Lp(e,t.containerInfo)}function Kh(e,t,n,r,o){return gd(),yd(o),t.flags|=rr,$h(e,t,n,r),t.child}function Xh(e,t,n,r){gg(e,t);var o=t.pendingProps,i=n,a=i._payload,s=(0,i._init)(a);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===ae)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),Wh(null,t,s,c,r);case 1:return t.type=s=Ly(s),Gh(null,t,s,c,r);case l:return t.type=s=jy(s),Fh(null,t,s,c,r);case d:if(t.type!==t.elementType){var p=s.propTypes;p&&nc(p,c,"prop",Le(s))}return zh(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&&i("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Ue();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",a=e._debugSource;a&&(o=a.fileName+":"+a.lineNumber),Dh[o]||(Dh[o]=!0,i("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=Le(t)||"Unknown";Lh[s]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",s),Lh[s]=!0)}if("function"==typeof t.getDerivedStateFromProps){var l=Le(t)||"Unknown";Ih[l]||(i("%s: Function components do not support getDerivedStateFromProps.",l),Ih[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=Le(t)||"Unknown";Rh[u]||(i("%s: Function components do not support contextType.",u),Rh[u]=!0)}}Ch={},Oh={},Rh={},Ih={},Dh={},Nh=!1,Ph={},Mh={},Lh={};var Jh={dehydrated:null,treeContext:null,retryLane:0};function Zh(e){return{baseLanes:e,cachePool:null,transitions:null}}function eg(e,t,n){var r=t.pendingProps;yw(t)&&(t.flags|=nr);var o=zp.current,a=!1,s=0!==(t.flags&nr);if(s||function(e,t){return(null===t||null!==t.memoizedState)&&Up(e,2)}(o,e)?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o=o|1),Wp(t,o=Bp(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?Du(t)?e.lanes=To:e.lanes=Jo:(i("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=So);return null}(t,u)}var c=r.children,d=r.fallback;if(a){var p=function(e,t,n,r){var o,i,a=e.mode,s=e.child,l={mode:"hidden",children:t};1&a||null===s?(o=ng(l,a),i=Zy(n,a,r,null)):((o=s).childLanes=0,o.pendingProps=l,2&e.mode&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),i=Zy(n,a,r,null));return o.return=e,i.return=e,o.sibling=i,e.child=o,i}(t,c,d,n);return t.child.memoizedState=Zh(n),t.memoizedState=Jh,p}return tg(t,c)}var f=e.memoizedState;if(null!==f){var m=f.dehydrated;if(null!==m)return function(e,t,n,r,o,a,s){if(n){if(t.flags&rr)return t.flags&=-257,og(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 i=t.mode,a={mode:"visible",children:n},s=ng(a,i),l=Zy(r,i,o,null);l.flags|=2,s.return=t,l.return=t,s.sibling=l,t.child=s,!(1&t.mode)||Bd(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&&i("We should not be hydrating here. This is a bug in React. Please file a bug."),!(1&t.mode))return og(e,t,s,null);if(Du(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,og(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=gi(s,e.childLanes);if(Vh||f){var m=Lb();if(null!==m){var h=function(e,t){var n;switch(pi(t)){case Eo:n=_o;break;case ko:n=To;break;case 64:case 128:case 256:case 512:case Oo:case Ro:case Io:case Do:case No:case Po:case Mo:case Lo:case jo:case Vo:case $o:case Fo:case Uo:case Bo:case Ho:case Wo:case Go:n=Ao;break;case Qo:n=Xo;break;default:n=0}return 0!==(n&(e.suspendedLanes|t))?0:n}(m,s);if(0!==h&&h!==a.retryLane){a.retryLane=h;var g=ei;cp(e,h),Fb(m,e,h,g)}}return ry(),og(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(Iu(o)){t.flags|=nr,t.child=e.child;var v=vy.bind(null,e);return y=v,o._reactRetry=y,null}td(t,o,a.treeContext);var b=tg(t,r.children);return b.flags|=sr,b;var y}(e,t,s,r,m,f,n)}if(a){var h=r.fallback,g=function(e,t,n,r,o){var i,a,s=t.mode,l=e.child,u=l.sibling,c={mode:"hidden",children:n};if(1&s||t.child===l)(i=rg(l,c)).subtreeFlags=l.subtreeFlags&Sr;else{(i=t.child).childLanes=0,i.pendingProps=c,2&t.mode&&(i.actualDuration=0,i.actualStartTime=-1,i.selfBaseDuration=l.selfBaseDuration,i.treeBaseDuration=l.treeBaseDuration),t.deletions=null}null!==u?a=Ky(u,r):(a=Zy(r,s,o,null)).flags|=2;return a.return=t,i.return=t,i.sibling=a,t.child=i,a}(e,t,r.children,h,n),v=t.child,b=e.child.memoizedState;return v.memoizedState=null===b?Zh(n):function(e,t){return{baseLanes:bi(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(b,n),v.childLanes=function(e,t){return yi(e.childLanes,t)}(e,n),t.memoizedState=Jh,g}var y=function(e,t,n,r){var o=e.child,i=o.sibling,a=rg(o,{mode:"visible",children:n});1&t.mode||(a.lanes=r);if(a.return=t,a.sibling=null,null!==i){var s=t.deletions;null===s?(t.deletions=[i],t.flags|=tr):s.push(i)}return t.child=a,a}(e,t,r.children,n);return t.memoizedState=null,y}function tg(e,t,n){var r=ng({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function ng(e,t,n){return ew(e,t,0,null)}function rg(e,t){return Ky(e,t)}function og(e,t,n,r){null!==r&&yd(r),Bd(t,e.child,null,n);var o=tg(t,t.pendingProps.children);return o.flags|=2,t.memoizedState=null,o}function ig(e,t,n){e.lanes=bi(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=bi(r.lanes,t)),rp(e.return,t,n)}function ag(e,t){var n=wt(e),r=!n&&"function"==typeof fe(e);if(n||r){var o=n?"array":"iterable";return i("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 sg(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function lg(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,s=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Ph[e])if(Ph[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":i('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":i('"%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:i('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else i('%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,i('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Mh[e]=!0,i('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(a,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(!ag(e[n],n))return}else{var r=fe(e);if("function"==typeof r){var o=r.call(e);if(o)for(var a=o.next(),s=0;!a.done;a=o.next()){if(!ag(a.value,s))return;s++}}else i('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),$h(e,t,s,n);var l=zp.current;Up(l,2)?(l=Hp(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&&ig(r,n,e);else if(r.tag===h)ig(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=Bp(l));if(Wp(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),sg(t,!1,u,d,a);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 g=f.sibling;f.sibling=p,p=f,f=g}sg(t,!0,p,null,a);break;case"together":sg(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}var ug=!1;var cg,dg,pg,fg,mg=!1;function hg(){Vh=!0}function gg(e,t){1&t.mode||null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function vg(e,t,n){return null!==e&&(t.dependencies=e.dependencies),Hm(),ny(t.lanes),gi(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 bg(e,t){return!!gi(e.lanes,t)}function yg(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 i=r.deletions;return null===i?(r.deletions=[e],r.flags|=tr):i.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||vc()||t.type!==e.type)Vh=!0;else{if(!bg(e,n)&&0===(t.flags&nr))return Vh=!1,function(e,t,n){switch(t.tag){case 3:Yh(t),t.stateNode,gd();break;case 5:$p(t);break;case 1:bc(t.type)&&_c(t);break;case 4:Lp(t,t.stateNode.containerInfo);break;case s:var r=t.memoizedProps.value;tp(t,t.type._context,r);break;case u:gi(n,t.childLanes)&&(t.flags|=4);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case c:var i=t.memoizedState;if(null!==i){if(null!==i.dehydrated)return Wp(t,Bp(zp.current)),t.flags|=nr,null;if(gi(n,t.child.childLanes))return eg(e,t,n);Wp(t,Bp(zp.current));var a=vg(e,t,n);return null!==a?a.sibling:null}Wp(t,Bp(zp.current));break;case h:var l=0!==(e.flags&nr),d=gi(n,t.childLanes);if(l){if(d)return lg(e,t,n);t.flags|=nr}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),Wp(t,zp.current),d)break;return null;case v:case b:return t.lanes=0,Bh(e,t,n)}return vg(e,t,n)}(e,t,n);Vh=0!==(e.flags&pr)}else if(Vh=!1,bd()&&function(e){return qc(),0!==(e.flags&fr)}(t)){var r=t.index;Bc(t,(qc(),Mc),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){gg(e,t);var o,a,s,l=t.pendingProps;if(o=gc(t,mc(0,n,!1)),ip(t,r),to(t),n.prototype&&"function"==typeof n.prototype.render){var u=Le(n)||"Unknown";Ch[u]||(i("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),Ch[u]=!0)}if(8&t.mode&&xd.recordLegacyContextWarning(t,null),Ge(!0),jh.current=t,a=wf(null,t,n,l,o,r),s=xf(),Ge(!1),no(),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){var c=Le(n)||"Unknown";Oh[c]||(i("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),Oh[c]=!0)}if("object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){var d=Le(n)||"Unknown";Oh[d]||(i("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),Oh[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var p=!1;return bc(n)?(p=!0,_c(t)):p=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,bp(t),mh(t,a),vh(t,n,l,r),qh(null,t,n,!0,p,r)}if(t.tag=0,8&t.mode){Qr(!0);try{a=wf(null,t,n,l,o,r),s=xf()}finally{Qr(!1)}}return bd()&&s&&Hc(t),$h(null,t,a,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,a=t.pendingProps;return Wh(e,t,o,t.elementType===o?a:Qm(o,a),n);case 1:var m=t.type,y=t.pendingProps;return Gh(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,i=o.element;yp(e,t),Tp(t,r,null,n);var a=t.memoizedState;t.stateNode;var s=a.element;if(o.isDehydrated){var l={element:s,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.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!==i)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=Hd(t,null,s,n);t.child=u;for(var c=u;c;)c.flags=-3&c.flags|sr,c=c.sibling}else{if(gd(),s===i)return vg(e,t,n);$h(e,t,s,n)}return t.child}(e,t,n);case 5:return function(e,t,n){$p(t),null===e&&ud(t);var r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children;return bu(r,o)?a=null:null!==i&&bu(r,i)&&(t.flags|=32),Hh(e,t),$h(e,t,a,n),t.child}(e,t,n);case 6:return function(e,t){return null===e&&ud(t),null}(e,t);case c:return eg(e,t,n);case 4:return function(e,t,n){Lp(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Bd(t,null,r,n):$h(e,t,r,n),t.child}(e,t,n);case l:var w=t.type,x=t.pendingProps;return Fh(e,t,w,t.elementType===w?x:Qm(w,x),n);case 7:return function(e,t,n){return $h(e,t,t.pendingProps,n),t.child}(e,t,n);case 8:return function(e,t,n){return $h(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,$h(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,a=t.memoizedProps,s=o.value;"value"in o||ug||(ug=!0,i("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!==a){var u=a.value;if(Cs(u,s)){if(a.children===o.children&&!vc())return vg(e,t,n)}else op(t,r,n)}return $h(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&&(mg||(mg=!0,i("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&&i("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."),ip(t,n);var a,s=ap(r);return to(t),jh.current=t,Ge(!0),a=o(s),Ge(!1),no(),t.flags|=1,$h(e,t,a,n),t.child}(e,t,n);case d:var S=t.type,_=Qm(S,t.pendingProps);if(t.type!==t.elementType){var E=S.propTypes;E&&nc(E,_,"prop",Le(S))}return zh(e,t,S,_=Qm(S.type,_),n);case p:return Uh(e,t,t.type,t.pendingProps,n);case f:var T=t.type,k=t.pendingProps;return function(e,t,n,r,o){var i;return gg(e,t),t.tag=1,bc(n)?(i=!0,_c(t)):i=!1,ip(t,o),hh(t,n,r),vh(t,n,r,o),qh(null,t,n,!0,i,o)}(e,t,T,t.elementType===T?k:Qm(T,k),n);case h:return lg(e,t,n);case g:break;case v:return Bh(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 wg(e){e.flags|=4}function xg(e){e.flags|=or,e.flags|=mr}function Sg(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,i=null;null!==o;)null!==o.alternate&&(i=o),o=o.sibling;null===i?t||null===e.tail?e.tail=null:e.tail.sibling=null:i.sibling=null}}function _g(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,i=e.child;null!==i;)n=bi(n,bi(i.lanes,i.childLanes)),r|=i.subtreeFlags&Sr,r|=i.flags&Sr,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(var a=e.child;null!==a;)n=bi(n,bi(a.lanes,a.childLanes)),r|=a.subtreeFlags&Sr,r|=a.flags&Sr,a.return=e,a=a.sibling;e.subtreeFlags|=r}else{if(2&e.mode){for(var s=e.actualDuration,l=e.selfBaseDuration,u=e.child;null!==u;)n=bi(n,bi(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=bi(n,bi(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 Eg(e,t,n){if(Xc&&null!==Kc&&1&t.mode&&0===(t.flags&nr))return hd(t),gd(),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),_g(t),2&t.mode)if(null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(gd(),0===(t.flags&nr)&&(t.memoizedState=null),t.flags|=4,_g(t),2&t.mode&&null!==n){var i=t.child;null!==i&&(t.treeBaseDuration-=i.treeBaseDuration)}return!1}return vd(),!0}function Tg(e,t,n){var r=t.pendingProps;switch(Gc(t),t.tag){case 2:case 16:case p:case 0:case l:case 7:case 8:case u:case 9:case d:return _g(t),null;case 1:return bc(t.type)&&yc(t),_g(t),null;case 3:var o=t.stateNode;if(jp(t),wc(t),Xp(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)if(md(t))wg(t);else if(null!==e)e.memoizedState.isDehydrated&&0===(t.flags&rr)||(t.flags|=ir,vd());return dg(e,t),_g(t),null;case 5:Fp(t);var i=Mp(),a=t.type;if(null!==e&&null!=t.stateNode)pg(e,t,a,r,i),e.ref!==t.ref&&xg(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 _g(t),null}var m=Vp();if(md(t))(function(e,t,n){var r=e.stateNode,o=!Qc,i=Mu(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=i,null!==i})(t,0,m)&&wg(t);else{var y=gu(a,r,i,m,t);cg(y,t,!1,!1),t.stateNode=y,function(e,t,n){switch(Gl(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(y,a,r)&&wg(t)}null!==t.ref&&xg(t)}return _g(t),null;case 6:var w=r;if(e&&null!=t.stateNode){var x=e.memoizedProps;fg(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 S=Mp(),_=Vp();md(t)?cd(t)&&wg(t):t.stateNode=yu(w,S,_,t)}return _g(t),null;case c:Gp(t);var E=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Eg(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 T=null!==E;if(T!==(null!==e&&null!==e.memoizedState))if(T)if(t.child.flags|=lr,1&t.mode)null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!0)||Up(zp.current,1)?rb===Hv&&(rb=qv):ry();if(null!==t.updateQueue&&(t.flags|=4),_g(t),2&t.mode&&T){var k=t.child;null!==k&&(t.treeBaseDuration-=k.treeBaseDuration)}return null;case 4:return jp(t),dg(e,t),null===e&&gl(t.stateNode.containerInfo),_g(t),null;case s:return np(t.type._context,t),_g(t),null;case f:return bc(t.type)&&yc(t),_g(t),null;case h:Gp(t);var A=t.memoizedState;if(null===A)return _g(t),null;var C=0!==(t.flags&nr),O=A.rendering;if(null===O)if(C)Sg(A,!1);else{if(!(rb===Hv&&(null===e||0===(e.flags&nr))))for(var R=t.child;null!==R;){var I=Yp(R);if(null!==I){C=!0,t.flags|=nr,Sg(A,!1);var D=I.updateQueue;return null!==D&&(t.updateQueue=D,t.flags|=4),t.subtreeFlags=0,Wd(t,n),Wp(t,Hp(zp.current,2)),t.child}R=R.sibling}null!==A.tail&&jr()>gb()&&(t.flags|=nr,C=!0,Sg(A,!1),t.lanes=qo)}else{if(!C){var N=Yp(O);if(null!==N){t.flags|=nr,C=!0;var P=N.updateQueue;if(null!==P&&(t.updateQueue=P,t.flags|=4),Sg(A,!0),null===A.tail&&"hidden"===A.tailMode&&!O.alternate&&!bd())return _g(t),null}else 2*jr()-A.renderingStartTime>gb()&&n!==Jo&&(t.flags|=nr,C=!0,Sg(A,!1),t.lanes=qo)}if(A.isBackwards)O.sibling=t.child,t.child=O;else{var M=A.last;null!==M?M.sibling=O:t.child=O,A.last=O}}if(null!==A.tail){var L=A.tail;A.rendering=L,A.tail=L.sibling,A.renderingStartTime=jr(),L.sibling=null;var j=zp.current;return Wp(t,j=C?Hp(j,2):Bp(j)),L}return _g(t),null;case g:break;case v:case b:Qb(t);var V=null!==t.memoizedState;if(null!==e)null!==e.memoizedState!==V&&(t.flags|=lr);return V&&1&t.mode?gi(tb,Jo)&&(_g(t),6&t.subtreeFlags&&(t.flags|=lr)):_g(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 kg(e,t,n){switch(Gc(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,jp(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 Fp(t),null;case c:Gp(t);var i=t.memoizedState;if(null!==i&&null!==i.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.");gd()}var a=t.flags;return a&dr?(t.flags=-65537&a|nr,2&t.mode&&Xm(t),t):null;case h:return Gp(t),null;case 4:return jp(t),null;case s:return np(t.type._context,t),null;case v:case b:return Qb(t),null;default:return null}}function Ag(e,t,n){switch(Gc(t),t.tag){case 1:var r=t.type.childContextTypes;null!=r&&yc(t);break;case 3:t.stateNode,jp(t),wc(t),Xp();break;case 5:Fp(t);break;case 4:jp(t);break;case c:case h:Gp(t);break;case s:np(t.type._context,t);break;case v:case b:Qb(t)}}cg=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag||6===o.tag)vu(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}},dg=function(e,t){},pg=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=function(e,t,n,r,o,i){var a=i;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var s=""+r.children,l=tu(a.ancestorInfo,t);eu(null,s,l)}return ql(e,t,n,r)}(t.stateNode,n,i,r,0,Vp());t.updateQueue=a,a&&wg(t)}},fg=function(e,t,n,r){n!==r&&wg(t)};var Cg=null;Cg=new Set;var Og=!1,Rg=!1,Ig="function"==typeof WeakSet?WeakSet:Set,Dg=null,Ng=null,Pg=null;var Mg=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{Ym(),t.componentWillUnmount()}finally{Gm(e)}else t.componentWillUnmount()};function Lg(e,t){try{Gg(4,e)}catch(n){my(e,t,n)}}function jg(e,t,n){try{Mg(e,n)}catch(r){my(e,t,r)}}function Vg(e,t){try{Xg(e)}catch(n){my(e,t,n)}}function $g(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{Gm(e)}else r=n(null)}catch(o){my(e,t,o)}"function"==typeof r&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else n.current=null}function Fg(e,t,n){try{n()}catch(r){my(e,t,r)}}var zg=!1;function Ug(e,t){hu(e.containerInfo),Dg=t,function(){for(;null!==Dg;){var e=Dg,t=e.child;0!==(e.subtreeFlags&br)&&null!==t?(t.return=e,Dg=t):Bg()}}();var n=zg;return zg=!1,n}function Bg(){for(;null!==Dg;){var e=Dg;We(e);try{Hg(e)}catch(n){my(e,e.return,n)}He();var t=e.sibling;if(null!==t)return t.return=e.return,void(Dg=t);Dg=e.return}}function Hg(e){var t,n=e.alternate;if(0!==(e.flags&ir)){switch(We(e),e.tag){case 0:case l:case p:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,a=e.stateNode;e.type!==e.elementType||Nh||(a.props!==e.memoizedProps&&i("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"),a.state!==e.memoizedState&&i("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=a.getSnapshotBeforeUpdate(e.elementType===e.type?r:Qm(e.type,r),o),u=Cg;void 0!==s||u.has(e.type)||(u.add(e.type),i("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ve(e))),a.__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.")}He()}}function Wg(e,t,n){var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,a=i;do{if((a.tag&e)===e){var s=a.destroy;a.destroy=void 0,void 0!==s&&(8&e?io(t):4&e&&uo(t),2&e&&Iy(!0),Fg(t,n,s),2&e&&Iy(!1),8&e?ao():4&e&&co())}a=a.next}while(a!==i)}}function Gg(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){8&e?ro(t):4&e&&so(t);var s=a.create;2&e&&Iy(!0),a.destroy=s(),2&e&&Iy(!1),8&e?oo():4&e&&lo();var l=a.destroy;if(void 0!==l&&"function"!=typeof l){var u=void 0;i("%s must not return anything besides a function, which is used for clean-up.%s",u=4&a.tag?"useLayoutEffect":2&a.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)}}a=a.next}while(a!==o)}}function qg(e,t){if(4&t.flags&&t.tag===u){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,i=r.onPostCommit,a=zm(),s=null===t.alternate?"mount":"update";Fm()&&(s="nested-update"),"function"==typeof i&&i(o,s,n,a);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 Yg(e,t,n,r){if(0!==(n.flags&wr))switch(n.tag){case 0:case l:case p:if(!Rg)if(2&n.mode)try{Ym(),Gg(5,n)}finally{Gm(n)}else Gg(5,n);break;case 1:var o=n.stateNode;if(4&n.flags&&!Rg)if(null===t)if(n.type!==n.elementType||Nh||(o.props!==n.memoizedProps&&i("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&&i("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{Gm(n)}else o.componentDidMount();else{var a=n.elementType===n.type?t.memoizedProps:Qm(n.type,t.memoizedProps),s=t.memoizedState;if(n.type!==n.elementType||Nh||(o.props!==n.memoizedProps&&i("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&&i("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(a,s,o.__reactInternalSnapshotBeforeUpdate)}finally{Gm(n)}else o.componentDidUpdate(a,s,o.__reactInternalSnapshotBeforeUpdate)}var d=n.updateQueue;null!==d&&(n.type!==n.elementType||Nh||(o.props!==n.memoizedProps&&i("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&&i("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")),Op(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}Op(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,S=x.onCommit,_=x.onRender,E=n.stateNode.effectDuration,T=zm(),k=null===t?"mount":"update";Fm()&&(k="nested-update"),"function"==typeof _&&_(n.memoizedProps.id,k,n.actualDuration,n.treeBaseDuration,n.actualStartTime,T),"function"==typeof S&&S(n.memoizedProps.id,k,E,T),C=n,_b.push(C),wb||(wb=!0,Cy(zr,function(){return cy(),null}));var A=n.return;e:for(;null!==A;){switch(A.tag){case 3:A.stateNode.effectDuration+=E;break e;case u:A.stateNode.effectDuration+=E;break e}A=A.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 i=o.dehydrated;null!==i&&function(e){ia(e)}(i)}}}}(0,n);break;case h:case f:case g:case v: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 C;Rg||n.flags&or&&Xg(n)}function Kg(e){switch(e.tag){case 0:case l:case p:if(2&e.mode)try{Ym(),Lg(e,e.return)}finally{Gm(e)}else Lg(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),Vg(e,e.return);break;case 5:Vg(e,e.return)}}function Xg(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{Gm(e)}else o=t(n);"function"==typeof o&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else t.hasOwnProperty("current")||i("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ve(e)),t.current=n}}function Qg(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,Qg(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[$u],delete t[zu],delete t[Uu],delete t[Bu])}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 Jg(e){return 5===e.tag||3===e.tag||4===e.tag}function Zg(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Jg(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 ev(e){var t=function(e){for(var t=e.return;null!==t;){if(Jg(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&&(Tu(n),t.flags&=-33),nv(e,Zg(e),n);break;case 3:case 4:var r=t.stateNode.containerInfo;tv(e,Zg(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 tv(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&&Wl(n)}(n,o)}else if(4===r);else{var i=e.child;if(null!==i){tv(i,t,n);for(var a=i.sibling;null!==a;)tv(a,t,n),a=a.sibling}}}function nv(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 i=e.child;if(null!==i){nv(i,t,n);for(var a=i.sibling;null!==a;)nv(a,t,n),a=a.sibling}}}var rv=null,ov=!1;function iv(e,t,n){var r,o,i=t;e:for(;null!==i;){switch(i.tag){case 5:rv=i.stateNode,ov=!1;break e;case 3:case 4:rv=i.stateNode.containerInfo,ov=!0;break e}i=i.return}if(null===rv)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");sv(e,t,n),rv=null,ov=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function av(e,t,n){for(var r=n.child;null!==r;)sv(e,t,r),r=r.sibling}function sv(e,t,n){switch(function(e){if(qr&&"function"==typeof qr.onCommitFiberUnmount)try{qr.onCommitFiberUnmount(Gr,e)}catch(t){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",t))}}(n),n.tag){case 5:Rg||$g(n,t);case 6:var r=rv,o=ov;return rv=null,av(e,t,n),ov=o,void(null!==(rv=r)&&(ov?(_=rv,E=n.stateNode,8===_.nodeType?_.parentNode.removeChild(E):_.removeChild(E)):function(e,t){e.removeChild(t)}(rv,n.stateNode)));case m:return void(null!==rv&&(ov?function(e,t){8===e.nodeType?ku(e.parentNode,t):1===e.nodeType&&ku(e,t),ia(e)}(rv,n.stateNode):ku(rv,n.stateNode)));case 4:var a=rv,s=ov;return rv=n.stateNode.containerInfo,ov=!0,av(e,t,n),rv=a,void(ov=s);case 0:case l:case d:case p:if(!Rg){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?Fg(n,t,y):4&w&&(uo(n),2&n.mode?(Ym(),Fg(n,t,y),Gm(n)):Fg(n,t,y),co())),h=h.next}while(h!==f)}}}return void av(e,t,n);case 1:if(!Rg){$g(n,t);var x=n.stateNode;"function"==typeof x.componentWillUnmount&&jg(n,t,x)}return void av(e,t,n);case g:return void av(e,t,n);case v:if(1&n.mode){var S=Rg;Rg=S||null!==n.memoizedState,av(e,t,n),Rg=S}else av(e,t,n);break;default:return void av(e,t,n)}var _,E}function lv(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ig),t.forEach(function(t){var r=by.bind(null,e,t);if(!n.has(t)){if(n.add(t),Xr){if(null===Ng||null===Pg)throw Error("Expected finished root and lanes to be set. This is a bug in React.");ky(Pg,Ng)}t.then(r,r)}})}}function uv(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var i=r[o];try{iv(e,t,i)}catch(l){my(i,t,l)}}var a=Fe;if(t.subtreeFlags&yr)for(var s=t.child;null!==s;)We(s),cv(s,e),s=s.sibling;We(a)}function cv(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case l:case d:case p:if(uv(t,e),dv(e),4&o){try{Wg(3,e,e.return),Gg(3,e)}catch(R){my(e,e.return,R)}if(2&e.mode){try{Ym(),Wg(5,e,e.return)}catch(R){my(e,e.return,R)}Gm(e)}else try{Wg(5,e,e.return)}catch(R){my(e,e.return,R)}}return;case 1:return uv(t,e),dv(e),void(o&or&&null!==r&&$g(r,r.return));case 5:if(uv(t,e),dv(e),o&or&&null!==r&&$g(r,r.return),32&e.flags){var i=e.stateNode;try{Tu(i)}catch(R){my(e,e.return,R)}}if(4&o){var a=e.stateNode;if(null!=a){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)}(a,m,f,u,s)}catch(R){my(e,e.return,R)}}}return;case 6:if(uv(t,e),dv(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(R){my(e,e.return,R)}}return;case 3:if(uv(t,e),dv(e),4&o)if(null!==r)if(r.memoizedState.isDehydrated)try{ia(t.containerInfo)}catch(R){my(e,e.return,R)}return;case 4:return uv(t,e),void dv(e);case c:uv(t,e),dv(e);var x=e.child;if(x.flags&lr){var S=x.stateNode,_=null!==x.memoizedState;if(S.isHidden=_,_)null!==x.alternate&&null!==x.alternate.memoizedState||(cb=jr())}if(4&o){try{!function(e){e.memoizedState}(e)}catch(R){my(e,e.return,R)}lv(e)}return;case v:var E=null!==r&&null!==r.memoizedState;if(1&e.mode){var T=Rg;Rg=T||E,uv(t,e),Rg=T}else uv(t,e);if(dv(e),o&lr){var k=e.stateNode,A=null!==e.memoizedState,C=e;if(k.isHidden=A,A&&!E&&1&C.mode){Dg=C;for(var O=C.child;null!==O;)Dg=O,hv(O),O=O.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?Au(o):Ou(r.stateNode,r.memoizedProps)}catch(R){my(e,e.return,R)}}}else if(6===r.tag){if(null===n)try{var i=r.stateNode;t?Cu(i):Ru(i,r.memoizedProps)}catch(R){my(e,e.return,R)}}else if((r.tag!==v&&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}}(C,A)}return;case h:return uv(t,e),dv(e),void(4&o&&lv(e));case g:return;default:return uv(t,e),void dv(e)}}function dv(e){var t=e.flags;if(2&t){try{ev(e)}catch(n){my(e,e.return,n)}e.flags&=-3}t&sr&&(e.flags&=-4097)}function pv(e,t,n){Ng=n,Pg=t,Dg=e,fv(e,t,n),Ng=null,Pg=null}function fv(e,t,n){for(var r=!!(1&e.mode);null!==Dg;){var o=Dg,i=o.child;if(o.tag===v&&r){var a=null!==o.memoizedState||Og;if(a){mv(e,t,n);continue}var s=o.alternate,l=null!==s&&null!==s.memoizedState,u=Og,c=Rg;Og=a,(Rg=l||Rg)&&!c&&(Dg=o,vv(o));for(var d=i;null!==d;)Dg=d,fv(d,t,n),d=d.sibling;Dg=o,Og=u,Rg=c,mv(e,t,n)}else 0!==(o.subtreeFlags&wr)&&null!==i?(i.return=o,Dg=i):mv(e,t,n)}}function mv(e,t,n){for(;null!==Dg;){var r=Dg;if(0!==(r.flags&wr)){var o=r.alternate;We(r);try{Yg(0,o,r)}catch(a){my(r,r.return,a)}He()}if(r===e)return void(Dg=null);var i=r.sibling;if(null!==i)return i.return=r.return,void(Dg=i);Dg=r.return}}function hv(e){for(;null!==Dg;){var t=Dg,n=t.child;switch(t.tag){case 0:case l:case d:case p:if(2&t.mode)try{Ym(),Wg(4,t,t.return)}finally{Gm(t)}else Wg(4,t,t.return);break;case 1:$g(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&jg(t,t.return,r);break;case 5:$g(t,t.return);break;case v:if(null!==t.memoizedState){gv(e);continue}}null!==n?(n.return=t,Dg=n):gv(e)}}function gv(e){for(;null!==Dg;){var t=Dg;if(t===e)return void(Dg=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Dg=n);Dg=t.return}}function vv(e){for(;null!==Dg;){var t=Dg,n=t.child;if(t.tag===v)if(null!==t.memoizedState){bv(e);continue}null!==n?(n.return=t,Dg=n):bv(e)}}function bv(e){for(;null!==Dg;){var t=Dg;We(t);try{Kg(t)}catch(r){my(t,t.return,r)}if(He(),t===e)return void(Dg=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Dg=n);Dg=t.return}}function yv(e,t,n,r){Dg=t,function(e,t,n,r){for(;null!==Dg;){var o=Dg,i=o.child;0!==(o.subtreeFlags&xr)&&null!==i?(i.return=o,Dg=i):wv(e,t,n,r)}}(t,e,n,r)}function wv(e,t,n,r){for(;null!==Dg;){var o=Dg;if(0!==(o.flags&ar)){We(o);try{xv(t,o,n,r)}catch(a){my(o,o.return,a)}He()}if(o===e)return void(Dg=null);var i=o.sibling;if(null!==i)return i.return=o.return,void(Dg=i);Dg=o.return}}function xv(e,t,n,r){switch(t.tag){case 0:case l:case p:if(2&t.mode){Km();try{Gg(9,t)}finally{qm(t)}}else Gg(9,t)}}function Sv(e){Dg=e,function(){for(;null!==Dg;){var e=Dg,t=e.child;if(0!==(Dg.flags&tr)){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];Dg=o,Tv(o,e)}var i=e.alternate;if(null!==i){var a=i.child;if(null!==a){i.child=null;do{var s=a.sibling;a.sibling=null,a=s}while(null!==a)}}Dg=e}}0!==(e.subtreeFlags&xr)&&null!==t?(t.return=e,Dg=t):_v()}}()}function _v(){for(;null!==Dg;){var e=Dg;0!==(e.flags&ar)&&(We(e),Ev(e),He());var t=e.sibling;if(null!==t)return t.return=e.return,void(Dg=t);Dg=e.return}}function Ev(e){switch(e.tag){case 0:case l:case p:2&e.mode?(Km(),Wg(9,e,e.return),qm(e)):Wg(9,e,e.return)}}function Tv(e,t){for(;null!==Dg;){var n=Dg;We(n),Av(n,t),He();var r=n.child;null!==r?(r.return=n,Dg=r):kv(e)}}function kv(e){for(;null!==Dg;){var t=Dg,n=t.sibling,r=t.return;if(Qg(t),t===e)return void(Dg=null);if(null!==n)return n.return=r,void(Dg=n);Dg=r}}function Av(e,t){switch(e.tag){case 0:case l:case p:2&e.mode?(Km(),Wg(8,e,t),qm(e)):Wg(8,e,t)}}function Cv(e){switch(e.tag){case 0:case l:case p:try{Gg(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 Ov(e){switch(e.tag){case 0:case l:case p:try{Gg(9,e)}catch(t){my(e,e.return,t)}}}function Rv(e){switch(e.tag){case 0:case l:case p:try{Wg(5,e,e.return)}catch(n){my(e,e.return,n)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&jg(e,e.return,t)}}function Iv(e){switch(e.tag){case 0:case l:case p:try{Wg(9,e,e.return)}catch(t){my(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Dv=Symbol.for;Dv("selector.component"),Dv("selector.has_pseudo_class"),Dv("selector.role"),Dv("selector.test_id"),Dv("selector.text")}var Nv=[];var Pv=n.ReactCurrentActQueue;function Mv(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===Pv.current||i("The current testing environment is not configured to support act(...)"),e}var Lv=Math.ceil,jv=n.ReactCurrentDispatcher,Vv=n.ReactCurrentOwner,$v=n.ReactCurrentBatchConfig,Fv=n.ReactCurrentActQueue,zv=0,Uv=2,Bv=4,Hv=0,Wv=1,Gv=2,qv=3,Yv=4,Kv=5,Xv=6,Qv=zv,Jv=null,Zv=null,eb=0,tb=0,nb=sc(0),rb=Hv,ob=null,ib=0,ab=0,sb=0,lb=null,ub=null,cb=0,db=500,pb=1/0,fb=500,mb=null;function hb(){pb=jr()+fb}function gb(){return pb}var vb=!1,bb=null,yb=null,wb=!1,xb=null,Sb=0,_b=[],Eb=null,Tb=50,kb=0,Ab=null,Cb=!1,Ob=!1,Rb=50,Ib=0,Db=null,Nb=ei,Pb=0,Mb=!1;function Lb(){return Jv}function jb(){return(Qv&(Uv|Bv))!==zv?jr():Nb!==ei?Nb:Nb=jr()}function Vb(e){if(!(1&e.mode))return So;if((Qv&Uv)!==zv&&0!==eb)return fi(eb);if(null!==wd.transition){if(null!==$v.transition){var t=$v.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return 0===Pb&&(Pb=di()),Pb}var n,r=ji();return 0!==r?r:void 0===(n=window.event)?Pi:ma(n.type)}function $b(e){var t;return 1&e.mode?(t=ni,!((ni<<=1)&zo)&&(ni=Uo),t):So}function Fb(e,t,n,r){!function(){if(kb>Tb)throw kb=0,Ab=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.");Ib>Rb&&(Ib=0,Db=null,i("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&&i("useInsertionEffect must not schedule updates."),Cb&&(Ob=!0),Si(e,n,r),0!==(Qv&Uv)&&e===Jv?function(e){if(ze&&!mm)switch(e.tag){case 0:case l:case p:var t=Zv&&Ve(Zv)||"Unknown",n=t;if(!Ey.has(n))Ey.add(n),i("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:Ty||(i("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Ty=!0)}}(t):(Xr&&Ti(e,t,n),function(e){if(1&e.mode){if(!Mv())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(Qv!==zv)return;if(0!==e.tag&&e.tag!==l&&e.tag!==p)return}var t;if(null===Fv.current){var n=Fe;try{We(e),i("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?We(e):He()}}}(t),e===Jv&&((Qv&Uv)===zv&&(ab=bi(ab,n)),rb===Yv&&Wb(e,eb)),zb(e,r),n!==So||Qv!==zv||1&t.mode||Fv.isBatchingLegacy||(hb(),Rc()))}function zb(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=n;a>0;){var s=mi(a),l=1<<s,u=i[s];u===ei?0!==(l&r)&&0===(l&o)||(i[s]=ii(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=oi(e,e===Jv?eb:0);if(0===r)return null!==n&&Oy(n),e.callbackNode=null,void(e.callbackPriority=0);var o=pi(r),a=e.callbackPriority;if(a!==o||null!==Fv.current&&n!==Ay){var s,l;if(null!=n&&Oy(n),o===So)0===e.tag?(null!==Fv.isBatchingLegacy&&(Fv.didScheduleLegacyUpdate=!0),l=Gb.bind(null,e),Ac=!0,Oc(l)):Oc(Gb.bind(null,e)),null!==Fv.current?Fv.current.push(Ic):_u(function(){(Qv&(Uv|Bv))===zv&&Ic()}),s=null;else{var u;switch(Fi(r)){case Di:u=$r;break;case Ni:u=Fr;break;case Pi:u=zr;break;case Mi:u=Br;break;default:u=zr}s=Cy(u,Ub.bind(null,e))}e.callbackPriority=o,e.callbackNode=s}else null==n&&a!==So&&i("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function Ub(e,t){if(Vm=!1,$m=!1,Nb=ei,Pb=0,(Qv&(Uv|Bv))!==zv)throw new Error("Should not already be working.");var n=e.callbackNode;if(cy()&&e.callbackNode!==n)return null;var r=oi(e,e===Jv?eb:0);if(0===r)return null;var o=!ui(0,r)&&!function(e,t){return 0!==(t&e.expiredLanes)}(e,r)&&!t,i=o?function(e,t){var n=Qv;Qv|=Uv;var r=ey();if(Jv!==e||eb!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(ky(e,eb),o.clear()),ki(e,t)}mb=null,hb(),Jb(e,t)}mo(t);for(;;)try{ay();break}catch(i){Zb(e,i)}return Jd(),ty(r),Qv=n,null!==Zv?(null!==Yr&&"function"==typeof Yr.markRenderYielded&&Yr.markRenderYielded(),Hv):(ho(),Jv=null,eb=0,rb)}(e,r):oy(e,r);if(i!==Hv){if(i===Gv){var a=ai(e);0!==a&&(r=a,i=Bb(e,a))}if(i===Wv){var s=ob;throw Jb(e,0),Wb(e,r),zb(e,jr()),s}if(i===Xv)Wb(e,r);else{var l=!ui(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 i=r[o],a=i.getSnapshot,s=i.value;try{if(!Cs(a(),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((i=oy(e,r))===Gv){var c=ai(e);0!==c&&(r=c,i=Bb(e,c))}if(i===Wv){var d=ob;throw Jb(e,0),Wb(e,r),zb(e,jr()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case Hv:case Wv:throw new Error("Root did not complete. This is a bug in React.");case Gv:uy(e,ub,mb);break;case qv:if(Wb(e,n),li(n)&&!Ry()){var r=cb+db-jr();if(r>10){if(0!==oi(e,0))break;var o=e.suspendedLanes;if(!vi(o,n)){jb(),_i(e,o);break}e.timeoutHandle=wu(uy.bind(null,e,ub,mb),r);break}}uy(e,ub,mb);break;case Yv:if(Wb(e,n),function(e){return(e&Co)===e}(n))break;if(!Ry()){var i=function(e,t){for(var n=e.eventTimes,r=ei;t>0;){var o=mi(t),i=1<<o,a=n[o];a>r&&(r=a),t&=~i}return r}(e,n),a=i,s=jr()-a,l=((u=s)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*Lv(u/1960))-s;if(l>10){e.timeoutHandle=wu(uy.bind(null,e,ub,mb),l);break}}uy(e,ub,mb);break;case Kv:uy(e,ub,mb);break;default:throw new Error("Unknown root exit status.")}var u}(e,i,r)}}return zb(e,jr()),e.callbackNode===n?Ub.bind(null,e):null}function Bb(e,t){var n=lb;zi(e)&&(Jb(e,t).flags|=rr,i("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!==Gv){var o=ub;ub=n,null!==o&&Hb(o)}return r}function Hb(e){null===ub?ub=e:ub.push.apply(ub,e)}function Wb(e,t){t=yi(t,sb),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=mi(r),i=1<<o;n[o]=ei,r&=~i}}(e,t=yi(t,ab))}function Gb(e){if(Vm=$m,$m=!1,(Qv&(Uv|Bv))!==zv)throw new Error("Should not already be working.");cy();var t=oi(e,0);if(!gi(t,So))return zb(e,jr()),null;var n=oy(e,t);if(0!==e.tag&&n===Gv){var r=ai(e);0!==r&&(t=r,n=Bb(e,r))}if(n===Wv){var o=ob;throw Jb(e,0),Wb(e,t),zb(e,jr()),o}if(n===Xv)throw new Error("Root did not complete. This is a bug in React.");var i=e.current.alternate;return e.finishedWork=i,e.finishedLanes=t,uy(e,ub,mb),zb(e,jr()),null}function qb(e,t){var n=Qv;Qv|=1;try{return e(t)}finally{(Qv=n)!==zv||Fv.isBatchingLegacy||(hb(),Rc())}}function Yb(e){null!==xb&&0===xb.tag&&(Qv&(Uv|Bv))===zv&&cy();var t=Qv;Qv|=1;var n=$v.transition,r=ji();try{return $v.transition=null,Vi(Di),e?e():void 0}finally{Vi(r),$v.transition=n,((Qv=t)&(Uv|Bv))===zv&&Ic()}}function Kb(){return(Qv&(Uv|Bv))!==zv}function Xb(e,t){uc(nb,tb,e),tb=bi(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!==Zv)for(var r=Zv.return;null!==r;){r.alternate;Ag(0,r),r=r.return}Jv=e;var o=Ky(e.current,null);return Zv=o,eb=tb=t,rb=Hv,ob=null,ib=0,ab=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 i=o.next;o.next=r,n.next=i}t.pending=n}}sp=null}}(),xd.discardPendingWarnings(),o}function Zb(e,t){for(;;){var n=Zv;try{if(Jd(),_f(),He(),Vv.current=null,null===n||null===n.return)return rb=Wv,ob=t,void(Zv=null);2&n.mode&&Wm(n,!0),no(),null!==t&&"object"==typeof t&&"function"==typeof t.then?fo(n,t,eb):po(n,t,eb),Ah(e,n.return,n,t,eb),ly(n)}catch(r){t=r,Zv===n&&null!==n?(n=n.return,Zv=n):n=Zv;continue}return}}function ey(){var e=jv.current;return jv.current=_m,null===e?_m:e}function ty(e){jv.current=e}function ny(e){ib=bi(e,ib)}function ry(){rb!==Hv&&rb!==qv&&rb!==Gv||(rb=Yv),null!==Jv&&(si(ib)||si(ab))&&Wb(Jv,eb)}function oy(e,t){var n=Qv;Qv|=Uv;var r=ey();if(Jv!==e||eb!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(ky(e,eb),o.clear()),ki(e,t)}mb=null,Jb(e,t)}for(mo(t);;)try{iy();break}catch(i){Zb(e,i)}if(Jd(),Qv=n,ty(r),null!==Zv)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return ho(),Jv=null,eb=0,rb}function iy(){for(;null!==Zv;)sy(Zv)}function ay(){for(;null!==Zv&&!Mr();)sy(Zv)}function sy(e){var t,n=e.alternate;We(e),2&e.mode?(Bm(e),t=xy(n,e,tb),Wm(e,!0)):t=xy(n,e,tb),He(),e.memoizedProps=e.pendingProps,null===t?ly(e):Zv=t,Vv.current=null}function ly(e){var t=e;do{var n=t.alternate,r=t.return;if(0===(t.flags&cr)){We(t);var o=void 0;if(2&t.mode?(Bm(t),o=Tg(n,t,tb),Wm(t,!1)):o=Tg(n,t,tb),He(),null!==o)return void(Zv=o)}else{var i=kg(0,t);if(null!==i)return i.flags&=32767,void(Zv=i);if(2&t.mode){Wm(t,!1);for(var a=t.actualDuration,s=t.child;null!==s;)a+=s.actualDuration,s=s.sibling;t.actualDuration=a}if(null===r)return rb=Xv,void(Zv=null);r.flags|=cr,r.subtreeFlags=0,r.deletions=null}var l=t.sibling;if(null!==l)return void(Zv=l);Zv=t=r}while(null!==t);rb===Hv&&(rb=Kv)}function uy(e,t,n){var r=ji(),o=$v.transition;try{$v.transition=null,Vi(Di),function(e,t,n,r){do{cy()}while(null!==xb);if(function(){xd.flushLegacyContextWarning(),xd.flushPendingUnsafeLifecycleWarnings()}(),(Qv&(Uv|Bv))!==zv)throw new Error("Should not already be working.");var o=e.finishedWork,a=e.finishedLanes;if(function(e){null!==Yr&&"function"==typeof Yr.markCommitStarted&&Yr.markCommitStarted(e)}(a),null===o)return eo(),null;0===a&&i("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=bi(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,i=e.expirationTimes,a=n;a>0;){var s=mi(a),l=1<<s;r[s]=0,o[s]=ei,i[s]=ei,a&=~l}})(e,s),e===Jv&&(Jv=null,Zv=null,eb=0);0===(o.subtreeFlags&xr)&&0===(o.flags&xr)||wb||(wb=!0,Eb=n,Cy(zr,function(){return cy(),null}));var l=!!(15990&o.subtreeFlags),u=!!(15990&o.flags);if(l||u){var c=$v.transition;$v.transition=null;var d=ji();Vi(Di);var p=Qv;Qv|=Bv,Vv.current=null,Ug(e,o),Um(),function(e,t,n){Ng=n,Pg=e,We(t),cv(t,e),We(t),Ng=null,Pg=null}(e,o,a),e.containerInfo,Fs(mu),la(fu),fu=null,mu=null,e.current=o,function(e){null!==Yr&&"function"==typeof Yr.markLayoutEffectsStarted&&Yr.markLayoutEffectsStarted(e)}(a),pv(o,e,a),null!==Yr&&"function"==typeof Yr.markLayoutEffectsStopped&&Yr.markLayoutEffectsStopped(),Lr(),Qv=p,Vi(d),$v.transition=c}else e.current=o,Um();var f=wb;wb?(wb=!1,xb=e,Sb=a):(Ib=0,Db=null);s=e.pendingLanes,0===s&&(yb=null);f||yy(e.current,!1);(function(e,t){if(qr&&"function"==typeof qr.onCommitFiberRoot)try{var n,r=(e.current.flags&nr)===nr;switch(t){case Di:n=$r;break;case Ni:n=Fr;break;case Pi:n=zr;break;case Mi:n=Br;break;default:n=zr}qr.onCommitFiberRoot(Gr,e,n,r)}catch(o){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",o))}})(o.stateNode,r),Xr&&e.memoizedUpdaters.clear();if(function(){Nv.forEach(function(e){return e()})}(),zb(e,jr()),null!==t)for(var m=e.onRecoverableError,h=0;h<t.length;h++){var g=t[h],v=g.stack,b=g.digest;m(g.value,{componentStack:v,digest:b})}if(vb){vb=!1;var y=bb;throw bb=null,y}gi(Sb,So)&&0!==e.tag&&cy();s=e.pendingLanes,gi(s,So)?($m=!0,e===Ab?kb++:(kb=0,Ab=e)):kb=0;Ic(),eo()}(e,t,n,r)}finally{$v.transition=o,Vi(r)}return null}function cy(){if(null!==xb){var e=Fi(Sb),t=(o=Pi)>(a=e)?o:a,n=$v.transition,r=ji();try{return $v.transition=null,Vi(t),function(){if(null===xb)return!1;var e=Eb;Eb=null;var t=xb,n=Sb;if(xb=null,Sb=0,(Qv&(Uv|Bv))!==zv)throw new Error("Cannot flush passive effects while already rendering.");Cb=!0,Ob=!1,function(e){null!==Yr&&"function"==typeof Yr.markPassiveEffectsStarted&&Yr.markPassiveEffectsStarted(e)}(n);var r=Qv;Qv|=Bv,Sv(t.current),yv(t,t.current,n,e);var o=_b;_b=[];for(var a=0;a<o.length;a++){qg(0,o[a])}void(null!==Yr&&"function"==typeof Yr.markPassiveEffectsStopped&&Yr.markPassiveEffectsStopped()),yy(t.current,!0),Qv=r,Ic(),Ob?t===Db?Ib++:(Ib=0,Db=t):Ib=0;Cb=!1,Ob=!1,function(e){if(qr&&"function"==typeof qr.onPostCommitFiberRoot)try{qr.onPostCommitFiberRoot(Gr,e)}catch(t){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",t))}}(t);var s=t.current.stateNode;return s.effectDuration=0,s.passiveEffectDuration=0,!0}()}finally{Vi(r),$v.transition=n}}var o,a;return!1}function dy(e){return null!==yb&&yb.has(e)}var py=function(e){vb||(vb=!0,bb=e)};function fy(e,t,n){var r=xp(e,Sh(e,bh(n,t),So),So),o=jb();null!==r&&(Si(r,So,o),zb(r,o))}function my(e,t,n){var r;if(r=n,Jn(null,function(){throw r}),Zn(),Iy(!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 a=o.type,s=o.stateNode;if("function"==typeof a.getDerivedStateFromError||"function"==typeof s.componentDidCatch&&!dy(s)){var l=xp(o,_h(o,bh(n,e),So),So),u=jb();return void(null!==l&&(Si(l,So,u),zb(l,u)))}}o=o.return}i("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=jb();_i(e,n),function(e){0!==e.tag&&Mv()&&null===Fv.current&&i("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),Jv===e&&vi(eb,n)&&(rb===Yv||rb===qv&&li(eb)&&jr()-cb<db?Jb(e,0):sb=bi(sb,n)),zb(e,o)}function gy(e,t){0===t&&(t=$b(e));var n=jb(),r=cp(e,t);null!==r&&(Si(r,t,n),zb(r,n))}function vy(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),gy(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),gy(e,r)}function yy(e,t){We(e),wy(e,gr,Rv),t&&wy(e,vr,Iv),wy(e,gr,Cv),t&&wy(e,vr,Ov),He()}function wy(e,t,n){for(var r=e,o=null;null!==r;){var i=r.subtreeFlags&t;r!==o&&null!==r.child&&0!==i?r=r.child:(0!==(r.flags&t)&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var xy,Sy=null;function _y(e){if((Qv&Uv)===zv&&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!==Sy){if(Sy.has(n))return;Sy.add(n)}else Sy=new Set([n]);var r=Fe;try{We(e),i("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?We(e):He()}}}}xy=function(e,t,n){var r=rw(null,t);try{return yg(e,t,n)}catch(i){if(Qc||null!==i&&"object"==typeof i&&"function"==typeof i.then)throw i;if(Jd(),_f(),Ag(0,t),rw(t,r),2&t.mode&&Bm(t),Jn(null,yg,null,e,t,n),qn){var o=Zn();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof i&&null!==i&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}};var Ey,Ty=!1;function ky(e,t){Xr&&e.memoizedUpdaters.forEach(function(n){Ti(e,n,t)})}Ey=new Set;var Ay={};function Cy(e,t){var n=Fv.current;return null!==n?(n.push(t),Ay):Nr(e,t)}function Oy(e){if(e!==Ay)return Pr(e)}function Ry(){return null!==Fv.current}function Iy(e){Mb=e}var Dy=null,Ny=null,Py=function(e){Dy=e};function My(e){if(null===Dy)return e;var t=Dy(e);return void 0===t?e:t.current}function Ly(e){return My(e)}function jy(e){if(null===Dy)return e;var t=Dy(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=My(e.render);if(e.render!==n){var r={$$typeof:ae,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Vy(e,t){if(null===Dy)return!1;var n=e.elementType,r=t.type,o=!1,i="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(o=!0);break;case 0:("function"==typeof r||i===ce)&&(o=!0);break;case l:(i===ae||i===ce)&&(o=!0);break;case d:case p:(i===ue||i===ce)&&(o=!0);break;default:return!1}if(o){var a=Dy(n);if(void 0!==a&&a===Dy(r))return!0}return!1}function $y(e){null!==Dy&&"function"==typeof WeakSet&&(null===Ny&&(Ny=new WeakSet),Ny.add(e))}var Fy=function(e,t){if(null!==Dy){var n=t.staleFamilies,r=t.updatedFamilies;cy(),Yb(function(){Uy(e.current,r,n)})}},zy=function(e,t){e.context===cc&&(cy(),Yb(function(){fw(t,e,null,null)}))};function Uy(e,t,n){var r=e.alternate,o=e.child,i=e.sibling,a=e.tag,s=e.type,u=null;switch(a){case 0:case p:case 1:u=s;break;case l:u=s.render}if(null===Dy)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==u){var f=Dy(u);void 0!==f&&(n.has(f)?d=!0:t.has(f)&&(1===a?d=!0:c=!0))}if(null!==Ny&&(Ny.has(e)||null!==r&&Ny.has(r))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var m=cp(e,So);null!==m&&Fb(m,e,So,ei)}null===o||d||Uy(o,t,n),null!==i&&Uy(i,t,n)}var By,Hy=function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return Wy(e.current,r,n),n};function Wy(e,t,n){var r=e.child,o=e.sibling,i=e.tag,a=e.type,s=null;switch(i){case 0:case p:case 1:s=a;break;case l:s=a.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&&Wy(r,t,n),null!==o&&Wy(o,t,n)}By=!1;try{Object.preventExtensions({})}catch(rx){By=!0}function Gy(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,By||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var qy=function(e,t,n,r){return new Gy(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=qy(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&Sr,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=Ly(e.type);break;case l:n.type=jy(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,a){var p=2,f=e;if("function"==typeof e)Yy(e)?(p=1,f=Ly(f)):f=My(f);else if("string"==typeof e)p=5;else e:switch(e){case te:return Zy(n.children,o,a,t);case ne:p=8,1&(o|=8)&&(o|=vo);break;case re:return function(e,t,n,r){"string"!=typeof e.id&&i('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=qy(u,e,r,2|t);return o.elementType=re,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,a,t);case se:return function(e,t,n,r){var o=qy(c,e,r,t);return o.elementType=se,o.lanes=n,o}(n,o,a,t);case le:return function(e,t,n,r){var o=qy(h,e,r,t);return o.elementType=le,o.lanes=n,o}(n,o,a,t);case de:return ew(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:p=s;break e;case ie:p=9;break e;case ae:p=l,f=jy(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 g=r?Ve(r):null;throw g&&(m+="\n\nCheck the render method of `"+g+"`."),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 v=qy(p,n,t,o);return v.elementType=e,v.type=f,v.lanes=a,v._debugOwner=r,v}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=qy(7,e,r,t);return o.lanes=n,o}function ew(e,t,n,r){var o=qy(v,e,r,t);o.elementType=de,o.lanes=n;return o.stateNode={isHidden:!1},o}function tw(e,t,n){var r=qy(6,e,null,t);return r.lanes=n,r}function nw(e,t,n){var r=null!==e.children?e.children:[],o=qy(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=qy(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=xi(0),this.expirationTimes=xi(ei),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=xi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],a=0;a<xo;a++)i.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function iw(e,t,n,r,o,i,a,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|=vo)):n=0,Xr&&(n|=2),qy(3,null,null,n)}(t,i);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 aw,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(O(e))i("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(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=Tc(t);if(1===t.tag){var r=t.type;if(bc(r))return Sc(t,r,n)}return n}function dw(e,t,n,r,o,i,a,s){return iw(e,t,!1,null,0,r,0,i,a)}function pw(e,t,n,r,o,i,a,s,l,u){var c=iw(n,r,!0,e,0,i,0,s,l);c.context=cw(null);var d=c.current,p=jb(),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,Si(e,t,n),zb(e,n)}(c,f,p),c}function fw(e,t,n,r){!function(e,t){if(qr&&"function"==typeof qr.onScheduleFiberRoot)try{qr.onScheduleFiberRoot(Gr,e,t)}catch(n){Kr||(Kr=!0,i("React instrumentation encountered an error: %s",n))}}(t,e);var o=t.current,a=jb(),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,ze&&null!==Fe&&!aw&&(aw=!0,i("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(Fe)||"Unknown"));var u=wp(a,s);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&i("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&&(Fb(c,o,s,a),Sp(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 gw(e,t){hw(e,t);var n=e.alternate;n&&hw(n,t)}function vw(e){var t=Ir(e);return null===t?null:t.stateNode}aw=!1,sw={};var bw=function(e){return null};var yw=function(e){return!1};var ww,xw,Sw,_w,Ew,Tw,kw,Aw,Cw,Ow=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]=Ow(e[r],t,n+1),o)},Rw=function(e,t){return Ow(e,t,0)},Iw=function(e,t,n,r){var o=t[r],i=wt(e)?e.slice():xe({},e);r+1===t.length?(i[n[r]]=i[o],wt(i)?i.splice(o,1):delete i[o]):i[o]=Iw(e[o],t,n,r+1);return i},Dw=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 Iw(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Nw=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],i=wt(e)?e.slice():xe({},e);return i[o]=Nw(e[o],t,n+1,r),i},Pw=function(e,t,n){return Nw(e,t,0,n)},Mw=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Lw(e){var t=Or(e);return null===t?null:t.stateNode}function jw(e){return null}function Vw(){return Fe}ww=function(e,t,n,r){var o=Mw(e,t);if(null!==o){var i=Pw(o.memoizedState,n,r);o.memoizedState=i,o.baseState=i,e.memoizedProps=xe({},e.memoizedProps);var a=cp(e,So);null!==a&&Fb(a,e,So,ei)}},xw=function(e,t,n){var r=Mw(e,t);if(null!==r){var o=Rw(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=xe({},e.memoizedProps);var i=cp(e,So);null!==i&&Fb(i,e,So,ei)}},Sw=function(e,t,n,r){var o=Mw(e,t);if(null!==o){var i=Dw(o.memoizedState,n,r);o.memoizedState=i,o.baseState=i,e.memoizedProps=xe({},e.memoizedProps);var a=cp(e,So);null!==a&&Fb(a,e,So,ei)}},_w=function(e,t,n){e.pendingProps=Pw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=cp(e,So);null!==r&&Fb(r,e,So,ei)},Ew=function(e,t){e.pendingProps=Rw(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=cp(e,So);null!==n&&Fb(n,e,So,ei)},Tw=function(e,t,n){e.pendingProps=Dw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=cp(e,So);null!==r&&Fb(r,e,So,ei)},kw=function(e){var t=cp(e,So);null!==t&&Fb(t,e,So,ei)},Aw=function(e){bw=e},Cw=function(e){yw=e};var $w="function"==typeof reportError?reportError:function(e){console.error(e)};function Fw(e){this._internalRoot=e}function zw(e){this._internalRoot=e}function Uw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Bw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hw(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&i("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."),qu(e)&&(e._reactRootContainer?i("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):i("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."))}zw.prototype.render=Fw.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?i("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Uw(arguments[1])?i("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]&&i("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=vw(t.current);r&&r.parentNode!==n&&i("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)},zw.prototype.unmount=Fw.prototype.unmount=function(){"function"==typeof arguments[0]&&i("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()&&i("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)}),Gu(t)}},zw.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Ri(),n={blockedOn:null,target:e,priority:t},r=0;r<Xi.length&&$i(t,Xi[r].priority);r++);Xi.splice(r,0,n),0===r&&ea(n)}(e)};var Ww,Gw=n.ReactCurrentOwner;function qw(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function Yw(){}function Kw(e,t,n,r,o){Ww(n),function(e,t){null!==e&&"function"!=typeof e&&i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var a,s=n._reactRootContainer;if(s){if("function"==typeof o){var l=o;o=function(){var e=mw(a);l.call(e)}}fw(t,a=s,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=mw(a);i.call(e)}}var a=pw(t,r,e,0,0,!1,0,"",Yw);return e._reactRootContainer=a,Wu(a.current,e),gl(8===e.nodeType?e.parentNode:e),Yb(),a}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,Wu(u.current,e),gl(8===e.nodeType?e.parentNode:e),Yb(function(){fw(t,u,n,r)}),u}(n,t,e,o,r);return mw(a)}Ww=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=vw(e._reactRootContainer.current);t&&t.parentNode!==e&&i("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=qw(e);!(!r||!Ku(r))&&!n&&i("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()&&i("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;Ai=function(e){switch(e.tag){case 3:var t=e.stateNode;if(zi(t)){var n=function(e){return ri(e.pendingLanes)}(t);!function(e,t){0!==t&&(Ei(e,bi(t,So)),zb(e,jr()),(Qv&(Uv|Bv))===zv&&(hb(),Ic()))}(t,n)}break;case c:Yb(function(){var t=cp(e,So);if(null!==t){var n=jb();Fb(t,e,So,n)}}),gw(e,So)}},function(e){Ci=e}(function(e){if(e.tag===c){var t=Yo,n=cp(e,t);if(null!==n)Fb(n,e,t,jb());gw(e,t)}}),function(e){Oi=e}(function(e){if(e.tag===c){var t=Vb(e),n=cp(e,t);if(null!==n)Fb(n,e,t,jb());gw(e,t)}}),function(e){Ri=e}(ji),function(e){Ii=e}(function(e,t){var n=Li;try{return Li=e,t()}finally{Li=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||i("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"),On=function(e,t,n){switch(t){case"input":return void pt(e,n);case"textarea":return void function(e,t){Ot(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&_t(n,!!t.multiple,r,!1)}(e,n)}},Mn=qb,Ln=Yb;var Jw,Zw,ex,tx={usingClientEntryPoint:!1,Events:[Ku,Xu,Qu,Nn,Pn,qb]};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 i("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}),Gr=t.inject(e),qr=t}catch(n){i("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:Sw,overrideProps:_w,overridePropsDeletePath:Ew,overridePropsRenamePath:Tw,setErrorHandler:Aw,setSuspenseHandler:Cw,scheduleUpdate:kw,currentDispatcherRef:ex,findHostInstanceByFiber:Lw,findFiberByHostInstance:Zw||jw,findHostInstancesForRefresh:Hy,scheduleRefresh:Fy,scheduleRoot:zy,setRefreshHandler:Py,getCurrentFiber:Vw,reconcilerVersion:lw}))&&k&&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(!Uw(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||i('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!Uw(e))throw new Error("createRoot(...): Target container is not a DOM element.");Hw(e);var n=!1,r="",a=$w;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===Z&&i("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&&(a=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var s=dw(e,1,0,n,0,r,a);return Wu(s.current,e),gl(8===e.nodeType?e.parentNode:e),new Fw(s)}(e,t)},reactDom_development.findDOMNode=function(e){Xw||(Xw=!0,i("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=Gw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||i("%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.",Le(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=Or(n);if(null===o)return null;if(8&o.mode){var a=Ve(n)||"Component";if(!sw[a]){sw[a]=!0;var s=Fe;try{We(o),8&n.mode?i("%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,a):i("%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,a)}finally{s?We(s):He()}}}return o.stateNode}(e,"findDOMNode")},reactDom_development.flushSync=function(e){return Kb()&&i("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(i("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"),!Bw(t))throw new Error("Target container is not a DOM element.");return qu(t)&&void 0===t._reactRootContainer&&i("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||i('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(!Uw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Hw(e),void 0===t&&i("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=$w;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError));var l=pw(t,null,e,1,0,o,0,a,s);if(Wu(l.current,e),gl(e),r)for(var u=0;u<r.length;u++)Qp(l,r[u]);return new zw(l)}(e,t,n)},reactDom_development.render=function(e,t,n){if(i("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"),!Bw(t))throw new Error("Target container is not a DOM element.");return qu(t)&&void 0===t._reactRootContainer&&i("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,i("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")),!Bw(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(qu(e)&&void 0===e._reactRootContainer&&i("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=qw(e);return t&&!Ku(t)&&i("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,Gu(e)})}),!0}var n=qw(e),r=!(!n||!Ku(n)),o=1===e.nodeType&&Bw(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&i("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=qb,reactDom_development.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(i("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"),!Bw(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,i=t.useLayoutEffect,a=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 i(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]),a(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,i,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{o=e()}catch(t){i=t}}),i)throw i;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 i=function(e,t){return useObserver(function(){return r(e,t)},o)};return i.displayName=e.displayName,isFunctionNameConfigurable&&Object.defineProperty(i,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(i.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&&(i=reactExports.forwardRef(i)),copyStaticProperties(e,i=reactExports.memo(i)),Object.defineProperty(i,"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`."))}}),i}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 ActiveViewModelContext=reactExports.createContext(null),ViewModelsContext=reactExports.createContext(null),ActiveViewModelProvider=ActiveViewModelContext.Provider;var DEFAULT_MAX_REACTION_ITERATIONS=100;function flushPendingReactions(e=DEFAULT_MAX_REACTION_ITERATIONS){const t=getGlobalState();if(!e||t.isRunningReactions||0===t.pendingReactions.length)return;const n=t.inBatch;t.inBatch=0;try{t.isRunningReactions=!0;const n=t.pendingReactions;let r=0;for(;n.length>0;){if(++r===e){n.splice(0);break}const t=n.splice(0);for(let e=0;e<t.length;e++)t[e].runReaction_()}}finally{t.isRunningReactions=!1,t.inBatch=n}}const 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),i=reactExports.useRef(null),a=n?.ctx??{},s=n?.vmConfig?.useReactIds??r?.vmConfig?.useReactIds??viewModelsConfig.useReactIds?reactExports.useId():void 0,l=useValue(()=>{const i=r?.generateViewModelId({...n,ctx:a,VM:e,renderId:s,parentViewModelId:o?.id??null})??n?.id??viewModelsConfig.generateId({...a,renderId:s}),l=r?.get(i);if(l)return l;{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 flushPendingReactions(viewModelsConfig.flushPendingReactions),r?.markToBeAttached(l),l}});useIsomorphicLayoutEffect(()=>{const e=l.id,t=l;return r?()=>{r.detach(e),i.current===t&&(i.current=null)}:()=>{t.unmount(),i.current===t&&(i.current=null)}},[l]),i.current!==l&&(r?r.attach(l):l.mount(),i.current=l),l.setPayload(t??{});const u=n?.vmConfig?.suspendUntil??r?.vmConfig?.suspendUntil??viewModelsConfig.suspendUntil;if(null!=u){const e=u(l);e&&reactExports.use(e)}return l},useCreateViewModelSimple=(e,t)=>{const n=reactExports.useContext(ViewModelsContext),r=reactExports.useContext(ActiveViewModelContext),o=reactExports.useRef(null),i=useValue(()=>{const t=new e;return t.parentViewModel=r,flushPendingReactions(viewModelsConfig.flushPendingReactions),n?.markToBeAttached(t),t});useIsomorphicLayoutEffect(()=>{const e=i.id,t=i;return n?()=>{n.detach(e),o.current===t&&(o.current=null)}:()=>{t.unmount?.(),o.current===t&&(o.current=null)}},[i]),o.current!==i&&(n?n.attach(i):i.mount?.(),o.current=i),i.setPayload?.(t);const a=n?.vmConfig?.suspendUntil??viewModelsConfig.suspendUntil;if(null!=a){const e=a(i);e&&reactExports.use(e)}return i};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 i=r?.(n,e,t)??n;o&&i&&i.$$typeof!==REACT_MEMO_SYMBOL&&(i=observer(i));const a=t.reactHook??viewModelsConfig.reactHook,s=t.getPayload,l=t.fallback??viewModelsConfig.fallbackComponent;let u=(n,r)=>{const o=reactExports.useContext(ViewModelsContext);a?.(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:i&&jsxRuntimeExports.jsx(i,{...c,model:p})}):l&&jsxRuntimeExports.jsx(l,{...n,payload:d})};t.forwardRef&&(u=reactExports.forwardRef(u)),u=observer(u),u.displayName=`ConnectedViewModel(${e.name}->Component)`,t.component=u,t.anchors??=[];const c=t.anchors,d=u;return d.connect=e=>(c.includes(e)||c.push(e),d),d},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.renderId??e.generateId();{const n=e.VM?.name??"";return n?`${n}_${t}`:t}},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:i,...a}=e;if(i&&(t.generateId=i),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,a)}),t},viewModelsConfig=createGlobalConfig({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,useReactIds:!1,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:generateVmId,flushPendingReactions:100,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$1=[[observable.ref,"_isMounted","_isUnmounting"],[computed,"isMounted","isUnmounting","parentViewModel"],[action,"didMount","didUnmount","willUnmount","setPayload"],[action.bound,"mount","unmount"]];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];!1!==this.vmConfig.payloadObservable&&t.push([observable[this.vmConfig.payloadObservable],"_payload"]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push([computed({equals:comparer.structural}),"payload"]):t.push([computed({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed}),"payload"])),applyObservable(this,t,this.vmConfig.observable.viewModels)}vmParams;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(){}willMount(){}mount(){this.willMount(),this.vmConfig.onMount?.(this),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.beginUnmounting(),this.willUnmount(),this.vmConfig.onUnmount?.(this),startViewTransitionSafety(()=>{runInAction(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount(),this.finalizeUnmount()}didUnmount(){}finalizeUnmount(){this.abortController.abort(),runInAction(()=>{this._isUnmounting=!1})}beginUnmounting(){runInAction(()=>{this._isUnmounting=!0})}hasChild(e,t){if(t){let t=e;for(;t;){if(t.parentViewModel===this)return!0;t=t.parentViewModel}return!1}return e.parentViewModel===this}hasParent(e,t){if(t){let t=this.parentViewModel;for(;t;){if(t===e)return!0;t=t.parentViewModel}return!1}return this.parentViewModel===e}payloadChanged(e,t){}get parentViewModel(){return void 0!==this.vmParams.parentViewModel?this.vmParams.parentViewModel:null==this.vmParams.parentViewModelId?null:this.viewModels?.get(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})}}const baseAnnotations=[[computed,"mountedViewsCount"],[action,"mount","unmount","attachVMConstructor","attach","detach","link","unlink"]];class ViewModelStoreBase{constructor(e){this.config=e,this.viewModels=observable.map([],{deep:!1}),this.linkedAnchorVMClasses=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,baseAnnotations,this.vmConfig.observable.viewModelStores),this.vmConfig.hooks.storeCreate(this)}config;viewModels;linkedAnchorVMClasses;viewModelIdsByClasses;instanceAttachedCount;viewModelsTempHeap;mountingViews;unmountingViews;vmConfig;get mountedViewsCount(){return[...this.instanceAttachedCount.values()].reduce((e,t)=>e+t,0)}processCreateConfig(e){const t=e.anchors??[];this.link(e.VM,e.component,...t)}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,VM:e.VM,renderId:e.renderId})}link(e,...t){t.forEach(t=>{t&&!this.linkedAnchorVMClasses.has(t)&&this.linkedAnchorVMClasses.set(t,e)})}unlink(...e){e.forEach(e=>{e&&this.linkedAnchorVMClasses.has(e)&&this.linkedAnchorVMClasses.delete(e)})}getIds(e){if(!e)return[];if("string"==typeof e)return[e];const t=this.linkedAnchorVMClasses.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))}finalizeMount(e){runInAction(()=>{this.mountingViews.delete(e)})}mount(e){const t=this.getOrCreateVmId(e);this.mountingViews.add(t);try{const n=e.mount?.();if(n instanceof Promise)return n.then(()=>{}).finally(()=>{this.finalizeMount(t)});this.finalizeMount(t)}catch(n){throw this.finalizeMount(t),n}}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)}attach(e){const t=this.getOrCreateVmId(e),n=this.instanceAttachedCount.get(t)??0;if(this.instanceAttachedCount.set(t,n+1),!this.viewModels.has(t)){this.viewModels.set(t,e),this.attachVMConstructor(e);try{const n=this.mount(e);if(n instanceof Promise)return n.finally(()=>{this.viewModelsTempHeap.delete(t)})}catch(r){throw this.viewModelsTempHeap.delete(t),r}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&&(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.linkedAnchorVMClasses.clear(),this.viewModelIdsByClasses.clear(),this.instanceAttachedCount.clear(),this.mountingViews.clear(),this.unmountingViews.clear(),this.viewModelsTempHeap.clear()}}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)})})}}var callFunction=(e,...t)=>"function"==typeof e?e(...t):e,KeyboardHandler$1=class{abortController;activateStrategy;localActions;isActivated;get actions(){return callFunction(this.localActions??this.config.actions)??[]}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()}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,...this.config.listenerOpts?.focus}),e.addEventListener("blur",this.deactivate,{signal:t.signal,...this.config.listenerOpts?.blur})):(t.abort(),t=new LinkedAbortController(this.abortController.signal))},{fireImmediately:!0,signal:this.abortController.signal})}globalThis.addEventListener("keydown",this.handleKeyboardClick,{signal:this.abortController.signal,...this.config.listenerOpts?.keydown}),"keyclick"===e.activateStrategy?.type&&(globalThis.addEventListener("click",this.activate,{signal:this.abortController.signal,...this.config.listenerOpts?.click}),globalThis.addEventListener("mousemove",this.activate,{signal:this.abortController.signal,...this.config.listenerOpts?.mousemove}))}},Storage=class{abortController;abortSignal;constructor(e){this.config=e,this.abortController=new LinkedAbortController(e?.abortSignal),this.abortSignal=this.abortController.signal,makeObservable(this)}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 i=autorun(()=>{const o=e[t];this.set({...n,key:r,value:o})},{signal:this.abortSignal});return this.abortSignal.addEventListener("abort",i),()=>{this.abortSignal.removeEventListener("abort",i),i()}}destroy(){this.abortController.abort()}},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();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"})),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};var 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"),i=Symbol.for("react.profiler"),a=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 g(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 v;function b(e){return e.displayName||"Context"}function y(e){if(null==e)return null;if("number"==typeof e.tag&&g("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 i: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 a: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(v){return null}}return null}v=Symbol.for("react.module.reference");var w,x,S,_,E,T,k,A=Object.assign,C=0;function O(){}O.__reactDisabledLog=!0;var R,I=h.ReactCurrentDispatcher;function D(e,t,n){if(void 0===R)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return"\n"+R+e}var N,P=!1,M="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||P)return"";var n,r=N.get(e);if(void 0!==r)return r;P=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=I.current,I.current=null,function(){if(0===C){w=console.log,x=console.info,S=console.warn,_=console.error,E=console.group,T=console.groupCollapsed,k=console.groupEnd;var e={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}C++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(m){n=m}Reflect.construct(e,[],a)}else{try{a.call()}catch(m){n=m}e.call(a.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&&N.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{P=!1,I.current=o,function(){if(0===--C){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},e,{value:w}),info:A({},e,{value:x}),warn:A({},e,{value:S}),error:A({},e,{value:_}),group:A({},e,{value:E}),groupCollapsed:A({},e,{value:T}),groupEnd:A({},e,{value:k})})}C<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?D(p):"";return"function"==typeof e&&N.set(e,f),f}function j(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return D(e);switch(e){case u:return D("Suspense");case c:return D("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return L(e.render,!1);case d:return j(e.type,t,n);case p:var o=e,i=o._payload,a=o._init;try{return j(a(i),t,n)}catch(s){}}return""}N=new M;var V=Object.prototype.hasOwnProperty,$={},F=h.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,n=j(e.type,e._source,t?t.type:null);F.setExtraStackFrame(n)}else F.setExtraStackFrame(null)}var U=Array.isArray;function B(e){return U(e)}function H(e){return""+e}function W(e){if(function(e){try{return H(e),!1}catch(t){return!0}}(e))return g("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)),H(e)}var G,q,Y,K=h.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};Y={};function Q(e,n,r,o,i){var a,s={},l=null,u=null;for(a in void 0!==r&&(W(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)&&(W(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]||(g('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,i)),n)V.call(n,a)&&!X.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){G||(G=!0,g("%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(){q||(q=!0,g("%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,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_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:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,o,K.current,s)}var J,Z=h.ReactCurrentOwner,ee=h.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=j(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 ie(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),g('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 ae(e,t){if("object"==typeof e)if(B(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&ie(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 i,a=o.call(e);!(i=a.next()).done;)ne(i.value)&&ie(i.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 i=Function.call.bind(V);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(z(o),g("%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,a,typeof s),z(null)),s instanceof Error&&!(s.message in $)&&($[s.message]=!0,z(o),g("Failed %s type: %s",n,s.message),z(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!J){J=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("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===i||e===o||e===u||e===c||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||void 0!==e.getModuleId)}(e);if(!x){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(b);S+=E||re(),null===e?_="null":B(e)?_="array":void 0!==e&&e.$$typeof===t?(_="<"+(y(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,g("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 T=Q(e,n,m,b,w);if(null==T)return T;if(x){var k=n.children;if(void 0!==k)if(h)if(B(k)){for(var A=0;A<k.length;A++)ae(k[A],e);Object.freeze&&Object.freeze(k)}else g("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 C=y(e),O=Object.keys(n).filter(function(e){return"key"!==e}),R=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!le[C+R])g('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,C,O.length>0?"{"+O.join(": ..., ")+": ...}":"{}",C),le[C+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){te(e),g("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),g("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(T):se(T),T};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 i=e.length;for(t=0;t<i;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="",i=arguments.length;n<i;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 i=e.join(CLASS_PART_SEPARATOR);return t.validators.find(({validator:e})=>e(i))?.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,i)=>{n.set(o,i),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,i=0;for(let l=0;l<e.length;l++){let a=e[l];if(0===r&&0===o){if(a===MODIFIER_SEPARATOR){t.push(e.slice(i,l)),i=l+MODIFIER_SEPARATOR_LENGTH;continue}if("/"===a){n=l;continue}}"["===a?r++:"]"===a?r--:"("===a?o++:")"===a&&o--}const a=0===t.length?e:e.substring(i),s=stripImportantModifier(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>i?n-i: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:i}=t,a=[],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 g=i(c).join(":"),v=d?g+IMPORTANT_MODIFIER:g,b=v+h;if(a.includes(b))continue;a.push(b);const y=o(h,m);for(let n=0;n<y.length;++n){const e=y[n];a.push(v+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,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=createConfigUtils(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=mergeClassList(e,n);return o(e,i),i}return function(){return i(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"),i=fromTheme("leading"),a=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"),g=fromTheme("aspect"),v=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()],S=()=>[isInteger,"none","subgrid",isArbitraryVariable,isArbitraryValue],_=()=>["auto",{span:["full",isInteger,isArbitraryVariable,isArbitraryValue]},isInteger,isArbitraryVariable,isArbitraryValue],E=()=>[isInteger,"auto",isArbitraryVariable,isArbitraryValue],T=()=>["auto","min","max","fr",isArbitraryVariable,isArbitraryValue],k=()=>["auto",...w()],A=()=>[isFraction,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],C=()=>[e,isArbitraryVariable,isArbitraryValue],O=()=>["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]}],I=()=>[isPercent,isArbitraryVariableLength,isArbitraryLength],D=()=>["","none","full",u,isArbitraryVariable,isArbitraryValue],N=()=>["",isNumber,isArbitraryVariableLength,isArbitraryLength],P=()=>[isNumber,isPercent,isArbitraryVariablePosition,isArbitraryPosition],M=()=>["","none",m,isArbitraryVariable,isArbitraryValue],L=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],j=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],V=()=>[isNumber,isArbitraryVariable,isArbitraryValue],$=()=>[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,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,...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":S()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":S()}],"row-start-end":[{row:_()}],"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":T()}],"auto-rows":[{"auto-rows":T()}],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: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":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:A()}],w:[{w:[s,"screen",...A()]}],"min-w":[{"min-w":[s,"screen","none",...A()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...A()]}],h:[{h:["screen","lh",...A()]}],"min-h":[{"min-h":["screen","lh","none",...A()]}],"max-h":[{"max-h":["screen","lh",...A()]}],"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:[i,...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:C()}],"text-color":[{text:C()}],"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:C()}],"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:O()}],"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:C()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"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:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"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:C()}],shadow:[{shadow:["","none",c,isArbitraryVariableShadow,isArbitraryShadow]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",d,isArbitraryVariableShadow,isArbitraryShadow]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[isNumber,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",p,isArbitraryVariableShadow,isArbitraryShadow]}],"text-shadow-color":[{"text-shadow":C()}],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":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[isArbitraryVariable,isArbitraryValue]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"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":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"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:M()}],brightness:[{brightness:[isNumber,isArbitraryVariable,isArbitraryValue]}],contrast:[{contrast:[isNumber,isArbitraryVariable,isArbitraryValue]}],"drop-shadow":[{"drop-shadow":["","none",f,isArbitraryVariableShadow,isArbitraryShadow]}],"drop-shadow-color":[{"drop-shadow":C()}],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",v,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:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"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:$()}],"translate-x":[{"translate-x":$()}],"translate-y":[{"translate-y":$()}],"translate-z":[{"translate-z":$()}],"translate-none":["translate-none"],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}],"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",...C()]}],"stroke-w":[{stroke:[isNumber,isArbitraryVariableLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:["none",...C()]}],"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));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(i){}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,i,a,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,i=o;return r=o=void 0,u=t,a=e.apply(i,n)}function m(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=i}function h(){var e=now();if(m(e))return g(e);s=setTimeout(h,function(e){var n=t-(e-l);return d?nativeMin(n,i-(e-u)):n}(e))}function g(e){return s=void 0,p&&r?f(e):(r=o=void 0,a)}function v(){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):a}(l);if(d)return clearTimeout(s),s=setTimeout(h,t),f(l)}return void 0===s&&(s=setTimeout(h,t)),a}return t=toNumber(t)||0,isObject(n)&&(c=!!n.leading,i=(d="maxWait"in n)?nativeMax(toNumber(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),v.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=o=s=void 0},v.flush=function(){return void 0===s?a:g(now())},v}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})}const 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"in globalThis.navigator&&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 getViewport=()=>globalThis.visualViewport,viewportInfoKeys=["width","height","offsetLeft","offsetTop","pageLeft","pageTop","scale"];viewportInfoKeys.reduce((e,t)=>(Object.defineProperty(e,t,{get(){const n=getViewport();return n?(e._atom||(e._atom=createEnhancedAtom("viewportInfo",e=>{n.addEventListener("resize",e.reportChanged),n.addEventListener("scroll",e.reportChanged)},e=>{n.removeEventListener("resize",e.reportChanged),n.removeEventListener("scroll",e.reportChanged)})),e._atom.reportObserved(),n[t]):"width"===t?globalThis.innerWidth??0:"height"===t?globalThis.innerHeight??0:"scale"===t?1:0}}),e),{get isSupported(){return Boolean(getViewport())},get isKeyboardLikeOverlay(){const e=getViewport()?.height??globalThis.innerHeight??0;return(globalThis.innerHeight??e)-e>120}});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",vmsCount="vmsCount_HhX1W",keyboardHint="keyboardHint_v8eo0",css$5={vmButton:vmButton,dragging:dragging,opened:opened,isConnected:isConnected,vmsCount:vmsCount,keyboardHint:keyboardHint};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:i}=this.fixPosition(n,r);e.style.left=`${o}px`,e.style.top=`${i}px`,e.addEventListener("mousedown",n=>{t.isDragging=!0,t.hasMoved=!1;const r=e.getBoundingClientRect();t.offsetX=r.left-n.clientX,t.offsetY=r.top-n.clientY,t.startX=r.left,t.startY=r.top,e.classList.add(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: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",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,o="string"==typeof e?+e.replace("px",""):e,i="string"==typeof t?+t.replace("px",""):t;return{x:clamp(o||0,12,n),y:clamp(i||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",{className:css$5.vmsCount,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),jsxDevRuntimeExports.jsxDEV("span",{className:css$5.keyboardHint,children:"Ctrl+F12"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:25,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 i;return t.forEach((n,a)=>{const{icon:s,value:l}=n,u=e===l;u&&(i=a),o.push(jsxDevRuntimeExports.jsxDEV("div",{className:cx(css$4.option,{[css$4.active]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].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)},a,!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":i}},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,i,a,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,g=r.axis[r.draggedAxis].scrollbar,v=null!==(a=null===(i=r.contentWrapperEl)||void 0===i?void 0:i[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==a?a: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)-g.size-y:y)/(h-g.size)*(v-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),i=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==i.left,isScrollingToNegative:i.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,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,i=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 u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&l>t,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&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],i=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=i/o;return r=Math.max(~~(a*i),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 i=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&i.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),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/(a-l),d=~~((s-i.size)*c);d="x"===t&&this.isRtl?-d+(s-i.size):d,i.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),i=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-((null===(n=i.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,i,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 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!==(i=null===(o=this.elStyles)||void 0===o?void 0:o[this.axis[t].sizeAttr])&&void 0!==i?i:"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(){a.contentWrapperEl&&(-1===p?d>f&&(d-=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(m)):d<f&&(d+=40,a.contentWrapperEl[a.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"),i=document.createElement("div");addClasses(o,this.classNames.track),addClasses(i,this.classNames.scrollbar),o.appendChild(i),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){try{return collectKeys(e)}catch{return[]}}function collectKeys(e){const t=new Set(Object.keys(e));let n=Object.getPrototypeOf(e);for(;n&&n!==globalThis.Object.prototype;){try{const e=Object.getOwnPropertyDescriptors(n);for(const n in e)ignoredKeys.has(n)||t.add(n)}catch{break}let e;try{e=Object.getPrototypeOf(n)}catch{break}if(ignoredPrototypes.has(e))break;n=e}return[...t]}const INACCESSIBLE=Symbol("mobx-view-model-devtools/inaccessible"),INACCESSIBLE_DISPLAY_LABEL="< Inaccessible >";function isInaccessible(e){return e===INACCESSIBLE}function runSafely(e,t){try{return e()}catch{return t}}function safeGet(e,t){if(null!=e)try{return Reflect.get(e,t)}catch{return INACCESSIBLE}}function safeTypeof(e){if(isInaccessible(e))return"object";try{return typeof e}catch{return"object"}}function safeObjectTag(e){if(isInaccessible(e))return"[object Inaccessible]";try{return Object.prototype.toString.call(e)}catch{return"[object Inaccessible]"}}function safeConstructorName(e){const t=runSafely(()=>e?.constructor?.name,null);if(t)return t;const n=safeObjectTag(e),r=/^\[object (.+)\]$/.exec(n);return r?.[1]&&"Object"!==r[1]?r[1]:"Object"}function isRestrictedObject(e){if(isInaccessible(e))return!0;if(!safeIsObjectLike(e))return!1;if(runSafely(()=>e?.constructor?.name,null))return!1;return!runSafely(()=>(String(e),!0),!1)}function safeIsFunction(e){return"function"===safeTypeof(e)}function safeIsObjectLike(e){if(null===e||isInaccessible(e))return!1;const t=safeTypeof(e);return"object"===t||"function"===t}function safeObjectKeys(e){return isInaccessible(e)?[]:runSafely(()=>Object.keys(e),[])}function safeHasOwn(e,t){return!isInaccessible(e)&&runSafely(()=>Object.hasOwn(e,t),!1)}function safeString(e){return isInaccessible(e)?"[Inaccessible]":runSafely(()=>String(e),"[Inaccessible]")}function safeFunctionLength(e){return runSafely(()=>e.length,0)}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,"instanceClassName"),computed(this,"isInaccessibleDisplay"),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(){if(this.dataWatchAtom.reportObserved(),this.property)return safeGet(this.parent.data,this.property)}get descriptor(){if(!this.property)return null;try{return Object.getOwnPropertyDescriptor(this.parent.data,this.property)}catch{return null}}get dataType(){return safeTypeof(this.data)}get stringifiedDataType(){return safeObjectTag(this.data)}get instanceClassName(){return safeConstructorName(this.data)}get isInaccessibleDisplay(){return isRestrictedObject(this.data)}get inaccessibleDisplayLabel(){return INACCESSIBLE_DISPLAY_LABEL}get type(){const e=this.data;if(isRestrictedObject(e))return"primitive";if(Array.isArray(e))return"array";if(safeIsFunction(e))return"function";if(safeIsObjectLike(e)){const t=safeConstructorName(e);return t&&"Object"!==t?"instance":"object"}return this.stringifiedDataType.startsWith("[object ")&&null!==e&&"object"===safeTypeof(e)&&safeHasOwn(e,"constructor")?"instance":"primitive"}get children(){let e=[];if("array"===this.type)e=safeObjectKeys(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=safeObjectKeys(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(){if(isInaccessible(this.data))return INACCESSIBLE_DISPLAY_LABEL;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`"${safeString(this.data)}"`}return safeString(this.data)}}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 i=o.cache??e.anyCache,a=`${PropertyListItem.createKey(o,t)}/list-item`;let s=i.get(a);return s||(s=new PropertyListItem(e,t,n,r,o),i.set(a,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",searchIsActive="searchIsActive_cJutI",vmContentControlPanelActions="vmContentControlPanelActions_lONbA",hiearchyToggleButton="hiearchyToggleButton_0FTG-",vmContentInput="vmContentInput_29GM1",inputGhost="inputGhost_J-ksi",inputGhostTyped="inputGhostTyped_UxVAJ",inputGhostSuggestion="inputGhostSuggestion_Ys7F3",inputSuggestions="inputSuggestions_5btGB",inputSuggestionsList="inputSuggestionsList_3Gl-h",inputSuggestionItem="inputSuggestionItem_GcQXp",inputSuggestionOwner="inputSuggestionOwner_cMrNk",extras="extras_THr24",inputSuggestionValue="inputSuggestionValue_6fYPI",selected="selected_OPRUb",inputWithSuggestion="inputWithSuggestion_C9PIe",filled="filled_6JZa0",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,searchIsActive:searchIsActive,vmContentControlPanelActions:vmContentControlPanelActions,hiearchyToggleButton:hiearchyToggleButton,vmContentInput:vmContentInput,inputGhost:inputGhost,inputGhostTyped:inputGhostTyped,inputGhostSuggestion:inputGhostSuggestion,inputSuggestions:inputSuggestions,inputSuggestionsList:inputSuggestionsList,inputSuggestionItem:inputSuggestionItem,inputSuggestionOwner:inputSuggestionOwner,extras:extras,inputSuggestionValue:inputSuggestionValue,selected:selected,inputWithSuggestion:inputWithSuggestion,filled:filled,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",inaccessible="inaccessible_YWXKM",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,inaccessible:inaccessible,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),"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)),{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(i){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:i,HTMLTemplateElement:a,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"),g=lookupGetter(m,"remove"),v=lookupGetter(m,"nextSibling"),b=lookupGetter(m,"childNodes"),y=lookupGetter(m,"parentNode");if("function"==typeof a){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,x="";const{implementation:S,createNodeIterator:_,createDocumentFragment:E,getElementsByTagName:T}=n,{importNode:k}=r;let A=_createHooksMap();t.isSupported="function"==typeof entries&&"function"==typeof y&&S&&void 0!==S.createHTMLDocument;const{MUSTACHE_EXPR:C,ERB_EXPR:O,TMPLIT_EXPR:R,DATA_ATTR:I,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:M}=EXPRESSIONS;let{IS_ALLOWED_URI:L}=EXPRESSIONS,j=null;const V=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let $=null;const F=addToSet({},[...html,...svg,...mathMl,...xml]);let z=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}})),U=null,B=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,Y=!0,K=!1,X=!0,Q=!1,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!0,oe=!1;let ie=!0,ae=!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",ge="http://www.w3.org/1999/xhtml";let ve=ge,be=!1,ye=null;const we=addToSet({},[me,he,ge],stringToString);let xe=addToSet({},["mi","mo","mn","ms","mtext"]),Se=addToSet({},["annotation-xml"]);const _e=addToSet({},["title","style","font","a","script"]);let Ee=null;const Te=["application/xhtml+xml","text/html"];let ke=null,Ae=null;const Ce=n.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},Re=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ae||Ae!==e){if(e&&"object"==typeof e||(e={}),e=clone(e),Ee=-1===Te.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ke="application/xhtml+xml"===Ee?stringToString:stringToLowerCase,j=objectHasOwnProperty(e,"ALLOWED_TAGS")?addToSet({},e.ALLOWED_TAGS,ke):V,$=objectHasOwnProperty(e,"ALLOWED_ATTR")?addToSet({},e.ALLOWED_ATTR,ke):F,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,ke):fe,ce=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):ue,U=objectHasOwnProperty(e,"FORBID_TAGS")?addToSet({},e.FORBID_TAGS,ke):clone({}),B=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,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,ie=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,L=e.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,ve=e.NAMESPACE||ge,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,Se=e.HTML_INTEGRATION_POINTS||Se,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),K&&(G=!1),te&&(ee=!0),se&&(j=addToSet({},text),$=[],!0===se.html&&(addToSet(j,html$1),addToSet($,html)),!0===se.svg&&(addToSet(j,svg$1),addToSet($,svg),addToSet($,xml)),!0===se.svgFilters&&(addToSet(j,svgFilters),addToSet($,svg),addToSet($,xml)),!0===se.mathMl&&(addToSet(j,mathMl$1),addToSet($,mathMl),addToSet($,xml))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?H.tagCheck=e.ADD_TAGS:(j===V&&(j=clone(j)),addToSet(j,e.ADD_TAGS,ke))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?H.attributeCheck=e.ADD_ATTR:($===F&&($=clone($)),addToSet($,e.ADD_ATTR,ke))),e.ADD_URI_SAFE_ATTR&&addToSet(pe,e.ADD_URI_SAFE_ATTR,ke),e.FORBID_CONTENTS&&(le===ue&&(le=clone(le)),addToSet(le,e.FORBID_CONTENTS,ke)),ie&&(j["#text"]=!0),Q&&addToSet(j,["html","head","body"]),j.table&&(addToSet(j,["tbody"]),delete U.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),Ae=e}},Ie=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),De=addToSet({},[...mathMl$1,...mathMlDisallowed]),Ne=function(e){arrayPush(t.removed,{element:e});try{y(e).removeChild(e)}catch(n){g(e)}},Pe=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{Ne(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&&ve===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=w?w.createHTML(e):e;if(ve===ge)try{t=(new p).parseFromString(o,Ee)}catch(a){}if(!t||!t.documentElement){t=S.createDocument(ve,"template",null);try{t.documentElement.innerHTML=be?x:o}catch(a){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(n.createTextNode(r),i.childNodes[0]||null),ve===ge?T.call(t,Q?"html":"body")[0]:Q?t.documentElement:i},Le=function(e){return _.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},je=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 $e(e,n,r){arrayForEach(e,e=>{e.call(t,n,r,Ae)})}const Fe=function(e){let n=null;if($e(A.beforeSanitizeElements,e,null),je(e))return Ne(e),!0;const r=ke(e.nodeName);if($e(A.uponSanitizeElement,e,{tagName:r,allowedTags:j}),X&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&regExpTest(/<[/\w!]/g,e.innerHTML)&&regExpTest(/<[/\w!]/g,e.textContent))return Ne(e),!0;if(e.nodeType===NODE_TYPE.progressingInstruction)return Ne(e),!0;if(X&&e.nodeType===NODE_TYPE.comment&&regExpTest(/<[/\w]/g,e.data))return Ne(e),!0;if(!(H.tagCheck instanceof Function&&H.tagCheck(r))&&(!j[r]||U[r])){if(!U[r]&&Ue(r)){if(z.tagNameCheck instanceof RegExp&&regExpTest(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}if(ie&&!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,v(e))}}}return Ne(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:ve,tagName:"template"});const n=stringToLowerCase(e.tagName),r=stringToLowerCase(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===he?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Ie[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===he?"math"===n&&Se[r]:Boolean(De[n]):e.namespaceURI===ge?!(t.namespaceURI===he&&!Se[r])&&!(t.namespaceURI===me&&!xe[r])&&!De[n]&&(_e[n]||!Ie[n]):!("application/xhtml+xml"!==Ee||!ye[e.namespaceURI]))}(e)?(Ne(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([C,O,R],e=>{n=stringReplace(n,e," ")}),e.textContent!==n&&(arrayPush(t.removed,{element:e.cloneNode()}),e.textContent=n)),$e(A.afterSanitizeElements,e,null),!1):(Ne(e),!0)},ze=function(e,t,r){if(re&&("id"===t||"name"===t)&&(r in n||r in Ce))return!1;if(G&&!B[t]&&regExpTest(I,t));else if(W&&regExpTest(D,t));else if(H.attributeCheck instanceof Function&&H.attributeCheck(t,e));else if(!$[t]||B[t]){if(!(Ue(e)&&(z.tagNameCheck instanceof RegExp&&regExpTest(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&regExpTest(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t,e))||"is"===t&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&regExpTest(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r))))return!1}else if(pe[t]);else if(regExpTest(L,stringReplace(r,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf(r,"data:")||!ce[e]){if(q&&!regExpTest(N,stringReplace(r,P,"")));else if(r)return!1}else;return!0},Ue=function(e){return"annotation-xml"!==e&&stringMatch(e,M)},Be=function(e){$e(A.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||je(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$,forceKeepAttr:void 0};let o=n.length;for(;o--;){const a=n[o],{name:s,namespaceURI:l,value:u}=a,c=ke(s),d=u;let p="value"===s?d:stringTrim(d);if(r.attrName=c,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,$e(A.uponSanitizeAttribute,e,r),p=r.attrValue,!oe||"id"!==c&&"name"!==c||(Pe(s,e),p="user-content-"+p),X&&regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i,p)){Pe(s,e);continue}if("attributename"===c&&stringMatch(p,"href")){Pe(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Pe(s,e);continue}if(!Y&&regExpTest(/\/>/i,p)){Pe(s,e);continue}K&&arrayForEach([C,O,R],e=>{p=stringReplace(p,e," ")});const m=ke(e.nodeName);if(ze(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),je(e)?Ne(e):arrayPop(t.removed)}catch(i){Pe(s,e)}}else Pe(s,e)}$e(A.afterSanitizeAttributes,e,null)},He=function e(t){let n=null;const r=Le(t);for($e(A.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)$e(A.uponSanitizeShadowNode,n,null),Fe(n),Be(n),n.content instanceof i&&e(n.content);$e(A.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,a=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||Re(n),t.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=ke(e.nodeName);if(!j[t]||U[t])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)o=Me("\x3c!----\x3e"),a=o.ownerDocument.importNode(e,!0),a.nodeType===NODE_TYPE.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);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&&Ne(o.firstChild);const c=Le(ae?e:o);for(;l=c.nextNode();)Fe(l),Be(l),l.content instanceof i&&He(l.content);if(ae)return e;if(ee){if(te)for(u=E.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return($.shadowroot||$.shadowrootmode)&&(u=k.call(r,u,!0)),u}let d=Q?o.outerHTML:o.innerHTML;return Q&&j["!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([C,O,R],e=>{d=stringReplace(d,e," ")}),w&&ne?w.createHTML(d):d},t.setConfig=function(){Re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},t.clearConfig=function(){Ae=null,J=!1},t.isValidAttribute=function(e,t,n){Ae||Re({});const r=ke(e),o=ke(t);return ze(r,o,n)},t.addHook=function(e,t){"function"==typeof t&&arrayPush(A[e],t)},t.removeHook=function(e,t){if(void 0!==t){const n=arrayLastIndexOf(A[e],t);return-1===n?void 0:arraySplice(A[e],n,1)[0]}return arrayPop(A[e])},t.removeHooks=function(e){A[e]=[]},t.removeAllHooks=function(){A=_createHooksMap()},t}createDOMPurify();const skipEvent=e=>(e.preventDefault(),e.stopPropagation(),!1),FunctionPropertyContent=observer(({item:e})=>{const t=[...Array(safeFunctionLength(e.data))].map((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.isInaccessibleDisplay?e.inaccessibleDisplayLabel:e.instanceClassName;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:15,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:14,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:19,columnNumber:9},void 0),e.isExpanded&&!e.isInaccessibleDisplay&&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:20,columnNumber:60},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:12,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.isInaccessibleDisplay?e.inaccessibleDisplayLabel: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.inaccessible]:t.isInaccessibleDisplay,[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),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),requestAnimationFrame(()=>{this.payload.devtools.searchEngine.focusInput()}))}})),__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),i=Math.min(this.payload.devtools.listItems.length,n+r+BUFFER_SIZE);this.startIndex===o&&this.endIndex===i||runInAction(()=>{this.startIndex=o,this.endIndex=i})}),__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:[...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:cx(css$2.vmContentControlPanel,{[css$2.searchIsActive]:o.searchEngine.isActive}),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:53,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:67,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:52,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:92,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:95,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:98,columnNumber:19},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:94,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,onFocus:o.searchEngine.handleSearchInputFocus,onBlur:o.searchEngine.handleSearchInputBlur,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:103,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:123,columnNumber:17},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:122,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:86,columnNumber:13},void 0),o.searchEngine.shouldShowSuggestions&&jsxDevRuntimeExports.jsxDEV("div",{className:css$2.inputSuggestions,"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:128,columnNumber:17},void 0),jsxDevRuntimeExports.jsxDEV("div",{className:css$2.inputSuggestionsList,children:o.searchEngine.suggestionItems.map((e,t)=>jsxDevRuntimeExports.jsxDEV("div",{onMouseEnter:()=>{o.searchEngine.selectSuggestionAtIndex(t)},onMouseDown:n=>{n.preventDefault(),o.searchEngine.applySuggestionFromClick(e,t)},className:cx(css$2.inputSuggestionItem,t===o.searchEngine.selectedSuggestionIndex&&css$2.selected),children:[!o.searchEngine.isNestedSearch&&jsxDevRuntimeExports.jsxDEV("span",{className:`${css$2.inputSuggestionOwner} ${css$2[e.owner.type]}`,children:e.owner.name},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:154,columnNumber:27},void 0),jsxDevRuntimeExports.jsxDEV("span",{className:css$2.inputSuggestionValue,children:e.value},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:160,columnNumber:25},void 0)]},`${e.owner.key}/${e.value}`,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:134,columnNumber:23},void 0))},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:131,columnNumber:17},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:127,columnNumber:15},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:175,columnNumber:11},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:171,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","Meta+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,searchTextToSearch:observable.ref,selectedSuggestionIndex:observable.ref,isSearchInputFocused:observable.ref,isSuggestionsDismissed:observable.ref,selectedPathOwnerKey:observable.ref,selectedPathSegment:observable.ref,formattedSearchText:computed,segments:computed.struct,endsWithDot:computed,isNestedSearch:computed,isActive:computed,isSearchTextDebouncing:computed,shouldShowSuggestions:computed,suggestionItems:computed.struct,selectedSuggestion:computed,suggestionSuffix:computed,selectSuggestionAtIndex:action,applySuggestion:action,applySuggestionFromClick:action,handleSearchInput:action,handleSearchInputFocus:action,handleSearchInputBlur:action,handleKeyDown:action,resetSearch:action})}searchInputRef;searchText="";searchTextToSearch="";selectedSuggestionIndex=0;isSearchInputFocused=!1;isSuggestionsDismissed=!1;selectedPathOwnerKey=null;selectedPathSegment=null;searchCacheKey="";isSearching=!1;searchTextToSearchTimeout=null;scrollToSearchMatchTimeout=null;static searchDebounceMs=150;static itemHeight=22;get formattedSearchText(){return this.searchTextToSearch.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.searchTextToSearch.trim().endsWith(".")}get isNestedSearch(){return this.endsWithDot||this.segments.length>1}get isActive(){return this.formattedSearchText.length>0}get isSearchTextDebouncing(){return this.searchText!==this.searchTextToSearch}get shouldShowSuggestions(){return this.isSearchInputFocused&&!this.isSuggestionsDismissed&&this.suggestionItems.length>0}get suggestionItems(){return this.isSearchTextDebouncing&&!this.searchText.includes(".")?[]:this.buildSuggestionItemsForText(this.getActiveSearchText())}getActiveSearchText(){return this.searchText.includes(".")?this.searchText:this.searchTextToSearch}buildSuggestionItemsForText(e){const t=e.toLowerCase().trim();if(!t)return[];const n=t.split("."),r=""===n[n.length-1]?n.slice(0,-1):n;if(0===r.length)return[];const o=e.trim().endsWith("."),i=o?"":r[r.length-1];if(!o&&!i)return[];const a=this.config.getRootItems(),s=o?r:r.slice(0,-1),l=this.getCandidatePropsAtDepth(a,s),u=new Map,c=new Set;for(const m of l){const e=m.searchData.property,t=m.property??"",n=this.getOwnerInfo(m),r=`${n.key}/${e}`;if(e.startsWith(i)&&e.length>=i.length){if(c.has(r))continue;c.add(r);const e=u.get(n.name)??[];e.push({value:t,suffix:t.slice(i.length),owner:n}),u.set(n.name,e)}}const d=[],p=[...u.values()];let f=0;for(;d.length<10;){let e=!1;for(const t of p){const n=t[f];if(n&&(d.push(n),e=!0,d.length>=10))return d}if(!e)break;f++}return d}get selectedSuggestion(){if(0===this.suggestionItems.length)return null;const e=Math.min(this.selectedSuggestionIndex,this.suggestionItems.length-1);return this.suggestionItems[e]??null}get suggestionSuffix(){return this.selectedSuggestion?.suffix??""}selectSuggestionAtIndex=e=>{e<0||e>=this.suggestionItems.length||(this.selectedSuggestionIndex=e,this.isSuggestionsDismissed=!1)};applySuggestion=(e,t)=>{this.clearSearchDebounce();const n=this.searchText.includes("."),r=this.searchText+e.suffix;this.searchText=r,this.searchTextToSearch=r,this.selectedSuggestionIndex=0,this.isSuggestionsDismissed=t?.dismissSuggestions??!1;const o=n?this.getFirstPathSegment(r):void 0;t?.commitOwner?this.commitSuggestionOwner(e,o):n?this.selectedPathOwnerKey||this.commitSuggestionOwner(e,o):this.commitSuggestionOwner(e),this.searchInputRef.current?.focus(),this.scheduleScrollToFirstSearchMatch()};applySuggestionFromClick=(e,t)=>{this.selectSuggestionAtIndex(t),this.applySuggestion(e,{commitOwner:!0})};handleSearchInput=e=>{const t=this.searchText,n=this.selectedSuggestion;this.searchText=e.target.value,this.isSuggestionsDismissed=!1,this.handlePathOwnerSelectionFromInput(t,this.searchText,n),this.selectedSuggestionIndex=0,this.scheduleSearchTextDebounce()};handleSearchInputFocus=e=>{this.isSearchInputFocused=!0,this.isSuggestionsDismissed=!1};handleSearchInputBlur=e=>{this.isSearchInputFocused=!1};handleKeyDown=e=>"Escape"===e.key?(e.preventDefault(),e.stopPropagation(),void(this.isSuggestionsDismissed=!0)):"ArrowDown"===e.key&&this.suggestionItems.length>0?(e.preventDefault(),void(this.selectedSuggestionIndex=(this.selectedSuggestionIndex+1)%this.suggestionItems.length)):"ArrowUp"===e.key&&this.suggestionItems.length>0?(e.preventDefault(),void(this.selectedSuggestionIndex=(this.selectedSuggestionIndex-1+this.suggestionItems.length)%this.suggestionItems.length)):void("Tab"!==e.key&&"Enter"!==e.key||!this.selectedSuggestion||(e.preventDefault(),this.applySuggestion(this.selectedSuggestion,{dismissSuggestions:"Enter"===e.key})));commitSuggestionOwner(e,t){this.selectedPathOwnerKey=e.owner.key,this.selectedPathSegment=t??e.value.toLowerCase().trim()}handlePathOwnerSelectionFromInput(e,t,n){const r=t.endsWith(".")&&t===`${e}.`,o=t.includes(".")&&!e.includes(".");if(r||o){const o=this.getFirstPathSegment(r?e:t);if(this.selectedPathOwnerKey&&this.selectedPathSegment===o)return this.searchTextToSearch=t,void this.clearSearchDebounce();const i=r&&n&&n.value.toLowerCase()===o?n:this.resolvePathOwnerSuggestion(o,this.selectedSuggestionIndex);return i&&this.commitSuggestionOwner(i,o),this.searchTextToSearch=t,void this.clearSearchDebounce()}const i=t.toLowerCase().trim().split(".")[0]??"";t.includes(".")&&i&&i===this.selectedPathSegment||(this.selectedPathOwnerKey=null,this.selectedPathSegment=null)}getFirstPathSegment(e){return e.toLowerCase().trim().split(".")[0]??""}resolvePathOwnerSuggestion(e,t){if(!e)return null;const n=this.buildSuggestionItemsForText(e);if(0===n.length)return null;const r=n.filter(t=>t.value.toLowerCase()===e);return r.length>0?r[Math.min(t,r.length-1)]??r[0]:n[Math.min(t,n.length-1)]??n[0]}clearSearchDebounce(){this.searchTextToSearchTimeout&&(clearTimeout(this.searchTextToSearchTimeout),this.searchTextToSearchTimeout=null)}scheduleSearchTextDebounce(){this.clearSearchDebounce(),this.searchText.trim()?this.searchTextToSearchTimeout=setTimeout(()=>{runInAction(()=>{this.searchTextToSearchTimeout=null,this.searchTextToSearch=this.searchText,this.scheduleScrollToFirstSearchMatch()})},SearchEngine.searchDebounceMs):this.searchTextToSearch=""}scheduleScrollToFirstSearchMatch(){this.scrollToSearchMatchTimeout&&clearTimeout(this.scrollToSearchMatchTimeout),this.scrollToSearchMatchTimeout=setTimeout(()=>{this.scrollToSearchMatchTimeout=null,this.scrollToFirstSearchMatch()},0)}scrollToFirstSearchMatch(){if(!this.isActive)return;const e=this.getListItems(this.config.getRootItems()).findIndex(e=>this.isSearchTargetMatched(e));if(e<0)return;const t=this.config.getItemOffset(e),n=t>0?t:e*SearchEngine.itemHeight;this.config.scrollToOffset(n),this.scrollSimpleBarToOffset(n)}scrollSimpleBarToOffset(e){if("undefined"==typeof document)return;const t=document.getElementById(this.config.getContainerId()),n=t?.querySelector(".simplebar-content-wrapper");n?.scrollTo({top:e})}collectAllVMs(e){const t=[],n=e=>{if(e instanceof VMListItem){t.push(e);for(const t of e.children)n(t)}};for(const r of e)n(r);return t}getCandidatePropsAtDepth(e,t){const n=this.collectAllVMs(e),r=e.filter(e=>e instanceof ExtraListItem);if(0===t.length)return[...n,...r].flatMap(e=>this.getDirectPropertyChildren(e));const o=t[0],i=[];for(const a of n){if(!this.isOwnerAllowedForFirstPathSegment(a,o))continue;const e=this.getDirectPropertyChildren(a),n=e.some(e=>e.searchData.property===o);!n&&(a.searchData.name.includes(o)||a.searchData.id.includes(o))?i.push(...this.getOwnerMatchedPathCandidates(e,t)):n&&i.push(...this.getPropertyPathCandidates(e,t))}for(const a of r){if(!this.isOwnerAllowedForFirstPathSegment(a,o))continue;const e=this.getDirectPropertyChildren(a);e.some(e=>e.searchData.property===o)&&i.push(...this.getPropertyPathCandidates(e,t))}return i}getOwnerMatchedPathCandidates(e,t){return 1===t.length?e:this.navigatePropertyPath(e,t.slice(1))}getPropertyPathCandidates(e,t){const[n,...r]=t,o=this.getPathMatchingProps(e,n);return 0===r.length?o.flatMap(e=>e.children):o.flatMap(e=>this.navigatePropertyPath(e.children,r))}getDirectPropertyChildren(e){return e.children.filter(e=>e instanceof PropertyListItem)}isOwnerAllowedForFirstPathSegment(e,t){return!this.selectedPathOwnerKey||this.selectedPathSegment!==t||e.key===this.selectedPathOwnerKey}isPathOwnerLockedToAnotherOwner(e,t){return!this.isOwnerAllowedForFirstPathSegment(e,t)}getPathMatchingProps(e,t){return e.filter(e=>e.searchData.property===t)}getOwnerInfo(e){let t=e.parentListItem;for(;t instanceof PropertyListItem;)t=t.parentListItem;return t instanceof VMListItem?{name:t.displayName,type:"vm",key:t.key}:t instanceof ExtraListItem?{name:t.displayName,type:"extras",key:t.key}:{name:"",type:"unknown",key:"-unknown"}}navigatePropertyPath(e,t){if(0===t.length)return e;const[n,...r]=t,o=this.getPathMatchingProps(e,n);if(0===r.length){const e=[];for(const t of o)e.push(...t.children);return e}const i=[];for(const a of o)i.push(...this.navigatePropertyPath(a.children,r));return i}getFlatListItems(e){const t=[],n=e=>{if(e instanceof VMListItem){if(t.push(e),e.isExpanded)for(const n of e.children)n instanceof VMListItem||t.push(...n.expandedChildrenWithSelf);for(const t of e.children)t instanceof VMListItem&&n(t)}else t.push(e),e.isExpanded&&t.push(...e.expandedChildren)};for(const r of e)n(r);return t}getListItems(e){return this.isActive?e.flatMap(e=>this.getFilteredItemsForSearch(e)):"list"===this.config.getPresentationMode()?this.getFlatListItems(e):e.flatMap(e=>e.expandedChildrenWithSelf)}getFilteredItemsForSearch(e){return e instanceof VMListItem?this.getVMSearchItems(e):e instanceof ExtraListItem?this.getExtraSearchItems(e):[e]}getExtraSearchItems(e){if(this.isPathOwnerLockedToAnotherOwner(e,this.segments[0]??""))return[];const t=this.getDirectPropertyChildren(e);return t.some(e=>e.searchData.property.includes(this.segments[0]??""))?[e,...this.getPropertySearchItems(t,this.segments)]:[]}getVMSearchItems(e){const t=[],n=this.segments[0]??"";if(this.isPathOwnerLockedToAnotherOwner(e,n)){for(const n of e.children)n instanceof VMListItem&&t.push(...this.getVMSearchItems(n));return 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:r}=this,o=e.children.filter(e=>e instanceof PropertyListItem),i=e.children.filter(e=>e instanceof VMListItem),a=!((this.endsWithDot||r.length>1)&&o.some(e=>e.searchData.property===n))&&(e.searchData.name.includes(n)||e.searchData.id.includes(n))?r.slice(1):r;t.push(...this.getPropertySearchItems(o,a));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,i=o?this.getPathMatchingProps(e,r):[];for(const a of e){n.push(a);i.includes(a)&&o?n.push(...this.getPropertySearchItems(a.children,t.slice(1))):a.isExpanded&&n.push(...a.expandedChildren)}return n}vmMatchesSearch(e){const{segments:t}=this;if(0===t.length)return!0;const n=t[0];return!this.isPathOwnerLockedToAnotherOwner(e,n)&&(!(!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}isSearchTargetMatched(e){return!!this.isActive&&(e instanceof VMListItem?this.isVMSearchTargetMatched(e):e instanceof PropertyListItem&&this.isPropertySearchTargetMatched(e))}isVMSearchTargetMatched(e){const{segments:t}=this;if(0===t.length)return!1;const n=t[0];if(this.isPathOwnerLockedToAnotherOwner(e,n))return!1;return!((this.endsWithDot||t.length>1)&&e.children.some(e=>e instanceof PropertyListItem&&e.searchData.property===n))&&(e.searchData.name.includes(n)||e.searchData.id.includes(n))}isPropertySearchTargetMatched(e){const{segments:t}=this;if(0===t.length)return!1;let n=e.parentListItem,r=0;const o=[];for(;n instanceof PropertyListItem;)o.push(n),r++,n=n.parentListItem;if(!(n instanceof VMListItem||n instanceof ExtraListItem))return!1;const i=t[0];if(this.isPathOwnerLockedToAnotherOwner(n,i))return!1;const a=this.endsWithDot||t.length>1,s=this.getDirectPropertyChildren(n),l=a&&s.some(e=>e.searchData.property===i),u=n instanceof VMListItem&&!l&&(n.searchData.name.includes(i)||n.searchData.id.includes(i))?t.slice(1):t;if(0===u.length)return!1;const c=u.length-1,d=Math.min(r,c);for(let f=0;f<d;f++){const e=o[r-1-f];if(!this.isPropertyFittedToSegment(e,u[f],!0))return!1}if(r!==c)return!1;const p=this.endsWithDot||r<u.length-1;return this.isPropertyFittedToSegment(e,u[c],p)}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;const o=[];for(;n instanceof PropertyListItem;)o.push(n),r++,n=n.parentListItem;if(!(n instanceof VMListItem||n instanceof ExtraListItem))return!0;const i=t[0];if(this.isPathOwnerLockedToAnotherOwner(n,i))return!1;const a=this.endsWithDot||t.length>1,s=this.getDirectPropertyChildren(n),l=a&&s.some(e=>e.searchData.property===i),u=n instanceof VMListItem&&!l&&(n.searchData.name.includes(i)||n.searchData.id.includes(i))?t.slice(1):t,c=Math.min(r,u.length);for(let e=0;e<c;e++){const t=o[r-1-e],n=u[e];if(!this.isPropertyFittedToSegment(t,n,!0))return!1}if(r>=u.length)return!0;const d=u[r],p=this.endsWithDot||r<u.length-1;return this.isPropertyFittedToSegment(e,d,p)}return!0}isPropertyFittedToSegment(e,t,n){return!t||(n?e.searchData.property===t:e.searchData.property.includes(t))}resetSearch=()=>{this.clearSearchDebounce(),this.scrollToSearchMatchTimeout&&(clearTimeout(this.scrollToSearchMatchTimeout),this.scrollToSearchMatchTimeout=null),this.searchText="",this.searchTextToSearch="",this.selectedSuggestionIndex=0,this.isSuggestionsDismissed=!1,this.selectedPathOwnerKey=null,this.selectedPathSegment=null,this.focusInput()};focusInput=()=>{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,getPresentationMode:()=>this.presentationMode}),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"list"===this.presentationMode?e.children.some(e=>!(e instanceof VMListItem)):e.isExpandable}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}}exports.ViewModelDevtools=ViewModelDevtools;