mobx-view-model-devtools 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auto.global.js +2 -2
- package/index.cjs +2 -2
- package/index.d.ts +9 -0
- package/index.js +981 -536
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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)}}();
|
|
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;color:inherit}:root,[data-vmd-theme=dark]{--vmd-base-blur: 10px;--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;--vmd-code-bg: #3c3c3c9e;--vmd-property-value-instance: rgb(190 113 195);--vmd-property-value-primitive: rgb(89 153 205);--vmd-property-value-nullish: #499098;--vmd-property-value-string: #af7249;--vmd-property-bg-content-color: var(--vmd-base-color)}[data-vmd-theme=light]{--vmd-base-blur: 10px;--vmd-bg: #f4f4f8f0;--vmd-overlay-bg: #e8e8f0e6;--vmd-base-color: #2a2a2a;--vmd-control-active-bg: #0000001c;--vmd-control-active-color: #181818;--vmd-control-active-text-input-color: var(--vmd-base-color);--vmd-control-active-text-input-placeholder-color: #888;--vmd-control-inactive-color: #666;--vmd-control-border: #c8c8d4a6;--vmd-control-bg: transparent;--vmd-control-blur: 2px;--vmd-bg-transparent: #ffffff00;--vmd-content-bg: transparent;--vmd-content-highlight-bg: #00000012;--vmd-scrollbar-track-size: 8px;--vmd-scrollbar-bg-base: #81818170;--vmd-scrollbar-bg-active: #818181;--vmd-property-meta-color: #888;--vmd-primary-bg: #0f6013;--vmd-primary-color: #2d7a31;--vmd-secondary-bg: #6b6902;--vmd-edit-content-color: #8b4518;--vmd-header-height: 60px;--vmd-code-bg: #dadada9e;--vmd-property-value-instance: rgb(139 61 150);--vmd-property-value-primitive: rgb(21 101 168);--vmd-property-value-nullish: #0a7a73;--vmd-property-value-string: #a04d12;--vmd-property-bg-content-color: #e3e3e3}.root_Xsw1F.root_Xsw1F.root_Xsw1F.root_Xsw1F.root_Xsw1F{display:contents;box-sizing:border-box;color:var(--vmd-base-color)}.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)}.root_Xsw1F.root_Xsw1F.root_Xsw1F.root_Xsw1F.root_Xsw1F code{background:var(--vmd-code-bg);letter-spacing:.1px;padding:0 1px;border-radius:1px}.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;color:var(--vmd-property-bg-content-color)}.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:4}.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH.vmContentHeaderTitleText_RlIFH{display:inline-flex;align-items:center;gap:4px;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: var(--vmd-property-value-instance)}.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: var(--vmd-property-value-primitive)}.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: var(--vmd-property-value-nullish)}.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.primitive_v6LAV.string_87vm1.string_87vm1.string_87vm1.string_87vm1.string_87vm1{--value-color: var(--vmd-property-value-string)}.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG.propertyName_KicXG{color:var(--vmd-base-color)}.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}.settingsWrap_RHRxC.settingsWrap_RHRxC.settingsWrap_RHRxC.settingsWrap_RHRxC.settingsWrap_RHRxC{position:relative;display:inline-flex}.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1{position:relative;z-index:6;display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;background:transparent;color:var(--vmd-control-inactive-color);border-radius:4px;cursor:pointer;opacity:.7;transition:color .15s ease,opacity .15s ease}.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1:hover{color:var(--vmd-base-color);opacity:1}.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1.settingsButton_XaX-1>svg{width:14px;height:14px}.settingsBackdrop_1M2Ag.settingsBackdrop_1M2Ag.settingsBackdrop_1M2Ag.settingsBackdrop_1M2Ag.settingsBackdrop_1M2Ag{position:fixed;inset:0;z-index:4}.settingsPopup_NfbbB.settingsPopup_NfbbB.settingsPopup_NfbbB.settingsPopup_NfbbB.settingsPopup_NfbbB{position:absolute;z-index:6;top:calc(100% + 4px);left:0;display:flex;flex-direction:column;gap:8px;min-width:200px;padding:8px;border:1px solid var(--vmd-control-border);border-radius:6px;background:var(--vmd-bg);box-shadow:0 6px 18px #00000059;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.settingRow_QmBse.settingRow_QmBse.settingRow_QmBse.settingRow_QmBse.settingRow_QmBse{display:flex;align-items:center;justify-content:space-between;gap:12px}.settingCheckbox_fiE-K.settingCheckbox_fiE-K.settingCheckbox_fiE-K.settingCheckbox_fiE-K.settingCheckbox_fiE-K{width:14px;height:14px;margin:0;accent-color:var(--vmd-primary-color);cursor:pointer}.settingLabel_zlHbk.settingLabel_zlHbk.settingLabel_zlHbk.settingLabel_zlHbk.settingLabel_zlHbk{font-size:13px;color:var(--vmd-base-color);white-space:nowrap}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -4821,6 +4821,20 @@ var isShallowEqual = (a, b) => {
|
|
|
4821
4821
|
for (const key of aKeys) if (!Object.hasOwn(bObj, key) || a[key] !== bObj[key]) return false;
|
|
4822
4822
|
return true;
|
|
4823
4823
|
};
|
|
4824
|
+
var safeJsonParse = (json, fallback = null) => {
|
|
4825
|
+
if (json == null) return fallback;
|
|
4826
|
+
try {
|
|
4827
|
+
return JSON.parse(json);
|
|
4828
|
+
} catch {
|
|
4829
|
+
return fallback;
|
|
4830
|
+
}
|
|
4831
|
+
};
|
|
4832
|
+
var UNSAFE_PROPERTY_KEYS = /* @__PURE__ */ new Set([
|
|
4833
|
+
"__proto__",
|
|
4834
|
+
"prototype",
|
|
4835
|
+
"constructor"
|
|
4836
|
+
]);
|
|
4837
|
+
var isUnsafeProperty = (key) => UNSAFE_PROPERTY_KEYS.has(key);
|
|
4824
4838
|
/*! @license DOMPurify 3.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.5/LICENSE */
|
|
4825
4839
|
function _arrayLikeToArray(r2, a) {
|
|
4826
4840
|
(null == a || a > r2.length) && (a = r2.length);
|
|
@@ -31837,6 +31851,610 @@ var Storage = class {
|
|
|
31837
31851
|
this.abortController.abort();
|
|
31838
31852
|
}
|
|
31839
31853
|
};
|
|
31854
|
+
const colorScheme = {
|
|
31855
|
+
get scheme() {
|
|
31856
|
+
if (!globalThis.matchMedia) {
|
|
31857
|
+
return "no-preference";
|
|
31858
|
+
}
|
|
31859
|
+
const darkMedia = globalThis.matchMedia("(prefers-color-scheme: dark)");
|
|
31860
|
+
const lightMedia = globalThis.matchMedia("(prefers-color-scheme: light)");
|
|
31861
|
+
if (!this._atom) {
|
|
31862
|
+
this._atom = createEnhancedAtom(
|
|
31863
|
+
"colorScheme",
|
|
31864
|
+
(atom) => {
|
|
31865
|
+
darkMedia.addEventListener("change", atom.reportChanged);
|
|
31866
|
+
lightMedia.addEventListener("change", atom.reportChanged);
|
|
31867
|
+
},
|
|
31868
|
+
(atom) => {
|
|
31869
|
+
darkMedia.removeEventListener("change", atom.reportChanged);
|
|
31870
|
+
lightMedia.removeEventListener("change", atom.reportChanged);
|
|
31871
|
+
}
|
|
31872
|
+
);
|
|
31873
|
+
}
|
|
31874
|
+
this._atom.reportObserved();
|
|
31875
|
+
if (darkMedia.matches) {
|
|
31876
|
+
return "dark";
|
|
31877
|
+
}
|
|
31878
|
+
if (lightMedia.matches) {
|
|
31879
|
+
return "light";
|
|
31880
|
+
}
|
|
31881
|
+
return "no-preference";
|
|
31882
|
+
},
|
|
31883
|
+
get isLight() {
|
|
31884
|
+
return this.scheme === "light";
|
|
31885
|
+
}
|
|
31886
|
+
};
|
|
31887
|
+
const requestPermission = async (name, atom) => {
|
|
31888
|
+
if (globalThis.navigator && "permissions" in globalThis.navigator) {
|
|
31889
|
+
try {
|
|
31890
|
+
const status = await navigator.permissions.query({
|
|
31891
|
+
name
|
|
31892
|
+
});
|
|
31893
|
+
atom.meta.permissionStatus = status;
|
|
31894
|
+
if (atom.meta.permissionStatus.state !== "prompt") {
|
|
31895
|
+
atom.reportChanged();
|
|
31896
|
+
}
|
|
31897
|
+
atom.meta.permissionStatus.addEventListener("change", atom.reportChanged);
|
|
31898
|
+
} catch (e) {
|
|
31899
|
+
runInAction(() => {
|
|
31900
|
+
atom.meta.error = e;
|
|
31901
|
+
});
|
|
31902
|
+
}
|
|
31903
|
+
}
|
|
31904
|
+
};
|
|
31905
|
+
const getOrCreatePermissionAtom = (info, name) => {
|
|
31906
|
+
if (!info._atom) {
|
|
31907
|
+
info._atom = createEnhancedAtom(
|
|
31908
|
+
`${name}_permission`,
|
|
31909
|
+
(atom) => {
|
|
31910
|
+
if (!atom.meta.permissionStatus) {
|
|
31911
|
+
requestPermission(name, atom);
|
|
31912
|
+
}
|
|
31913
|
+
},
|
|
31914
|
+
(atom) => atom.meta.permissionStatus?.removeEventListener(
|
|
31915
|
+
"change",
|
|
31916
|
+
atom.reportChanged
|
|
31917
|
+
),
|
|
31918
|
+
makeObservable(
|
|
31919
|
+
{
|
|
31920
|
+
retry: () => requestPermission(name, info._atom)
|
|
31921
|
+
},
|
|
31922
|
+
{
|
|
31923
|
+
error: observable.ref
|
|
31924
|
+
}
|
|
31925
|
+
)
|
|
31926
|
+
);
|
|
31927
|
+
}
|
|
31928
|
+
return info._atom;
|
|
31929
|
+
};
|
|
31930
|
+
const createPermissionInfo = (name) => {
|
|
31931
|
+
return {
|
|
31932
|
+
retry() {
|
|
31933
|
+
const atom = getOrCreatePermissionAtom(this, name);
|
|
31934
|
+
return atom.meta.retry();
|
|
31935
|
+
},
|
|
31936
|
+
get state() {
|
|
31937
|
+
const atom = getOrCreatePermissionAtom(this, name);
|
|
31938
|
+
atom.reportObserved();
|
|
31939
|
+
return atom.meta.permissionStatus?.state ?? "prompt";
|
|
31940
|
+
},
|
|
31941
|
+
get isGranted() {
|
|
31942
|
+
return this.state === "granted";
|
|
31943
|
+
},
|
|
31944
|
+
get isDenied() {
|
|
31945
|
+
return this.state === "denied";
|
|
31946
|
+
},
|
|
31947
|
+
get isPrompt() {
|
|
31948
|
+
return this.state === "prompt";
|
|
31949
|
+
},
|
|
31950
|
+
get error() {
|
|
31951
|
+
const atom = getOrCreatePermissionAtom(this, name);
|
|
31952
|
+
atom.reportObserved();
|
|
31953
|
+
return atom.meta.error;
|
|
31954
|
+
}
|
|
31955
|
+
};
|
|
31956
|
+
};
|
|
31957
|
+
const permissions = new Proxy(
|
|
31958
|
+
{},
|
|
31959
|
+
{
|
|
31960
|
+
get(target, property2) {
|
|
31961
|
+
if (!target[property2]) {
|
|
31962
|
+
target[property2] = createPermissionInfo(property2);
|
|
31963
|
+
}
|
|
31964
|
+
return target[property2];
|
|
31965
|
+
}
|
|
31966
|
+
}
|
|
31967
|
+
);
|
|
31968
|
+
class BaseGeolocationProvider {
|
|
31969
|
+
constructor(positionOptions) {
|
|
31970
|
+
this.positionOptions = positionOptions;
|
|
31971
|
+
makeObservable(this, {
|
|
31972
|
+
position: observable.deep,
|
|
31973
|
+
error: computed.struct
|
|
31974
|
+
});
|
|
31975
|
+
onBecomeObserved(this, "position", () => {
|
|
31976
|
+
this.activate();
|
|
31977
|
+
});
|
|
31978
|
+
onBecomeUnobserved(this, "position", () => {
|
|
31979
|
+
this.deactivate();
|
|
31980
|
+
});
|
|
31981
|
+
}
|
|
31982
|
+
watchId;
|
|
31983
|
+
position = {
|
|
31984
|
+
coords: {
|
|
31985
|
+
accuracy: 0,
|
|
31986
|
+
altitude: null,
|
|
31987
|
+
altitudeAccuracy: null,
|
|
31988
|
+
heading: null,
|
|
31989
|
+
latitude: 0,
|
|
31990
|
+
longitude: 0,
|
|
31991
|
+
speed: null
|
|
31992
|
+
},
|
|
31993
|
+
timestamp: 0
|
|
31994
|
+
};
|
|
31995
|
+
get error() {
|
|
31996
|
+
return permissions.geolocation.error;
|
|
31997
|
+
}
|
|
31998
|
+
activate() {
|
|
31999
|
+
if (globalThis.navigator && "geolocation" in globalThis.navigator) {
|
|
32000
|
+
globalThis.navigator.geolocation.getCurrentPosition(
|
|
32001
|
+
action((position) => {
|
|
32002
|
+
this.position = position;
|
|
32003
|
+
}),
|
|
32004
|
+
void 0,
|
|
32005
|
+
this.positionOptions
|
|
32006
|
+
);
|
|
32007
|
+
this.watchId = globalThis.navigator.geolocation.watchPosition(
|
|
32008
|
+
action((position) => {
|
|
32009
|
+
this.position = position;
|
|
32010
|
+
}),
|
|
32011
|
+
void 0,
|
|
32012
|
+
this.positionOptions
|
|
32013
|
+
);
|
|
32014
|
+
return true;
|
|
32015
|
+
}
|
|
32016
|
+
return false;
|
|
32017
|
+
}
|
|
32018
|
+
deactivate() {
|
|
32019
|
+
if (this.watchId != null && globalThis.navigator && "geolocation" in globalThis.navigator) {
|
|
32020
|
+
globalThis.navigator.geolocation.clearWatch(this.watchId);
|
|
32021
|
+
}
|
|
32022
|
+
}
|
|
32023
|
+
}
|
|
32024
|
+
makeObservable(
|
|
32025
|
+
{
|
|
32026
|
+
get permission() {
|
|
32027
|
+
return permissions.geolocation;
|
|
32028
|
+
},
|
|
32029
|
+
get position() {
|
|
32030
|
+
if (!this.provider) {
|
|
32031
|
+
this.provider = new BaseGeolocationProvider();
|
|
32032
|
+
}
|
|
32033
|
+
return this.provider.position;
|
|
32034
|
+
}
|
|
32035
|
+
},
|
|
32036
|
+
{
|
|
32037
|
+
position: computed.struct
|
|
32038
|
+
}
|
|
32039
|
+
);
|
|
32040
|
+
const matchMediaTrackerFactory = {
|
|
32041
|
+
_trackers: /* @__PURE__ */ new Map(),
|
|
32042
|
+
create(query) {
|
|
32043
|
+
if (this._trackers.has(query)) {
|
|
32044
|
+
return this._trackers.get(query);
|
|
32045
|
+
}
|
|
32046
|
+
const mediaQueryList = globalThis.matchMedia(query);
|
|
32047
|
+
const tracker = {
|
|
32048
|
+
_atom: createEnhancedAtom(
|
|
32049
|
+
`matchMediaTracker_${query}`,
|
|
32050
|
+
(atom) => {
|
|
32051
|
+
mediaQueryList.addEventListener("change", atom.reportChanged);
|
|
32052
|
+
},
|
|
32053
|
+
(atom) => {
|
|
32054
|
+
mediaQueryList.removeEventListener("change", atom.reportChanged);
|
|
32055
|
+
}
|
|
32056
|
+
),
|
|
32057
|
+
get matches() {
|
|
32058
|
+
this._atom.reportObserved();
|
|
32059
|
+
return mediaQueryList.matches;
|
|
32060
|
+
}
|
|
32061
|
+
};
|
|
32062
|
+
this._trackers.set(query, tracker);
|
|
32063
|
+
return tracker;
|
|
32064
|
+
}
|
|
32065
|
+
};
|
|
32066
|
+
makeObservable(
|
|
32067
|
+
{
|
|
32068
|
+
get sizes() {
|
|
32069
|
+
if (!this._atom) {
|
|
32070
|
+
this._atom = createEnhancedAtom(
|
|
32071
|
+
"mediaQuery_sizes",
|
|
32072
|
+
(atom) => {
|
|
32073
|
+
globalThis.addEventListener?.("resize", atom.reportChanged);
|
|
32074
|
+
},
|
|
32075
|
+
(atom) => {
|
|
32076
|
+
globalThis.removeEventListener?.("resize", atom.reportChanged);
|
|
32077
|
+
}
|
|
32078
|
+
);
|
|
32079
|
+
}
|
|
32080
|
+
this._atom.reportObserved();
|
|
32081
|
+
return {
|
|
32082
|
+
inner: {
|
|
32083
|
+
width: globalThis.innerWidth ?? 0,
|
|
32084
|
+
height: globalThis.innerHeight ?? 0
|
|
32085
|
+
},
|
|
32086
|
+
outer: {
|
|
32087
|
+
width: globalThis.outerWidth ?? 0,
|
|
32088
|
+
height: globalThis.outerHeight ?? 0
|
|
32089
|
+
},
|
|
32090
|
+
client: {
|
|
32091
|
+
width: globalThis.document?.documentElement?.clientWidth ?? 0,
|
|
32092
|
+
height: globalThis.document?.documentElement?.clientHeight ?? 0
|
|
32093
|
+
},
|
|
32094
|
+
offset: {
|
|
32095
|
+
width: globalThis.document?.documentElement?.offsetWidth ?? 0,
|
|
32096
|
+
height: globalThis.document?.documentElement?.offsetHeight ?? 0
|
|
32097
|
+
}
|
|
32098
|
+
};
|
|
32099
|
+
},
|
|
32100
|
+
track(query) {
|
|
32101
|
+
return matchMediaTrackerFactory.create(query);
|
|
32102
|
+
},
|
|
32103
|
+
match(query) {
|
|
32104
|
+
return matchMediaTrackerFactory.create(query).matches;
|
|
32105
|
+
}
|
|
32106
|
+
},
|
|
32107
|
+
{
|
|
32108
|
+
sizes: computed.struct
|
|
32109
|
+
}
|
|
32110
|
+
);
|
|
32111
|
+
const pageVisibility = {
|
|
32112
|
+
get isVisible() {
|
|
32113
|
+
if (!globalThis.document) {
|
|
32114
|
+
return true;
|
|
32115
|
+
}
|
|
32116
|
+
if (!this._atom) {
|
|
32117
|
+
this._atom = createEnhancedAtom(
|
|
32118
|
+
"pageVisibility",
|
|
32119
|
+
(atom) => globalThis.document.addEventListener(
|
|
32120
|
+
"visibilitychange",
|
|
32121
|
+
atom.reportChanged
|
|
32122
|
+
),
|
|
32123
|
+
(atom) => {
|
|
32124
|
+
globalThis.document.removeEventListener(
|
|
32125
|
+
"visibilitychange",
|
|
32126
|
+
atom.reportChanged
|
|
32127
|
+
);
|
|
32128
|
+
}
|
|
32129
|
+
);
|
|
32130
|
+
}
|
|
32131
|
+
this._atom.reportObserved();
|
|
32132
|
+
return globalThis.document.visibilityState === "visible";
|
|
32133
|
+
},
|
|
32134
|
+
get isHidden() {
|
|
32135
|
+
return !this.isVisible;
|
|
32136
|
+
}
|
|
32137
|
+
};
|
|
32138
|
+
const keysMapping = [
|
|
32139
|
+
["current", "language"],
|
|
32140
|
+
["all", "languages"]
|
|
32141
|
+
];
|
|
32142
|
+
makeObservable(
|
|
32143
|
+
keysMapping.reduce(
|
|
32144
|
+
(acc, [mappingKey, navigatorKey]) => {
|
|
32145
|
+
Object.defineProperty(acc, mappingKey, {
|
|
32146
|
+
get() {
|
|
32147
|
+
if (!acc._atom) {
|
|
32148
|
+
acc._atom = createEnhancedAtom(
|
|
32149
|
+
"languages",
|
|
32150
|
+
(atom) => {
|
|
32151
|
+
globalThis.addEventListener(
|
|
32152
|
+
"languagechange",
|
|
32153
|
+
atom.reportChanged
|
|
32154
|
+
);
|
|
32155
|
+
},
|
|
32156
|
+
(atom) => {
|
|
32157
|
+
globalThis.removeEventListener(
|
|
32158
|
+
"languagechange",
|
|
32159
|
+
atom.reportChanged
|
|
32160
|
+
);
|
|
32161
|
+
},
|
|
32162
|
+
{
|
|
32163
|
+
headerLanguage: computed(
|
|
32164
|
+
() => {
|
|
32165
|
+
if (!acc.acceptLanguageHeader) {
|
|
32166
|
+
return null;
|
|
32167
|
+
}
|
|
32168
|
+
const languages = acc.acceptLanguageHeader.split(",").map((lang) => lang.split(";")[0]?.trim()).filter((lang) => lang && lang !== "*");
|
|
32169
|
+
if (!languages.length) {
|
|
32170
|
+
return null;
|
|
32171
|
+
}
|
|
32172
|
+
return {
|
|
32173
|
+
language: languages[0],
|
|
32174
|
+
languages
|
|
32175
|
+
};
|
|
32176
|
+
}
|
|
32177
|
+
)
|
|
32178
|
+
}
|
|
32179
|
+
);
|
|
32180
|
+
}
|
|
32181
|
+
acc._atom.reportObserved();
|
|
32182
|
+
const headerLanguage = acc._atom.meta.headerLanguage.get();
|
|
32183
|
+
const language = headerLanguage ?? globalThis.navigator;
|
|
32184
|
+
return language[navigatorKey];
|
|
32185
|
+
}
|
|
32186
|
+
});
|
|
32187
|
+
return acc;
|
|
32188
|
+
},
|
|
32189
|
+
{
|
|
32190
|
+
acceptLanguageHeader: void 0
|
|
32191
|
+
}
|
|
32192
|
+
),
|
|
32193
|
+
{
|
|
32194
|
+
acceptLanguageHeader: observable.ref
|
|
32195
|
+
}
|
|
32196
|
+
);
|
|
32197
|
+
const screenOrientationKeys = [
|
|
32198
|
+
"angle",
|
|
32199
|
+
"type"
|
|
32200
|
+
];
|
|
32201
|
+
const screenOrientationInfo = screenOrientationKeys.reduce((acc, key) => {
|
|
32202
|
+
Object.defineProperty(acc, key, {
|
|
32203
|
+
get() {
|
|
32204
|
+
if (!acc._atom) {
|
|
32205
|
+
acc._atom = createEnhancedAtom(
|
|
32206
|
+
"screen-orientation-info-atom",
|
|
32207
|
+
(atom) => {
|
|
32208
|
+
globalThis.screen.orientation.addEventListener(
|
|
32209
|
+
"change",
|
|
32210
|
+
atom.reportChanged
|
|
32211
|
+
);
|
|
32212
|
+
},
|
|
32213
|
+
(atom) => {
|
|
32214
|
+
globalThis.screen.orientation.removeEventListener(
|
|
32215
|
+
"change",
|
|
32216
|
+
atom.reportChanged
|
|
32217
|
+
);
|
|
32218
|
+
}
|
|
32219
|
+
);
|
|
32220
|
+
}
|
|
32221
|
+
acc._atom.reportObserved();
|
|
32222
|
+
return globalThis.screen.orientation[key];
|
|
32223
|
+
}
|
|
32224
|
+
});
|
|
32225
|
+
return acc;
|
|
32226
|
+
}, {});
|
|
32227
|
+
const screenKeys = [
|
|
32228
|
+
"availWidth",
|
|
32229
|
+
"availHeight",
|
|
32230
|
+
"colorDepth",
|
|
32231
|
+
"height",
|
|
32232
|
+
"pixelDepth",
|
|
32233
|
+
"width",
|
|
32234
|
+
"orientation"
|
|
32235
|
+
];
|
|
32236
|
+
screenKeys.reduce((acc, screenKey) => {
|
|
32237
|
+
Object.defineProperty(acc, screenKey, {
|
|
32238
|
+
get() {
|
|
32239
|
+
if (!acc._atom) {
|
|
32240
|
+
acc._atom = createEnhancedAtom(
|
|
32241
|
+
"screen-change-atom",
|
|
32242
|
+
(atom) => {
|
|
32243
|
+
globalThis.screen.addEventListener?.("change", atom.reportChanged);
|
|
32244
|
+
},
|
|
32245
|
+
(atom) => {
|
|
32246
|
+
globalThis.screen.removeEventListener?.(
|
|
32247
|
+
"change",
|
|
32248
|
+
atom.reportChanged
|
|
32249
|
+
);
|
|
32250
|
+
}
|
|
32251
|
+
);
|
|
32252
|
+
}
|
|
32253
|
+
acc._atom.reportObserved();
|
|
32254
|
+
if (screenKey === "orientation") {
|
|
32255
|
+
return screenOrientationInfo;
|
|
32256
|
+
}
|
|
32257
|
+
return globalThis.screen[screenKey];
|
|
32258
|
+
}
|
|
32259
|
+
});
|
|
32260
|
+
return acc;
|
|
32261
|
+
}, {});
|
|
32262
|
+
const getStorage = (scope) => {
|
|
32263
|
+
try {
|
|
32264
|
+
if (!globalThis.window) {
|
|
32265
|
+
return void 0;
|
|
32266
|
+
}
|
|
32267
|
+
return scope === "local" ? globalThis.localStorage : globalThis.sessionStorage;
|
|
32268
|
+
} catch {
|
|
32269
|
+
return void 0;
|
|
32270
|
+
}
|
|
32271
|
+
};
|
|
32272
|
+
const toStorageKey = (key, prefix = "") => `${prefix}${key}`;
|
|
32273
|
+
const createStorageValues = (scope, options) => {
|
|
32274
|
+
const atoms = /* @__PURE__ */ new Map();
|
|
32275
|
+
const getAtom2 = (key) => {
|
|
32276
|
+
if (!atoms.has(key)) {
|
|
32277
|
+
const storageKey = toStorageKey(key, options?.prefix);
|
|
32278
|
+
const atom = createEnhancedAtom(
|
|
32279
|
+
`storageData:${scope}:${storageKey}`,
|
|
32280
|
+
(atom2) => {
|
|
32281
|
+
const storageListener = (event) => {
|
|
32282
|
+
if (event.key === storageKey && event.storageArea === getStorage(scope)) {
|
|
32283
|
+
atom2.reportChanged();
|
|
32284
|
+
}
|
|
32285
|
+
};
|
|
32286
|
+
globalThis.addEventListener?.("storage", storageListener);
|
|
32287
|
+
atom2.meta.dispose = () => globalThis.removeEventListener?.("storage", storageListener);
|
|
32288
|
+
},
|
|
32289
|
+
(atom2) => {
|
|
32290
|
+
atom2.meta.dispose?.();
|
|
32291
|
+
atom2.meta.dispose = void 0;
|
|
32292
|
+
}
|
|
32293
|
+
);
|
|
32294
|
+
atoms.set(key, atom);
|
|
32295
|
+
}
|
|
32296
|
+
return atoms.get(key);
|
|
32297
|
+
};
|
|
32298
|
+
return new Proxy(/* @__PURE__ */ Object.create(null), {
|
|
32299
|
+
get(_14, key) {
|
|
32300
|
+
if (typeof key !== "string" || isUnsafeProperty(key)) {
|
|
32301
|
+
return void 0;
|
|
32302
|
+
}
|
|
32303
|
+
getAtom2(key).reportObserved();
|
|
32304
|
+
const storageKey = toStorageKey(key, options?.prefix);
|
|
32305
|
+
return getStorage(scope)?.getItem(storageKey) ?? null;
|
|
32306
|
+
},
|
|
32307
|
+
set(_14, rawKey, value) {
|
|
32308
|
+
if (typeof rawKey !== "string" || isUnsafeProperty(rawKey)) {
|
|
32309
|
+
return true;
|
|
32310
|
+
}
|
|
32311
|
+
const key = String(rawKey);
|
|
32312
|
+
const storage = getStorage(scope);
|
|
32313
|
+
const storageKey = toStorageKey(key, options?.prefix);
|
|
32314
|
+
if (value == null) {
|
|
32315
|
+
storage?.removeItem(storageKey);
|
|
32316
|
+
} else {
|
|
32317
|
+
storage?.setItem(storageKey, String(value));
|
|
32318
|
+
}
|
|
32319
|
+
getAtom2(key).reportChanged();
|
|
32320
|
+
return true;
|
|
32321
|
+
},
|
|
32322
|
+
deleteProperty(_14, rawKey) {
|
|
32323
|
+
if (typeof rawKey !== "string" || isUnsafeProperty(rawKey)) {
|
|
32324
|
+
return true;
|
|
32325
|
+
}
|
|
32326
|
+
const key = String(rawKey);
|
|
32327
|
+
const storageKey = toStorageKey(key, options?.prefix);
|
|
32328
|
+
getStorage(scope)?.removeItem(storageKey);
|
|
32329
|
+
getAtom2(key).reportChanged();
|
|
32330
|
+
return true;
|
|
32331
|
+
}
|
|
32332
|
+
});
|
|
32333
|
+
};
|
|
32334
|
+
const createStorageData = (options) => {
|
|
32335
|
+
const storages = {};
|
|
32336
|
+
const getStorageValues = (scope) => {
|
|
32337
|
+
storages[scope] ??= createStorageValues(
|
|
32338
|
+
scope === "local" ? "local" : "session",
|
|
32339
|
+
options
|
|
32340
|
+
);
|
|
32341
|
+
return storages[scope];
|
|
32342
|
+
};
|
|
32343
|
+
const storageData2 = {
|
|
32344
|
+
get local() {
|
|
32345
|
+
return getStorageValues("local");
|
|
32346
|
+
},
|
|
32347
|
+
get session() {
|
|
32348
|
+
return getStorageValues("session");
|
|
32349
|
+
},
|
|
32350
|
+
key(key, defaultValue, scope = "local") {
|
|
32351
|
+
const isString2 = typeof defaultValue === "string";
|
|
32352
|
+
const values = getStorageValues(scope);
|
|
32353
|
+
const reset = () => {
|
|
32354
|
+
delete values[key];
|
|
32355
|
+
};
|
|
32356
|
+
return new Proxy(/* @__PURE__ */ Object.create(null), {
|
|
32357
|
+
get(_14, property2) {
|
|
32358
|
+
if (property2 === "reset") {
|
|
32359
|
+
return reset;
|
|
32360
|
+
}
|
|
32361
|
+
if (property2 === "value") {
|
|
32362
|
+
if (isString2) {
|
|
32363
|
+
return values[key] == null ? defaultValue : values[key];
|
|
32364
|
+
}
|
|
32365
|
+
return safeJsonParse(values[key], defaultValue);
|
|
32366
|
+
}
|
|
32367
|
+
return void 0;
|
|
32368
|
+
},
|
|
32369
|
+
set(_14, property2, value) {
|
|
32370
|
+
if (property2 === "value") {
|
|
32371
|
+
if (value == null) {
|
|
32372
|
+
reset();
|
|
32373
|
+
} else {
|
|
32374
|
+
values[key] = isString2 ? String(value) : JSON.stringify(value);
|
|
32375
|
+
}
|
|
32376
|
+
}
|
|
32377
|
+
return true;
|
|
32378
|
+
},
|
|
32379
|
+
deleteProperty(_14, property2) {
|
|
32380
|
+
if (property2 === "value") {
|
|
32381
|
+
reset();
|
|
32382
|
+
}
|
|
32383
|
+
return true;
|
|
32384
|
+
}
|
|
32385
|
+
});
|
|
32386
|
+
}
|
|
32387
|
+
};
|
|
32388
|
+
return storageData2;
|
|
32389
|
+
};
|
|
32390
|
+
const getViewport = () => globalThis.visualViewport;
|
|
32391
|
+
const viewportInfoKeys = [
|
|
32392
|
+
"width",
|
|
32393
|
+
"height",
|
|
32394
|
+
"offsetLeft",
|
|
32395
|
+
"offsetTop",
|
|
32396
|
+
"pageLeft",
|
|
32397
|
+
"pageTop",
|
|
32398
|
+
"scale"
|
|
32399
|
+
];
|
|
32400
|
+
viewportInfoKeys.reduce(
|
|
32401
|
+
(acc, viewportKey) => {
|
|
32402
|
+
Object.defineProperty(acc, viewportKey, {
|
|
32403
|
+
get() {
|
|
32404
|
+
const viewport = getViewport();
|
|
32405
|
+
if (!viewport) {
|
|
32406
|
+
if (viewportKey === "width") {
|
|
32407
|
+
return globalThis.innerWidth ?? 0;
|
|
32408
|
+
}
|
|
32409
|
+
if (viewportKey === "height") {
|
|
32410
|
+
return globalThis.innerHeight ?? 0;
|
|
32411
|
+
}
|
|
32412
|
+
if (viewportKey === "scale") {
|
|
32413
|
+
return 1;
|
|
32414
|
+
}
|
|
32415
|
+
return 0;
|
|
32416
|
+
}
|
|
32417
|
+
if (!acc._atom) {
|
|
32418
|
+
acc._atom = createEnhancedAtom(
|
|
32419
|
+
"viewportInfo",
|
|
32420
|
+
(atom) => {
|
|
32421
|
+
viewport.addEventListener("resize", atom.reportChanged);
|
|
32422
|
+
viewport.addEventListener("scroll", atom.reportChanged);
|
|
32423
|
+
},
|
|
32424
|
+
(atom) => {
|
|
32425
|
+
viewport.removeEventListener("resize", atom.reportChanged);
|
|
32426
|
+
viewport.removeEventListener("scroll", atom.reportChanged);
|
|
32427
|
+
}
|
|
32428
|
+
);
|
|
32429
|
+
}
|
|
32430
|
+
acc._atom.reportObserved();
|
|
32431
|
+
return viewport[viewportKey];
|
|
32432
|
+
}
|
|
32433
|
+
});
|
|
32434
|
+
return acc;
|
|
32435
|
+
},
|
|
32436
|
+
{
|
|
32437
|
+
get isSupported() {
|
|
32438
|
+
return Boolean(getViewport());
|
|
32439
|
+
},
|
|
32440
|
+
get isKeyboardLikeOverlay() {
|
|
32441
|
+
const viewportHeight = getViewport()?.height ?? globalThis.innerHeight ?? 0;
|
|
32442
|
+
const layoutHeight = globalThis.innerHeight ?? viewportHeight;
|
|
32443
|
+
return layoutHeight - viewportHeight > 120;
|
|
32444
|
+
}
|
|
32445
|
+
}
|
|
32446
|
+
);
|
|
32447
|
+
const settingsStorage = createStorageData({
|
|
32448
|
+
prefix: "mobx-view-model-devtools:"
|
|
32449
|
+
});
|
|
32450
|
+
const devtoolsThemeKey = settingsStorage.key(
|
|
32451
|
+
"theme",
|
|
32452
|
+
"auto"
|
|
32453
|
+
);
|
|
32454
|
+
const devtoolsHideViewModelBaseKey = settingsStorage.key(
|
|
32455
|
+
"hideViewModelBaseMembers",
|
|
32456
|
+
false
|
|
32457
|
+
);
|
|
31840
32458
|
var client = {};
|
|
31841
32459
|
var hasRequiredClient;
|
|
31842
32460
|
function requireClient() {
|
|
@@ -36058,442 +36676,10 @@ function throttle(func, wait, options) {
|
|
|
36058
36676
|
"trailing": trailing
|
|
36059
36677
|
});
|
|
36060
36678
|
}
|
|
36061
|
-
const requestPermission = async (name, atom) => {
|
|
36062
|
-
if (globalThis.navigator && "permissions" in globalThis.navigator) {
|
|
36063
|
-
try {
|
|
36064
|
-
const status = await navigator.permissions.query({
|
|
36065
|
-
name
|
|
36066
|
-
});
|
|
36067
|
-
atom.meta.permissionStatus = status;
|
|
36068
|
-
if (atom.meta.permissionStatus.state !== "prompt") {
|
|
36069
|
-
atom.reportChanged();
|
|
36070
|
-
}
|
|
36071
|
-
atom.meta.permissionStatus.addEventListener("change", atom.reportChanged);
|
|
36072
|
-
} catch (e) {
|
|
36073
|
-
runInAction(() => {
|
|
36074
|
-
atom.meta.error = e;
|
|
36075
|
-
});
|
|
36076
|
-
}
|
|
36077
|
-
}
|
|
36078
|
-
};
|
|
36079
|
-
const getOrCreatePermissionAtom = (info, name) => {
|
|
36080
|
-
if (!info._atom) {
|
|
36081
|
-
info._atom = createEnhancedAtom(
|
|
36082
|
-
`${name}_permission`,
|
|
36083
|
-
(atom) => {
|
|
36084
|
-
if (!atom.meta.permissionStatus) {
|
|
36085
|
-
requestPermission(name, atom);
|
|
36086
|
-
}
|
|
36087
|
-
},
|
|
36088
|
-
(atom) => atom.meta.permissionStatus?.removeEventListener(
|
|
36089
|
-
"change",
|
|
36090
|
-
atom.reportChanged
|
|
36091
|
-
),
|
|
36092
|
-
makeObservable(
|
|
36093
|
-
{
|
|
36094
|
-
retry: () => requestPermission(name, info._atom)
|
|
36095
|
-
},
|
|
36096
|
-
{
|
|
36097
|
-
error: observable.ref
|
|
36098
|
-
}
|
|
36099
|
-
)
|
|
36100
|
-
);
|
|
36101
|
-
}
|
|
36102
|
-
return info._atom;
|
|
36103
|
-
};
|
|
36104
|
-
const createPermissionInfo = (name) => {
|
|
36105
|
-
return {
|
|
36106
|
-
retry() {
|
|
36107
|
-
const atom = getOrCreatePermissionAtom(this, name);
|
|
36108
|
-
return atom.meta.retry();
|
|
36109
|
-
},
|
|
36110
|
-
get state() {
|
|
36111
|
-
const atom = getOrCreatePermissionAtom(this, name);
|
|
36112
|
-
atom.reportObserved();
|
|
36113
|
-
return atom.meta.permissionStatus?.state ?? "prompt";
|
|
36114
|
-
},
|
|
36115
|
-
get isGranted() {
|
|
36116
|
-
return this.state === "granted";
|
|
36117
|
-
},
|
|
36118
|
-
get isDenied() {
|
|
36119
|
-
return this.state === "denied";
|
|
36120
|
-
},
|
|
36121
|
-
get isPrompt() {
|
|
36122
|
-
return this.state === "prompt";
|
|
36123
|
-
},
|
|
36124
|
-
get error() {
|
|
36125
|
-
const atom = getOrCreatePermissionAtom(this, name);
|
|
36126
|
-
atom.reportObserved();
|
|
36127
|
-
return atom.meta.error;
|
|
36128
|
-
}
|
|
36129
|
-
};
|
|
36130
|
-
};
|
|
36131
|
-
const permissions = new Proxy(
|
|
36132
|
-
{},
|
|
36133
|
-
{
|
|
36134
|
-
get(target, property2) {
|
|
36135
|
-
if (!target[property2]) {
|
|
36136
|
-
target[property2] = createPermissionInfo(property2);
|
|
36137
|
-
}
|
|
36138
|
-
return target[property2];
|
|
36139
|
-
}
|
|
36140
|
-
}
|
|
36141
|
-
);
|
|
36142
|
-
class BaseGeolocationProvider {
|
|
36143
|
-
constructor(positionOptions) {
|
|
36144
|
-
this.positionOptions = positionOptions;
|
|
36145
|
-
makeObservable(this, {
|
|
36146
|
-
position: observable.deep,
|
|
36147
|
-
error: computed.struct
|
|
36148
|
-
});
|
|
36149
|
-
onBecomeObserved(this, "position", () => {
|
|
36150
|
-
this.activate();
|
|
36151
|
-
});
|
|
36152
|
-
onBecomeUnobserved(this, "position", () => {
|
|
36153
|
-
this.deactivate();
|
|
36154
|
-
});
|
|
36155
|
-
}
|
|
36156
|
-
watchId;
|
|
36157
|
-
position = {
|
|
36158
|
-
coords: {
|
|
36159
|
-
accuracy: 0,
|
|
36160
|
-
altitude: null,
|
|
36161
|
-
altitudeAccuracy: null,
|
|
36162
|
-
heading: null,
|
|
36163
|
-
latitude: 0,
|
|
36164
|
-
longitude: 0,
|
|
36165
|
-
speed: null
|
|
36166
|
-
},
|
|
36167
|
-
timestamp: 0
|
|
36168
|
-
};
|
|
36169
|
-
get error() {
|
|
36170
|
-
return permissions.geolocation.error;
|
|
36171
|
-
}
|
|
36172
|
-
activate() {
|
|
36173
|
-
if (globalThis.navigator && "geolocation" in globalThis.navigator) {
|
|
36174
|
-
globalThis.navigator.geolocation.getCurrentPosition(
|
|
36175
|
-
action((position) => {
|
|
36176
|
-
this.position = position;
|
|
36177
|
-
}),
|
|
36178
|
-
void 0,
|
|
36179
|
-
this.positionOptions
|
|
36180
|
-
);
|
|
36181
|
-
this.watchId = globalThis.navigator.geolocation.watchPosition(
|
|
36182
|
-
action((position) => {
|
|
36183
|
-
this.position = position;
|
|
36184
|
-
}),
|
|
36185
|
-
void 0,
|
|
36186
|
-
this.positionOptions
|
|
36187
|
-
);
|
|
36188
|
-
return true;
|
|
36189
|
-
}
|
|
36190
|
-
return false;
|
|
36191
|
-
}
|
|
36192
|
-
deactivate() {
|
|
36193
|
-
if (this.watchId != null && globalThis.navigator && "geolocation" in globalThis.navigator) {
|
|
36194
|
-
globalThis.navigator.geolocation.clearWatch(this.watchId);
|
|
36195
|
-
}
|
|
36196
|
-
}
|
|
36197
|
-
}
|
|
36198
|
-
makeObservable(
|
|
36199
|
-
{
|
|
36200
|
-
get permission() {
|
|
36201
|
-
return permissions.geolocation;
|
|
36202
|
-
},
|
|
36203
|
-
get position() {
|
|
36204
|
-
if (!this.provider) {
|
|
36205
|
-
this.provider = new BaseGeolocationProvider();
|
|
36206
|
-
}
|
|
36207
|
-
return this.provider.position;
|
|
36208
|
-
}
|
|
36209
|
-
},
|
|
36210
|
-
{
|
|
36211
|
-
position: computed.struct
|
|
36212
|
-
}
|
|
36213
|
-
);
|
|
36214
|
-
const matchMediaTrackerFactory = {
|
|
36215
|
-
_trackers: /* @__PURE__ */ new Map(),
|
|
36216
|
-
create(query) {
|
|
36217
|
-
if (this._trackers.has(query)) {
|
|
36218
|
-
return this._trackers.get(query);
|
|
36219
|
-
}
|
|
36220
|
-
const mediaQueryList = globalThis.matchMedia(query);
|
|
36221
|
-
const tracker = {
|
|
36222
|
-
_atom: createEnhancedAtom(
|
|
36223
|
-
`matchMediaTracker_${query}`,
|
|
36224
|
-
(atom) => {
|
|
36225
|
-
mediaQueryList.addEventListener("change", atom.reportChanged);
|
|
36226
|
-
},
|
|
36227
|
-
(atom) => {
|
|
36228
|
-
mediaQueryList.removeEventListener("change", atom.reportChanged);
|
|
36229
|
-
}
|
|
36230
|
-
),
|
|
36231
|
-
get matches() {
|
|
36232
|
-
this._atom.reportObserved();
|
|
36233
|
-
return mediaQueryList.matches;
|
|
36234
|
-
}
|
|
36235
|
-
};
|
|
36236
|
-
this._trackers.set(query, tracker);
|
|
36237
|
-
return tracker;
|
|
36238
|
-
}
|
|
36239
|
-
};
|
|
36240
|
-
makeObservable(
|
|
36241
|
-
{
|
|
36242
|
-
get sizes() {
|
|
36243
|
-
if (!this._atom) {
|
|
36244
|
-
this._atom = createEnhancedAtom(
|
|
36245
|
-
"mediaQuery_sizes",
|
|
36246
|
-
(atom) => {
|
|
36247
|
-
globalThis.addEventListener?.("resize", atom.reportChanged);
|
|
36248
|
-
},
|
|
36249
|
-
(atom) => {
|
|
36250
|
-
globalThis.removeEventListener?.("resize", atom.reportChanged);
|
|
36251
|
-
}
|
|
36252
|
-
);
|
|
36253
|
-
}
|
|
36254
|
-
this._atom.reportObserved();
|
|
36255
|
-
return {
|
|
36256
|
-
inner: {
|
|
36257
|
-
width: globalThis.innerWidth ?? 0,
|
|
36258
|
-
height: globalThis.innerHeight ?? 0
|
|
36259
|
-
},
|
|
36260
|
-
outer: {
|
|
36261
|
-
width: globalThis.outerWidth ?? 0,
|
|
36262
|
-
height: globalThis.outerHeight ?? 0
|
|
36263
|
-
},
|
|
36264
|
-
client: {
|
|
36265
|
-
width: globalThis.document?.documentElement?.clientWidth ?? 0,
|
|
36266
|
-
height: globalThis.document?.documentElement?.clientHeight ?? 0
|
|
36267
|
-
},
|
|
36268
|
-
offset: {
|
|
36269
|
-
width: globalThis.document?.documentElement?.offsetWidth ?? 0,
|
|
36270
|
-
height: globalThis.document?.documentElement?.offsetHeight ?? 0
|
|
36271
|
-
}
|
|
36272
|
-
};
|
|
36273
|
-
},
|
|
36274
|
-
track(query) {
|
|
36275
|
-
return matchMediaTrackerFactory.create(query);
|
|
36276
|
-
},
|
|
36277
|
-
match(query) {
|
|
36278
|
-
return matchMediaTrackerFactory.create(query).matches;
|
|
36279
|
-
}
|
|
36280
|
-
},
|
|
36281
|
-
{
|
|
36282
|
-
sizes: computed.struct
|
|
36283
|
-
}
|
|
36284
|
-
);
|
|
36285
|
-
const pageVisibility = {
|
|
36286
|
-
get isVisible() {
|
|
36287
|
-
if (!globalThis.document) {
|
|
36288
|
-
return true;
|
|
36289
|
-
}
|
|
36290
|
-
if (!this._atom) {
|
|
36291
|
-
this._atom = createEnhancedAtom(
|
|
36292
|
-
"pageVisibility",
|
|
36293
|
-
(atom) => globalThis.document.addEventListener(
|
|
36294
|
-
"visibilitychange",
|
|
36295
|
-
atom.reportChanged
|
|
36296
|
-
),
|
|
36297
|
-
(atom) => {
|
|
36298
|
-
globalThis.document.removeEventListener(
|
|
36299
|
-
"visibilitychange",
|
|
36300
|
-
atom.reportChanged
|
|
36301
|
-
);
|
|
36302
|
-
}
|
|
36303
|
-
);
|
|
36304
|
-
}
|
|
36305
|
-
this._atom.reportObserved();
|
|
36306
|
-
return globalThis.document.visibilityState === "visible";
|
|
36307
|
-
},
|
|
36308
|
-
get isHidden() {
|
|
36309
|
-
return !this.isVisible;
|
|
36310
|
-
}
|
|
36311
|
-
};
|
|
36312
|
-
const keysMapping = [
|
|
36313
|
-
["current", "language"],
|
|
36314
|
-
["all", "languages"]
|
|
36315
|
-
];
|
|
36316
|
-
makeObservable(
|
|
36317
|
-
keysMapping.reduce(
|
|
36318
|
-
(acc, [mappingKey, navigatorKey]) => {
|
|
36319
|
-
Object.defineProperty(acc, mappingKey, {
|
|
36320
|
-
get() {
|
|
36321
|
-
if (!acc._atom) {
|
|
36322
|
-
acc._atom = createEnhancedAtom(
|
|
36323
|
-
"languages",
|
|
36324
|
-
(atom) => {
|
|
36325
|
-
globalThis.addEventListener(
|
|
36326
|
-
"languagechange",
|
|
36327
|
-
atom.reportChanged
|
|
36328
|
-
);
|
|
36329
|
-
},
|
|
36330
|
-
(atom) => {
|
|
36331
|
-
globalThis.removeEventListener(
|
|
36332
|
-
"languagechange",
|
|
36333
|
-
atom.reportChanged
|
|
36334
|
-
);
|
|
36335
|
-
},
|
|
36336
|
-
{
|
|
36337
|
-
headerLanguage: computed(
|
|
36338
|
-
() => {
|
|
36339
|
-
if (!acc.acceptLanguageHeader) {
|
|
36340
|
-
return null;
|
|
36341
|
-
}
|
|
36342
|
-
const languages = acc.acceptLanguageHeader.split(",").map((lang) => lang.split(";")[0]?.trim()).filter((lang) => lang && lang !== "*");
|
|
36343
|
-
if (!languages.length) {
|
|
36344
|
-
return null;
|
|
36345
|
-
}
|
|
36346
|
-
return {
|
|
36347
|
-
language: languages[0],
|
|
36348
|
-
languages
|
|
36349
|
-
};
|
|
36350
|
-
}
|
|
36351
|
-
)
|
|
36352
|
-
}
|
|
36353
|
-
);
|
|
36354
|
-
}
|
|
36355
|
-
acc._atom.reportObserved();
|
|
36356
|
-
const headerLanguage = acc._atom.meta.headerLanguage.get();
|
|
36357
|
-
const language = headerLanguage ?? globalThis.navigator;
|
|
36358
|
-
return language[navigatorKey];
|
|
36359
|
-
}
|
|
36360
|
-
});
|
|
36361
|
-
return acc;
|
|
36362
|
-
},
|
|
36363
|
-
{
|
|
36364
|
-
acceptLanguageHeader: void 0
|
|
36365
|
-
}
|
|
36366
|
-
),
|
|
36367
|
-
{
|
|
36368
|
-
acceptLanguageHeader: observable.ref
|
|
36369
|
-
}
|
|
36370
|
-
);
|
|
36371
|
-
const screenOrientationKeys = [
|
|
36372
|
-
"angle",
|
|
36373
|
-
"type"
|
|
36374
|
-
];
|
|
36375
|
-
const screenOrientationInfo = screenOrientationKeys.reduce((acc, key) => {
|
|
36376
|
-
Object.defineProperty(acc, key, {
|
|
36377
|
-
get() {
|
|
36378
|
-
if (!acc._atom) {
|
|
36379
|
-
acc._atom = createEnhancedAtom(
|
|
36380
|
-
"screen-orientation-info-atom",
|
|
36381
|
-
(atom) => {
|
|
36382
|
-
globalThis.screen.orientation.addEventListener(
|
|
36383
|
-
"change",
|
|
36384
|
-
atom.reportChanged
|
|
36385
|
-
);
|
|
36386
|
-
},
|
|
36387
|
-
(atom) => {
|
|
36388
|
-
globalThis.screen.orientation.removeEventListener(
|
|
36389
|
-
"change",
|
|
36390
|
-
atom.reportChanged
|
|
36391
|
-
);
|
|
36392
|
-
}
|
|
36393
|
-
);
|
|
36394
|
-
}
|
|
36395
|
-
acc._atom.reportObserved();
|
|
36396
|
-
return globalThis.screen.orientation[key];
|
|
36397
|
-
}
|
|
36398
|
-
});
|
|
36399
|
-
return acc;
|
|
36400
|
-
}, {});
|
|
36401
|
-
const screenKeys = [
|
|
36402
|
-
"availWidth",
|
|
36403
|
-
"availHeight",
|
|
36404
|
-
"colorDepth",
|
|
36405
|
-
"height",
|
|
36406
|
-
"pixelDepth",
|
|
36407
|
-
"width",
|
|
36408
|
-
"orientation"
|
|
36409
|
-
];
|
|
36410
|
-
screenKeys.reduce((acc, screenKey) => {
|
|
36411
|
-
Object.defineProperty(acc, screenKey, {
|
|
36412
|
-
get() {
|
|
36413
|
-
if (!acc._atom) {
|
|
36414
|
-
acc._atom = createEnhancedAtom(
|
|
36415
|
-
"screen-change-atom",
|
|
36416
|
-
(atom) => {
|
|
36417
|
-
globalThis.screen.addEventListener?.("change", atom.reportChanged);
|
|
36418
|
-
},
|
|
36419
|
-
(atom) => {
|
|
36420
|
-
globalThis.screen.removeEventListener?.(
|
|
36421
|
-
"change",
|
|
36422
|
-
atom.reportChanged
|
|
36423
|
-
);
|
|
36424
|
-
}
|
|
36425
|
-
);
|
|
36426
|
-
}
|
|
36427
|
-
acc._atom.reportObserved();
|
|
36428
|
-
if (screenKey === "orientation") {
|
|
36429
|
-
return screenOrientationInfo;
|
|
36430
|
-
}
|
|
36431
|
-
return globalThis.screen[screenKey];
|
|
36432
|
-
}
|
|
36433
|
-
});
|
|
36434
|
-
return acc;
|
|
36435
|
-
}, {});
|
|
36436
|
-
const getViewport = () => globalThis.visualViewport;
|
|
36437
|
-
const viewportInfoKeys = [
|
|
36438
|
-
"width",
|
|
36439
|
-
"height",
|
|
36440
|
-
"offsetLeft",
|
|
36441
|
-
"offsetTop",
|
|
36442
|
-
"pageLeft",
|
|
36443
|
-
"pageTop",
|
|
36444
|
-
"scale"
|
|
36445
|
-
];
|
|
36446
|
-
viewportInfoKeys.reduce(
|
|
36447
|
-
(acc, viewportKey) => {
|
|
36448
|
-
Object.defineProperty(acc, viewportKey, {
|
|
36449
|
-
get() {
|
|
36450
|
-
const viewport = getViewport();
|
|
36451
|
-
if (!viewport) {
|
|
36452
|
-
if (viewportKey === "width") {
|
|
36453
|
-
return globalThis.innerWidth ?? 0;
|
|
36454
|
-
}
|
|
36455
|
-
if (viewportKey === "height") {
|
|
36456
|
-
return globalThis.innerHeight ?? 0;
|
|
36457
|
-
}
|
|
36458
|
-
if (viewportKey === "scale") {
|
|
36459
|
-
return 1;
|
|
36460
|
-
}
|
|
36461
|
-
return 0;
|
|
36462
|
-
}
|
|
36463
|
-
if (!acc._atom) {
|
|
36464
|
-
acc._atom = createEnhancedAtom(
|
|
36465
|
-
"viewportInfo",
|
|
36466
|
-
(atom) => {
|
|
36467
|
-
viewport.addEventListener("resize", atom.reportChanged);
|
|
36468
|
-
viewport.addEventListener("scroll", atom.reportChanged);
|
|
36469
|
-
},
|
|
36470
|
-
(atom) => {
|
|
36471
|
-
viewport.removeEventListener("resize", atom.reportChanged);
|
|
36472
|
-
viewport.removeEventListener("scroll", atom.reportChanged);
|
|
36473
|
-
}
|
|
36474
|
-
);
|
|
36475
|
-
}
|
|
36476
|
-
acc._atom.reportObserved();
|
|
36477
|
-
return viewport[viewportKey];
|
|
36478
|
-
}
|
|
36479
|
-
});
|
|
36480
|
-
return acc;
|
|
36481
|
-
},
|
|
36482
|
-
{
|
|
36483
|
-
get isSupported() {
|
|
36484
|
-
return Boolean(getViewport());
|
|
36485
|
-
},
|
|
36486
|
-
get isKeyboardLikeOverlay() {
|
|
36487
|
-
const viewportHeight = getViewport()?.height ?? globalThis.innerHeight ?? 0;
|
|
36488
|
-
const layoutHeight = globalThis.innerHeight ?? viewportHeight;
|
|
36489
|
-
return layoutHeight - viewportHeight > 120;
|
|
36490
|
-
}
|
|
36491
|
-
}
|
|
36492
|
-
);
|
|
36493
36679
|
const vmPopup = "vmPopup_0hkGL";
|
|
36494
36680
|
const dragging$1 = "dragging_bOvPC";
|
|
36495
36681
|
const closePopupButton = "closePopupButton_igv9j";
|
|
36496
|
-
const css$
|
|
36682
|
+
const css$7 = {
|
|
36497
36683
|
vmPopup,
|
|
36498
36684
|
dragging: dragging$1,
|
|
36499
36685
|
closePopupButton
|
|
@@ -36528,7 +36714,7 @@ class VmDevtoolsPopupVM extends ViewModelImpl {
|
|
|
36528
36714
|
const rect = node.getBoundingClientRect();
|
|
36529
36715
|
this.dragState.offsetX = rect.left - e.clientX;
|
|
36530
36716
|
this.dragState.startX = rect.left;
|
|
36531
|
-
node.classList.add(css$
|
|
36717
|
+
node.classList.add(css$7.dragging);
|
|
36532
36718
|
},
|
|
36533
36719
|
{ signal: this.unmountSignal }
|
|
36534
36720
|
);
|
|
@@ -36543,7 +36729,7 @@ class VmDevtoolsPopupVM extends ViewModelImpl {
|
|
|
36543
36729
|
};
|
|
36544
36730
|
const handleStopDragging = () => {
|
|
36545
36731
|
this.dragState.isDragging = false;
|
|
36546
|
-
node.classList.remove(css$
|
|
36732
|
+
node.classList.remove(css$7.dragging);
|
|
36547
36733
|
this.dragState.hasMoved = false;
|
|
36548
36734
|
};
|
|
36549
36735
|
reaction(
|
|
@@ -36608,7 +36794,7 @@ const opened = "opened_NYAFW";
|
|
|
36608
36794
|
const isConnected = "isConnected_eObxX";
|
|
36609
36795
|
const vmsCount = "vmsCount_HhX1W";
|
|
36610
36796
|
const keyboardHint = "keyboardHint_v8eo0";
|
|
36611
|
-
const css$
|
|
36797
|
+
const css$6 = {
|
|
36612
36798
|
vmButton,
|
|
36613
36799
|
dragging,
|
|
36614
36800
|
opened,
|
|
@@ -36649,7 +36835,7 @@ class VmDevtoolsButtonVM extends ViewModelBase {
|
|
|
36649
36835
|
dragState.offsetY = rect.top - e.clientY;
|
|
36650
36836
|
dragState.startX = rect.left;
|
|
36651
36837
|
dragState.startY = rect.top;
|
|
36652
|
-
node.classList.add(css$
|
|
36838
|
+
node.classList.add(css$6.dragging);
|
|
36653
36839
|
},
|
|
36654
36840
|
{ signal: this.unmountSignal }
|
|
36655
36841
|
);
|
|
@@ -36668,7 +36854,7 @@ class VmDevtoolsButtonVM extends ViewModelBase {
|
|
|
36668
36854
|
};
|
|
36669
36855
|
const handleStopDragging = () => {
|
|
36670
36856
|
dragState.isDragging = false;
|
|
36671
|
-
node.classList.remove(css$
|
|
36857
|
+
node.classList.remove(css$6.dragging);
|
|
36672
36858
|
this.storage.set({ key: "left", value: node.style.left });
|
|
36673
36859
|
this.storage.set({ key: "top", value: node.style.top });
|
|
36674
36860
|
if (this.position !== this.devtools.position) {
|
|
@@ -36751,10 +36937,10 @@ const VmDevtoolsButton = withViewModel(
|
|
|
36751
36937
|
"button",
|
|
36752
36938
|
{
|
|
36753
36939
|
className: cx(
|
|
36754
|
-
css$
|
|
36940
|
+
css$6.vmButton,
|
|
36755
36941
|
{
|
|
36756
|
-
[css$
|
|
36757
|
-
[css$
|
|
36942
|
+
[css$6.opened]: model.devtools.isPopupOpened,
|
|
36943
|
+
[css$6.isConnected]: model.devtools.isActive
|
|
36758
36944
|
},
|
|
36759
36945
|
model.devtools.config.buttonClassName
|
|
36760
36946
|
),
|
|
@@ -36771,12 +36957,12 @@ const VmDevtoolsButton = withViewModel(
|
|
|
36771
36957
|
lineNumber: 23,
|
|
36772
36958
|
columnNumber: 9
|
|
36773
36959
|
}, void 0),
|
|
36774
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
36960
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$6.vmsCount, children: model.devtools.allVms.length }, void 0, false, {
|
|
36775
36961
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",
|
|
36776
36962
|
lineNumber: 24,
|
|
36777
36963
|
columnNumber: 9
|
|
36778
36964
|
}, void 0),
|
|
36779
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
36965
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$6.keyboardHint, children: `Ctrl+F12` }, void 0, false, {
|
|
36780
36966
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",
|
|
36781
36967
|
lineNumber: 25,
|
|
36782
36968
|
columnNumber: 9
|
|
@@ -36829,6 +37015,11 @@ const Copy = (props) => reactExports.createElement(
|
|
|
36829
37015
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
36830
37016
|
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" })
|
|
36831
37017
|
);
|
|
37018
|
+
const Display = (props) => reactExports.createElement(
|
|
37019
|
+
"svg",
|
|
37020
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
37021
|
+
reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12 3H4a1.5 1.5 0 0 0-1.5 1.5v4A1.5 1.5 0 0 0 4 10h8a1.5 1.5 0 0 0 1.5-1.5v-4A1.5 1.5 0 0 0 12 3M4 1.5a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h3.25V13h-2.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-2.5v-1.5H12a3 3 0 0 0 3-3v-4a3 3 0 0 0-3-3z", clipRule: "evenodd" })
|
|
37022
|
+
);
|
|
36832
37023
|
const FileArrowRightOut = (props) => reactExports.createElement(
|
|
36833
37024
|
"svg",
|
|
36834
37025
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
@@ -36839,6 +37030,11 @@ const FolderTree = (props) => reactExports.createElement(
|
|
|
36839
37030
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
36840
37031
|
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" })
|
|
36841
37032
|
);
|
|
37033
|
+
const Gear = (props) => reactExports.createElement(
|
|
37034
|
+
"svg",
|
|
37035
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
37036
|
+
reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0", clipRule: "evenodd" })
|
|
37037
|
+
);
|
|
36842
37038
|
const ListUl = (props) => reactExports.createElement(
|
|
36843
37039
|
"svg",
|
|
36844
37040
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
@@ -36849,6 +37045,11 @@ const Magnifier = (props) => reactExports.createElement(
|
|
|
36849
37045
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
36850
37046
|
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" })
|
|
36851
37047
|
);
|
|
37048
|
+
const Moon = (props) => reactExports.createElement(
|
|
37049
|
+
"svg",
|
|
37050
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
37051
|
+
reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8 13.5a5.5 5.5 0 0 0 2.263-10.514 5.5 5.5 0 0 1-7.278 7.278A5.5 5.5 0 0 0 8 13.5M1.045 8.795a7.001 7.001 0 1 0 7.75-7.75l-.028-.003A7 7 0 0 0 8 1c-.527 0-.59.842-.185 1.18a4 4 0 0 1 .342.322A4 4 0 1 1 2.18 7.814C1.842 7.41 1 7.474 1 8a7 7 0 0 0 .045.794", clipRule: "evenodd" })
|
|
37052
|
+
);
|
|
36852
37053
|
const Pencil = (props) => reactExports.createElement(
|
|
36853
37054
|
"svg",
|
|
36854
37055
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
@@ -36859,6 +37060,11 @@ const Play = (props) => reactExports.createElement(
|
|
|
36859
37060
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
36860
37061
|
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" })
|
|
36861
37062
|
);
|
|
37063
|
+
const Sun = (props) => reactExports.createElement(
|
|
37064
|
+
"svg",
|
|
37065
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
37066
|
+
reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8 3a.75.75 0 0 1-.75-.75V.75a.75.75 0 0 1 1.5 0v1.5A.75.75 0 0 1 8 3m0 7.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8m-.75 3.25a.75.75 0 0 0 1.5 0v-1.5a.75.75 0 0 0-1.5 0zM13 8a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 13 8M.75 7.25a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5zm10.786-2.786a.75.75 0 0 1 0-1.06l1.06-1.06a.75.75 0 0 1 1.06 1.06l-1.06 1.06a.75.75 0 0 1-1.06 0m-9.193 8.132a.75.75 0 0 0 1.06 1.06l1.062-1.06a.75.75 0 0 0-1.061-1.06zm9.193-1.06a.75.75 0 0 1 1.06 0l1.06 1.06a.75.75 0 0 1-1.06 1.06l-1.06-1.06a.75.75 0 0 1 0-1.06M3.404 2.343a.75.75 0 0 0-1.06 1.06l1.06 1.061a.75.75 0 1 0 1.06-1.06z", clipRule: "evenodd" })
|
|
37067
|
+
);
|
|
36862
37068
|
const Xmark = (props) => reactExports.createElement(
|
|
36863
37069
|
"svg",
|
|
36864
37070
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
|
|
@@ -36868,7 +37074,7 @@ const iconToggleButton = "iconToggleButton_R48wm";
|
|
|
36868
37074
|
const activePosition = "activePosition_IXsRn";
|
|
36869
37075
|
const option = "option_a5IcR";
|
|
36870
37076
|
const active = "active_6QS-2";
|
|
36871
|
-
const css$
|
|
37077
|
+
const css$5 = {
|
|
36872
37078
|
iconToggleButton,
|
|
36873
37079
|
activePosition,
|
|
36874
37080
|
option,
|
|
@@ -36892,8 +37098,8 @@ const IconToggleButton = ({
|
|
|
36892
37098
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
36893
37099
|
"div",
|
|
36894
37100
|
{
|
|
36895
|
-
className: cx(css$
|
|
36896
|
-
[css$
|
|
37101
|
+
className: cx(css$5.option, {
|
|
37102
|
+
[css$5.active]: isActive
|
|
36897
37103
|
}),
|
|
36898
37104
|
onClick: (e) => {
|
|
36899
37105
|
e.preventDefault();
|
|
@@ -36917,11 +37123,11 @@ const IconToggleButton = ({
|
|
|
36917
37123
|
)
|
|
36918
37124
|
);
|
|
36919
37125
|
});
|
|
36920
|
-
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("button", { className: cx(css$
|
|
37126
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("button", { className: cx(css$5.iconToggleButton, className), children: [
|
|
36921
37127
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
36922
37128
|
"div",
|
|
36923
37129
|
{
|
|
36924
|
-
className: css$
|
|
37130
|
+
className: css$5.activePosition,
|
|
36925
37131
|
style: { "--index": activeIndex }
|
|
36926
37132
|
},
|
|
36927
37133
|
void 0,
|
|
@@ -38158,6 +38364,25 @@ class MetaListItem extends ListItem {
|
|
|
38158
38364
|
return this._depth;
|
|
38159
38365
|
}
|
|
38160
38366
|
}
|
|
38367
|
+
class ViewModelBaseKeysProbe extends ViewModelBase {
|
|
38368
|
+
constructor() {
|
|
38369
|
+
super({
|
|
38370
|
+
id: "__mobx-view-model-devtools-probe__",
|
|
38371
|
+
payload: {},
|
|
38372
|
+
viewModels: {
|
|
38373
|
+
get: () => null,
|
|
38374
|
+
has: () => false
|
|
38375
|
+
}
|
|
38376
|
+
});
|
|
38377
|
+
}
|
|
38378
|
+
}
|
|
38379
|
+
let viewModelBaseKeys = null;
|
|
38380
|
+
const getViewModelBaseKeys = () => {
|
|
38381
|
+
if (!viewModelBaseKeys) {
|
|
38382
|
+
viewModelBaseKeys = new Set(getAllKeys(new ViewModelBaseKeysProbe()));
|
|
38383
|
+
}
|
|
38384
|
+
return viewModelBaseKeys;
|
|
38385
|
+
};
|
|
38161
38386
|
class VMListItem extends ListItem {
|
|
38162
38387
|
constructor(devtools, vm, allVms, parent) {
|
|
38163
38388
|
const displayName = vm.constructor.name;
|
|
@@ -38189,6 +38414,10 @@ class VMListItem extends ListItem {
|
|
|
38189
38414
|
get propertyListItems() {
|
|
38190
38415
|
this.dataWatchAtom.reportObserved();
|
|
38191
38416
|
let keys = getAllKeys(this.data);
|
|
38417
|
+
if (this.devtools.hideViewModelBaseMembers) {
|
|
38418
|
+
const baseKeys = getViewModelBaseKeys();
|
|
38419
|
+
keys = keys.filter((key) => !baseKeys.has(key));
|
|
38420
|
+
}
|
|
38192
38421
|
if (this.devtools.sortPropertiesBy !== "none") {
|
|
38193
38422
|
keys = keys.sort((a, b) => {
|
|
38194
38423
|
if (this.devtools.sortPropertiesBy === "asc") {
|
|
@@ -38605,7 +38834,7 @@ const treeItemMetaText = "treeItemMetaText_cmfX0";
|
|
|
38605
38834
|
const treeItem = "treeItem_sRXPA";
|
|
38606
38835
|
const vmTreeItem = "vmTreeItem_t-7jc";
|
|
38607
38836
|
const extraTreeItem = "extraTreeItem_z3KA1";
|
|
38608
|
-
const css$
|
|
38837
|
+
const css$4 = {
|
|
38609
38838
|
root,
|
|
38610
38839
|
treeItemHeader,
|
|
38611
38840
|
treeItemLabel,
|
|
@@ -38641,7 +38870,7 @@ const selected = "selected_OPRUb";
|
|
|
38641
38870
|
const inputWithSuggestion = "inputWithSuggestion_C9PIe";
|
|
38642
38871
|
const filled = "filled_6JZa0";
|
|
38643
38872
|
const gradientBlur = "gradientBlur_-y-re";
|
|
38644
|
-
const css$
|
|
38873
|
+
const css$3 = {
|
|
38645
38874
|
expandButton,
|
|
38646
38875
|
expanded,
|
|
38647
38876
|
disabled,
|
|
@@ -38681,10 +38910,10 @@ const ExpandButton = ({
|
|
|
38681
38910
|
"span",
|
|
38682
38911
|
{
|
|
38683
38912
|
onClick,
|
|
38684
|
-
className: cx(css$
|
|
38685
|
-
[css$
|
|
38686
|
-
[css$
|
|
38687
|
-
[css$
|
|
38913
|
+
className: cx(css$3.expandButton, {
|
|
38914
|
+
[css$3.expandable]: expandable2,
|
|
38915
|
+
[css$3.expanded]: expanded2,
|
|
38916
|
+
[css$3.disabled]: disabled2
|
|
38688
38917
|
}),
|
|
38689
38918
|
children: (expandable2 || showIconAnyway) && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ChevronRight, {}, void 0, false, {
|
|
38690
38919
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/expand-button.tsx",
|
|
@@ -38707,14 +38936,14 @@ const ExtraListItemRender = observer(
|
|
|
38707
38936
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
38708
38937
|
"div",
|
|
38709
38938
|
{
|
|
38710
|
-
className: cx(css$
|
|
38939
|
+
className: cx(css$4.treeItem, css$4.extraTreeItem),
|
|
38711
38940
|
"data-fitted": item.devtools.searchEngine.isItemFitted(item),
|
|
38712
38941
|
"data-depth": item.depthLine,
|
|
38713
38942
|
style: { "--level": item.depth },
|
|
38714
38943
|
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
38715
38944
|
"header",
|
|
38716
38945
|
{
|
|
38717
|
-
className: css$
|
|
38946
|
+
className: css$4.treeItemHeader,
|
|
38718
38947
|
onClick: () => item.toggleExpand(),
|
|
38719
38948
|
children: [
|
|
38720
38949
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
@@ -38733,7 +38962,7 @@ const ExtraListItemRender = observer(
|
|
|
38733
38962
|
},
|
|
38734
38963
|
void 0
|
|
38735
38964
|
),
|
|
38736
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { className: css$
|
|
38965
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { className: css$4.treeItemLabel, title: item.displayName, children: item.displayName }, void 0, false, {
|
|
38737
38966
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",
|
|
38738
38967
|
lineNumber: 26,
|
|
38739
38968
|
columnNumber: 11
|
|
@@ -38777,7 +39006,7 @@ const propertyName = "propertyName_KicXG";
|
|
|
38777
39006
|
const propertyMeta = "propertyMeta_Ia9ce";
|
|
38778
39007
|
const propertyValue = "propertyValue_fYO2g";
|
|
38779
39008
|
const editContent = "editContent_WSktI";
|
|
38780
|
-
const css$
|
|
39009
|
+
const css$2 = {
|
|
38781
39010
|
property,
|
|
38782
39011
|
isEditMode,
|
|
38783
39012
|
expandable,
|
|
@@ -38802,7 +39031,7 @@ const MetaListItemRender = observer(
|
|
|
38802
39031
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
38803
39032
|
"div",
|
|
38804
39033
|
{
|
|
38805
|
-
className: cx(css$
|
|
39034
|
+
className: cx(css$2.property, css$2.primitive),
|
|
38806
39035
|
style: { "--level": item.depth },
|
|
38807
39036
|
"data-fitted": item.devtools.searchEngine.isItemFitted(item),
|
|
38808
39037
|
"data-depth": item.depthLine,
|
|
@@ -38870,7 +39099,7 @@ const ArrayPropertyContent = observer(
|
|
|
38870
39099
|
({ item }) => {
|
|
38871
39100
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
38872
39101
|
item.property === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
38873
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
39102
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyName, children: item.property }, void 0, false, {
|
|
38874
39103
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",
|
|
38875
39104
|
lineNumber: 11,
|
|
38876
39105
|
columnNumber: 13
|
|
@@ -38881,7 +39110,7 @@ const ArrayPropertyContent = observer(
|
|
|
38881
39110
|
lineNumber: 10,
|
|
38882
39111
|
columnNumber: 11
|
|
38883
39112
|
}, void 0),
|
|
38884
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
39113
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyValue, children: item.isExpanded ? "[" : item.isExpandable ? "[...]" : `[]` }, void 0, false, {
|
|
38885
39114
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",
|
|
38886
39115
|
lineNumber: 15,
|
|
38887
39116
|
columnNumber: 9
|
|
@@ -39907,7 +40136,7 @@ const FunctionPropertyContent = observer(
|
|
|
39907
40136
|
(_14, i) => `arg${i + 1}`
|
|
39908
40137
|
);
|
|
39909
40138
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
39910
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40139
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyName, children: item.property }, void 0, false, {
|
|
39911
40140
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/function.tsx",
|
|
39912
40141
|
lineNumber: 15,
|
|
39913
40142
|
columnNumber: 9
|
|
@@ -39918,7 +40147,7 @@ const FunctionPropertyContent = observer(
|
|
|
39918
40147
|
"input",
|
|
39919
40148
|
{
|
|
39920
40149
|
value: item.editContent,
|
|
39921
|
-
className: css$
|
|
40150
|
+
className: css$2.editContent,
|
|
39922
40151
|
onChange: item.handleChangeEditContent,
|
|
39923
40152
|
onClick: skipEvent,
|
|
39924
40153
|
"data-ignore-global-keys": true
|
|
@@ -39950,7 +40179,7 @@ const InstancePropertyContent = observer(
|
|
|
39950
40179
|
const valueLabel = item.isInaccessibleDisplay ? item.inaccessibleDisplayLabel : item.instanceClassName;
|
|
39951
40180
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
39952
40181
|
item.property === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
39953
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40182
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyName, children: item.property }, void 0, false, {
|
|
39954
40183
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",
|
|
39955
40184
|
lineNumber: 15,
|
|
39956
40185
|
columnNumber: 13
|
|
@@ -39961,7 +40190,7 @@ const InstancePropertyContent = observer(
|
|
|
39961
40190
|
lineNumber: 14,
|
|
39962
40191
|
columnNumber: 11
|
|
39963
40192
|
}, void 0),
|
|
39964
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40193
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyValue, children: valueLabel }, void 0, false, {
|
|
39965
40194
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",
|
|
39966
40195
|
lineNumber: 19,
|
|
39967
40196
|
columnNumber: 9
|
|
@@ -39985,7 +40214,7 @@ const ObjectPropertyContent = observer(
|
|
|
39985
40214
|
({ item }) => {
|
|
39986
40215
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
39987
40216
|
item.property === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
39988
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40217
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyName, children: item.property }, void 0, false, {
|
|
39989
40218
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",
|
|
39990
40219
|
lineNumber: 11,
|
|
39991
40220
|
columnNumber: 13
|
|
@@ -39996,7 +40225,7 @@ const ObjectPropertyContent = observer(
|
|
|
39996
40225
|
lineNumber: 10,
|
|
39997
40226
|
columnNumber: 11
|
|
39998
40227
|
}, void 0),
|
|
39999
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40228
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyValue, children: item.isExpanded ? "{" : item.isExpandable ? "{...}" : `{}` }, void 0, false, {
|
|
40000
40229
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",
|
|
40001
40230
|
lineNumber: 15,
|
|
40002
40231
|
columnNumber: 9
|
|
@@ -40012,7 +40241,7 @@ const PrimitivePropertyContent = observer(
|
|
|
40012
40241
|
({ item }) => {
|
|
40013
40242
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
40014
40243
|
item.property === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
40015
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40244
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyName, children: item.property }, void 0, false, {
|
|
40016
40245
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",
|
|
40017
40246
|
lineNumber: 11,
|
|
40018
40247
|
columnNumber: 13
|
|
@@ -40023,7 +40252,7 @@ const PrimitivePropertyContent = observer(
|
|
|
40023
40252
|
lineNumber: 10,
|
|
40024
40253
|
columnNumber: 11
|
|
40025
40254
|
}, void 0),
|
|
40026
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40255
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$2.propertyValue, children: item.isInaccessibleDisplay ? item.inaccessibleDisplayLabel : item.stringifiedData }, void 0, false, {
|
|
40027
40256
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",
|
|
40028
40257
|
lineNumber: 15,
|
|
40029
40258
|
columnNumber: 9
|
|
@@ -40084,12 +40313,12 @@ const PropertyListItemRender = observer(
|
|
|
40084
40313
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40085
40314
|
"div",
|
|
40086
40315
|
{
|
|
40087
|
-
className: cx(css$
|
|
40088
|
-
[css$
|
|
40089
|
-
[css$
|
|
40090
|
-
[css$
|
|
40091
|
-
[css$
|
|
40092
|
-
[css$
|
|
40316
|
+
className: cx(css$2.property, css$2[item.type], css$2[item.dataType], {
|
|
40317
|
+
[css$2.inaccessible]: item.isInaccessibleDisplay,
|
|
40318
|
+
[css$2.null]: item.data === null,
|
|
40319
|
+
[css$2.expandable]: item.isExpandable,
|
|
40320
|
+
[css$2.expanded]: item.isExpanded,
|
|
40321
|
+
[css$2.isEditMode]: item.isEditMode
|
|
40093
40322
|
}),
|
|
40094
40323
|
style: { "--level": item.depth, "--order": item.order },
|
|
40095
40324
|
"data-fitted": item.devtools.searchEngine.isItemFitted(item),
|
|
@@ -40126,7 +40355,7 @@ const VmListItemRender = observer(({ item }) => {
|
|
|
40126
40355
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40127
40356
|
"div",
|
|
40128
40357
|
{
|
|
40129
|
-
className: cx(css$
|
|
40358
|
+
className: cx(css$4.treeItem, css$4.vmTreeItem),
|
|
40130
40359
|
"data-fitted": item.devtools.searchEngine.isItemFitted(item),
|
|
40131
40360
|
"data-depth": item.depthLine,
|
|
40132
40361
|
style: { "--level": item.depth },
|
|
@@ -40134,7 +40363,7 @@ const VmListItemRender = observer(({ item }) => {
|
|
|
40134
40363
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40135
40364
|
"header",
|
|
40136
40365
|
{
|
|
40137
|
-
className: css$
|
|
40366
|
+
className: css$4.treeItemHeader,
|
|
40138
40367
|
onClick: () => item.devtools.handleVmItemHeaderClick(item),
|
|
40139
40368
|
children: [
|
|
40140
40369
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
@@ -40153,12 +40382,12 @@ const VmListItemRender = observer(({ item }) => {
|
|
|
40153
40382
|
},
|
|
40154
40383
|
void 0
|
|
40155
40384
|
),
|
|
40156
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { className: css$
|
|
40385
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { className: css$4.treeItemLabel, title: item.displayName, children: item.displayName }, void 0, false, {
|
|
40157
40386
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",
|
|
40158
40387
|
lineNumber: 26,
|
|
40159
40388
|
columnNumber: 9
|
|
40160
40389
|
}, void 0),
|
|
40161
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40390
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$4.treeItemMetaText, title: item.data.id, children: item.data.id }, void 0, false, {
|
|
40162
40391
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",
|
|
40163
40392
|
lineNumber: 29,
|
|
40164
40393
|
columnNumber: 9
|
|
@@ -40340,7 +40569,7 @@ class NotificationsVM extends ViewModelBase {
|
|
|
40340
40569
|
}
|
|
40341
40570
|
const notifications = "notifications_50ZEK";
|
|
40342
40571
|
const notification = "notification_Yxzo-";
|
|
40343
|
-
const css = {
|
|
40572
|
+
const css$1 = {
|
|
40344
40573
|
notifications,
|
|
40345
40574
|
notification
|
|
40346
40575
|
};
|
|
@@ -40348,7 +40577,7 @@ const Notifications = withViewModel(NotificationsVM, ({ model }) => {
|
|
|
40348
40577
|
if (!model.items.size) {
|
|
40349
40578
|
return null;
|
|
40350
40579
|
}
|
|
40351
|
-
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.notifications, children: [...model.items.values()].map((item) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.notification, children: item.title }, item.id, false, {
|
|
40580
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$1.notifications, children: [...model.items.values()].map((item) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$1.notification, children: item.title }, item.id, false, {
|
|
40352
40581
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/notifications/index.tsx",
|
|
40353
40582
|
lineNumber: 13,
|
|
40354
40583
|
columnNumber: 9
|
|
@@ -40358,6 +40587,171 @@ const Notifications = withViewModel(NotificationsVM, ({ model }) => {
|
|
|
40358
40587
|
columnNumber: 5
|
|
40359
40588
|
}, void 0);
|
|
40360
40589
|
});
|
|
40590
|
+
const settingsWrap = "settingsWrap_RHRxC";
|
|
40591
|
+
const settingsButton = "settingsButton_XaX-1";
|
|
40592
|
+
const settingsBackdrop = "settingsBackdrop_1M2Ag";
|
|
40593
|
+
const settingsPopup = "settingsPopup_NfbbB";
|
|
40594
|
+
const settingRow = "settingRow_QmBse";
|
|
40595
|
+
const settingCheckbox = "settingCheckbox_fiE-K";
|
|
40596
|
+
const settingLabel = "settingLabel_zlHbk";
|
|
40597
|
+
const css = {
|
|
40598
|
+
settingsWrap,
|
|
40599
|
+
settingsButton,
|
|
40600
|
+
settingsBackdrop,
|
|
40601
|
+
settingsPopup,
|
|
40602
|
+
settingRow,
|
|
40603
|
+
settingCheckbox,
|
|
40604
|
+
settingLabel
|
|
40605
|
+
};
|
|
40606
|
+
const SettingsButton = observer(
|
|
40607
|
+
({ devtools }) => {
|
|
40608
|
+
const [isOpen, setIsOpen] = reactExports.useState(false);
|
|
40609
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.settingsWrap, children: [
|
|
40610
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40611
|
+
"button",
|
|
40612
|
+
{
|
|
40613
|
+
type: "button",
|
|
40614
|
+
className: css.settingsButton,
|
|
40615
|
+
"aria-label": "Settings",
|
|
40616
|
+
"aria-expanded": isOpen,
|
|
40617
|
+
onClick: (event) => {
|
|
40618
|
+
event.stopPropagation();
|
|
40619
|
+
event.preventDefault();
|
|
40620
|
+
setIsOpen((open) => !open);
|
|
40621
|
+
},
|
|
40622
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Gear, {}, void 0, false, {
|
|
40623
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40624
|
+
lineNumber: 25,
|
|
40625
|
+
columnNumber: 11
|
|
40626
|
+
}, void 0)
|
|
40627
|
+
},
|
|
40628
|
+
void 0,
|
|
40629
|
+
false,
|
|
40630
|
+
{
|
|
40631
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40632
|
+
lineNumber: 14,
|
|
40633
|
+
columnNumber: 9
|
|
40634
|
+
},
|
|
40635
|
+
void 0
|
|
40636
|
+
),
|
|
40637
|
+
isOpen && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
40638
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40639
|
+
"div",
|
|
40640
|
+
{
|
|
40641
|
+
className: css.settingsBackdrop,
|
|
40642
|
+
onClick: () => setIsOpen(false)
|
|
40643
|
+
},
|
|
40644
|
+
void 0,
|
|
40645
|
+
false,
|
|
40646
|
+
{
|
|
40647
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40648
|
+
lineNumber: 29,
|
|
40649
|
+
columnNumber: 13
|
|
40650
|
+
},
|
|
40651
|
+
void 0
|
|
40652
|
+
),
|
|
40653
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40654
|
+
"div",
|
|
40655
|
+
{
|
|
40656
|
+
className: css.settingsPopup,
|
|
40657
|
+
role: "dialog",
|
|
40658
|
+
"aria-label": "Settings",
|
|
40659
|
+
onClick: (event) => event.stopPropagation(),
|
|
40660
|
+
children: [
|
|
40661
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.settingRow, children: [
|
|
40662
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.settingLabel, children: "Theme" }, void 0, false, {
|
|
40663
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40664
|
+
lineNumber: 40,
|
|
40665
|
+
columnNumber: 17
|
|
40666
|
+
}, void 0),
|
|
40667
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40668
|
+
IconToggleButton,
|
|
40669
|
+
{
|
|
40670
|
+
value: devtools.theme,
|
|
40671
|
+
onUpdate: devtools.handleThemeChange,
|
|
40672
|
+
options: [
|
|
40673
|
+
{ value: "light", icon: Sun },
|
|
40674
|
+
{ value: "auto", icon: Display },
|
|
40675
|
+
{ value: "dark", icon: Moon }
|
|
40676
|
+
]
|
|
40677
|
+
},
|
|
40678
|
+
void 0,
|
|
40679
|
+
false,
|
|
40680
|
+
{
|
|
40681
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40682
|
+
lineNumber: 41,
|
|
40683
|
+
columnNumber: 17
|
|
40684
|
+
},
|
|
40685
|
+
void 0
|
|
40686
|
+
)
|
|
40687
|
+
] }, void 0, true, {
|
|
40688
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40689
|
+
lineNumber: 39,
|
|
40690
|
+
columnNumber: 15
|
|
40691
|
+
}, void 0),
|
|
40692
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { className: css.settingRow, children: [
|
|
40693
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.settingLabel, children: [
|
|
40694
|
+
"Hide ",
|
|
40695
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("code", { children: "ViewModelBase" }, void 0, false, {
|
|
40696
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40697
|
+
lineNumber: 53,
|
|
40698
|
+
columnNumber: 24
|
|
40699
|
+
}, void 0),
|
|
40700
|
+
" fields"
|
|
40701
|
+
] }, void 0, true, {
|
|
40702
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40703
|
+
lineNumber: 52,
|
|
40704
|
+
columnNumber: 17
|
|
40705
|
+
}, void 0),
|
|
40706
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40707
|
+
"input",
|
|
40708
|
+
{
|
|
40709
|
+
type: "checkbox",
|
|
40710
|
+
className: css.settingCheckbox,
|
|
40711
|
+
checked: devtools.hideViewModelBaseMembers,
|
|
40712
|
+
onChange: (event) => {
|
|
40713
|
+
devtools.handleHideViewModelBaseMembersChange(
|
|
40714
|
+
event.target.checked
|
|
40715
|
+
);
|
|
40716
|
+
}
|
|
40717
|
+
},
|
|
40718
|
+
void 0,
|
|
40719
|
+
false,
|
|
40720
|
+
{
|
|
40721
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40722
|
+
lineNumber: 55,
|
|
40723
|
+
columnNumber: 17
|
|
40724
|
+
},
|
|
40725
|
+
void 0
|
|
40726
|
+
)
|
|
40727
|
+
] }, void 0, true, {
|
|
40728
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40729
|
+
lineNumber: 51,
|
|
40730
|
+
columnNumber: 15
|
|
40731
|
+
}, void 0)
|
|
40732
|
+
]
|
|
40733
|
+
},
|
|
40734
|
+
void 0,
|
|
40735
|
+
true,
|
|
40736
|
+
{
|
|
40737
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40738
|
+
lineNumber: 33,
|
|
40739
|
+
columnNumber: 13
|
|
40740
|
+
},
|
|
40741
|
+
void 0
|
|
40742
|
+
)
|
|
40743
|
+
] }, void 0, true, {
|
|
40744
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40745
|
+
lineNumber: 28,
|
|
40746
|
+
columnNumber: 11
|
|
40747
|
+
}, void 0)
|
|
40748
|
+
] }, void 0, true, {
|
|
40749
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/settings-button/index.tsx",
|
|
40750
|
+
lineNumber: 13,
|
|
40751
|
+
columnNumber: 7
|
|
40752
|
+
}, void 0);
|
|
40753
|
+
}
|
|
40754
|
+
);
|
|
40361
40755
|
const VmDevtoolsContent = withViewModel(
|
|
40362
40756
|
DevtoolsContentVM,
|
|
40363
40757
|
({
|
|
@@ -40371,45 +40765,52 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40371
40765
|
"div",
|
|
40372
40766
|
{
|
|
40373
40767
|
...props,
|
|
40374
|
-
className: cx(css$
|
|
40768
|
+
className: cx(css$3.vmContent, className),
|
|
40375
40769
|
ref: model.contentRef,
|
|
40376
40770
|
children: [
|
|
40377
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { className: css$
|
|
40771
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { className: css$3.vmContentHeader, children: [
|
|
40378
40772
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Notifications, {}, void 0, false, {
|
|
40379
40773
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40380
|
-
lineNumber:
|
|
40774
|
+
lineNumber: 39,
|
|
40381
40775
|
columnNumber: 11
|
|
40382
40776
|
}, void 0),
|
|
40383
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$
|
|
40777
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$3.gradientBlur }, void 0, false, {
|
|
40384
40778
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40385
|
-
lineNumber:
|
|
40779
|
+
lineNumber: 40,
|
|
40386
40780
|
columnNumber: 11
|
|
40387
40781
|
}, void 0),
|
|
40388
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$
|
|
40389
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("img", { className: css$
|
|
40782
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$3.vmContentHeaderTitle, "data-content-header": true, children: [
|
|
40783
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("img", { className: css$3.vmContentHeaderLogo, src: devtools.logoUrl }, void 0, false, {
|
|
40390
40784
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40391
|
-
lineNumber:
|
|
40785
|
+
lineNumber: 42,
|
|
40392
40786
|
columnNumber: 13
|
|
40393
40787
|
}, void 0),
|
|
40394
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40788
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$3.vmContentHeaderTitleText, children: [
|
|
40789
|
+
"mobx-view-model devtools",
|
|
40790
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(SettingsButton, { devtools }, void 0, false, {
|
|
40791
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40792
|
+
lineNumber: 45,
|
|
40793
|
+
columnNumber: 15
|
|
40794
|
+
}, void 0)
|
|
40795
|
+
] }, void 0, true, {
|
|
40395
40796
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40396
|
-
lineNumber:
|
|
40797
|
+
lineNumber: 43,
|
|
40397
40798
|
columnNumber: 13
|
|
40398
40799
|
}, void 0),
|
|
40399
40800
|
headerContent
|
|
40400
40801
|
] }, void 0, true, {
|
|
40401
40802
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40402
|
-
lineNumber:
|
|
40803
|
+
lineNumber: 41,
|
|
40403
40804
|
columnNumber: 11
|
|
40404
40805
|
}, void 0),
|
|
40405
40806
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40406
40807
|
"div",
|
|
40407
40808
|
{
|
|
40408
|
-
className: cx(css$
|
|
40409
|
-
[css$
|
|
40809
|
+
className: cx(css$3.vmContentControlPanel, {
|
|
40810
|
+
[css$3.searchIsActive]: devtools.searchEngine.isActive
|
|
40410
40811
|
}),
|
|
40411
40812
|
children: [
|
|
40412
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$
|
|
40813
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$3.vmContentControlPanelActions, children: [
|
|
40413
40814
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40414
40815
|
IconToggleButton,
|
|
40415
40816
|
{
|
|
@@ -40430,7 +40831,7 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40430
40831
|
false,
|
|
40431
40832
|
{
|
|
40432
40833
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40433
|
-
lineNumber:
|
|
40834
|
+
lineNumber: 55,
|
|
40434
40835
|
columnNumber: 15
|
|
40435
40836
|
},
|
|
40436
40837
|
void 0
|
|
@@ -40459,43 +40860,43 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40459
40860
|
false,
|
|
40460
40861
|
{
|
|
40461
40862
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40462
|
-
lineNumber:
|
|
40863
|
+
lineNumber: 69,
|
|
40463
40864
|
columnNumber: 15
|
|
40464
40865
|
},
|
|
40465
40866
|
void 0
|
|
40466
40867
|
)
|
|
40467
40868
|
] }, void 0, true, {
|
|
40468
40869
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40469
|
-
lineNumber:
|
|
40870
|
+
lineNumber: 54,
|
|
40470
40871
|
columnNumber: 13
|
|
40471
40872
|
}, void 0),
|
|
40472
40873
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40473
40874
|
"div",
|
|
40474
40875
|
{
|
|
40475
40876
|
className: cx(
|
|
40476
|
-
css$
|
|
40477
|
-
devtools.searchEngine.isActive && css$
|
|
40877
|
+
css$3.vmContentInput,
|
|
40878
|
+
devtools.searchEngine.isActive && css$3.filled
|
|
40478
40879
|
),
|
|
40479
40880
|
children: [
|
|
40480
40881
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Magnifier, {}, void 0, false, {
|
|
40481
40882
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40482
|
-
lineNumber:
|
|
40883
|
+
lineNumber: 94,
|
|
40483
40884
|
columnNumber: 15
|
|
40484
40885
|
}, void 0),
|
|
40485
|
-
devtools.searchEngine.suggestionSuffix && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$
|
|
40486
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40886
|
+
devtools.searchEngine.suggestionSuffix && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$3.inputGhost, "aria-hidden": "true", children: [
|
|
40887
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$3.inputGhostTyped, children: devtools.searchEngine.searchText }, void 0, false, {
|
|
40487
40888
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40488
|
-
lineNumber:
|
|
40889
|
+
lineNumber: 97,
|
|
40489
40890
|
columnNumber: 19
|
|
40490
40891
|
}, void 0),
|
|
40491
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40892
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$3.inputGhostSuggestion, children: devtools.searchEngine.suggestionSuffix }, void 0, false, {
|
|
40492
40893
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40493
|
-
lineNumber:
|
|
40894
|
+
lineNumber: 100,
|
|
40494
40895
|
columnNumber: 19
|
|
40495
40896
|
}, void 0)
|
|
40496
40897
|
] }, void 0, true, {
|
|
40497
40898
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40498
|
-
lineNumber:
|
|
40899
|
+
lineNumber: 96,
|
|
40499
40900
|
columnNumber: 17
|
|
40500
40901
|
}, void 0),
|
|
40501
40902
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
@@ -40509,24 +40910,24 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40509
40910
|
onFocus: devtools.searchEngine.handleSearchInputFocus,
|
|
40510
40911
|
onBlur: devtools.searchEngine.handleSearchInputBlur,
|
|
40511
40912
|
placeholder: devtools.searchEngine.suggestionSuffix ? "" : "search by property path or ViewModel name",
|
|
40512
|
-
className: devtools.searchEngine.suggestionSuffix ? css$
|
|
40913
|
+
className: devtools.searchEngine.suggestionSuffix ? css$3.inputWithSuggestion : void 0
|
|
40513
40914
|
},
|
|
40514
40915
|
void 0,
|
|
40515
40916
|
false,
|
|
40516
40917
|
{
|
|
40517
40918
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40518
|
-
lineNumber:
|
|
40919
|
+
lineNumber: 105,
|
|
40519
40920
|
columnNumber: 15
|
|
40520
40921
|
},
|
|
40521
40922
|
void 0
|
|
40522
40923
|
),
|
|
40523
40924
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("button", { onClick: devtools.searchEngine.resetSearch, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Xmark, {}, void 0, false, {
|
|
40524
40925
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40525
|
-
lineNumber:
|
|
40926
|
+
lineNumber: 125,
|
|
40526
40927
|
columnNumber: 17
|
|
40527
40928
|
}, void 0) }, void 0, false, {
|
|
40528
40929
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40529
|
-
lineNumber:
|
|
40930
|
+
lineNumber: 124,
|
|
40530
40931
|
columnNumber: 15
|
|
40531
40932
|
}, void 0)
|
|
40532
40933
|
]
|
|
@@ -40535,18 +40936,18 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40535
40936
|
true,
|
|
40536
40937
|
{
|
|
40537
40938
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40538
|
-
lineNumber:
|
|
40939
|
+
lineNumber: 88,
|
|
40539
40940
|
columnNumber: 13
|
|
40540
40941
|
},
|
|
40541
40942
|
void 0
|
|
40542
40943
|
),
|
|
40543
|
-
devtools.searchEngine.shouldShowSuggestions && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$
|
|
40544
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40944
|
+
devtools.searchEngine.shouldShowSuggestions && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$3.inputSuggestions, "aria-hidden": "true", children: [
|
|
40945
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$3.inputGhostTyped, children: devtools.searchEngine.searchText }, void 0, false, {
|
|
40545
40946
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40546
|
-
lineNumber:
|
|
40947
|
+
lineNumber: 130,
|
|
40547
40948
|
columnNumber: 17
|
|
40548
40949
|
}, void 0),
|
|
40549
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$
|
|
40950
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$3.inputSuggestionsList, children: devtools.searchEngine.suggestionItems.map(
|
|
40550
40951
|
(suggestion, index) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40551
40952
|
"div",
|
|
40552
40953
|
{
|
|
@@ -40561,28 +40962,28 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40561
40962
|
);
|
|
40562
40963
|
},
|
|
40563
40964
|
className: cx(
|
|
40564
|
-
css$
|
|
40565
|
-
index === devtools.searchEngine.selectedSuggestionIndex && css$
|
|
40965
|
+
css$3.inputSuggestionItem,
|
|
40966
|
+
index === devtools.searchEngine.selectedSuggestionIndex && css$3.selected
|
|
40566
40967
|
),
|
|
40567
40968
|
children: [
|
|
40568
40969
|
!devtools.searchEngine.isNestedSearch && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40569
40970
|
"span",
|
|
40570
40971
|
{
|
|
40571
|
-
className: `${css$
|
|
40972
|
+
className: `${css$3.inputSuggestionOwner} ${css$3[suggestion.owner.type]}`,
|
|
40572
40973
|
children: suggestion.owner.name
|
|
40573
40974
|
},
|
|
40574
40975
|
void 0,
|
|
40575
40976
|
false,
|
|
40576
40977
|
{
|
|
40577
40978
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40578
|
-
lineNumber:
|
|
40979
|
+
lineNumber: 156,
|
|
40579
40980
|
columnNumber: 27
|
|
40580
40981
|
},
|
|
40581
40982
|
void 0
|
|
40582
40983
|
),
|
|
40583
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$
|
|
40984
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$3.inputSuggestionValue, children: suggestion.value }, void 0, false, {
|
|
40584
40985
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40585
|
-
lineNumber:
|
|
40986
|
+
lineNumber: 162,
|
|
40586
40987
|
columnNumber: 25
|
|
40587
40988
|
}, void 0)
|
|
40588
40989
|
]
|
|
@@ -40591,19 +40992,19 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40591
40992
|
true,
|
|
40592
40993
|
{
|
|
40593
40994
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40594
|
-
lineNumber:
|
|
40995
|
+
lineNumber: 136,
|
|
40595
40996
|
columnNumber: 23
|
|
40596
40997
|
},
|
|
40597
40998
|
void 0
|
|
40598
40999
|
)
|
|
40599
41000
|
) }, void 0, false, {
|
|
40600
41001
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40601
|
-
lineNumber:
|
|
41002
|
+
lineNumber: 133,
|
|
40602
41003
|
columnNumber: 17
|
|
40603
41004
|
}, void 0)
|
|
40604
41005
|
] }, void 0, true, {
|
|
40605
41006
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40606
|
-
lineNumber:
|
|
41007
|
+
lineNumber: 129,
|
|
40607
41008
|
columnNumber: 15
|
|
40608
41009
|
}, void 0)
|
|
40609
41010
|
]
|
|
@@ -40612,24 +41013,24 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40612
41013
|
true,
|
|
40613
41014
|
{
|
|
40614
41015
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40615
|
-
lineNumber:
|
|
41016
|
+
lineNumber: 49,
|
|
40616
41017
|
columnNumber: 11
|
|
40617
41018
|
},
|
|
40618
41019
|
void 0
|
|
40619
41020
|
)
|
|
40620
41021
|
] }, void 0, true, {
|
|
40621
41022
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40622
|
-
lineNumber:
|
|
41023
|
+
lineNumber: 38,
|
|
40623
41024
|
columnNumber: 9
|
|
40624
41025
|
}, void 0),
|
|
40625
41026
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40626
41027
|
"div",
|
|
40627
41028
|
{
|
|
40628
|
-
className: css$
|
|
41029
|
+
className: css$3.vmContentVirtualScroll,
|
|
40629
41030
|
style: { height: model.virtualHeight },
|
|
40630
|
-
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$
|
|
41031
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$3.vmContentVirtualizedContent, children: model.itemNodes }, void 0, false, {
|
|
40631
41032
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40632
|
-
lineNumber:
|
|
41033
|
+
lineNumber: 177,
|
|
40633
41034
|
columnNumber: 11
|
|
40634
41035
|
}, void 0)
|
|
40635
41036
|
},
|
|
@@ -40637,7 +41038,7 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40637
41038
|
false,
|
|
40638
41039
|
{
|
|
40639
41040
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40640
|
-
lineNumber:
|
|
41041
|
+
lineNumber: 173,
|
|
40641
41042
|
columnNumber: 9
|
|
40642
41043
|
},
|
|
40643
41044
|
void 0
|
|
@@ -40648,7 +41049,7 @@ const VmDevtoolsContent = withViewModel(
|
|
|
40648
41049
|
true,
|
|
40649
41050
|
{
|
|
40650
41051
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
40651
|
-
lineNumber:
|
|
41052
|
+
lineNumber: 33,
|
|
40652
41053
|
columnNumber: 7
|
|
40653
41054
|
},
|
|
40654
41055
|
void 0
|
|
@@ -40659,7 +41060,7 @@ const VmDevtoolsPopup = withViewModel(VmDevtoolsPopupVM, ({ model }) => {
|
|
|
40659
41060
|
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40660
41061
|
VmDevtoolsContent,
|
|
40661
41062
|
{
|
|
40662
|
-
className: css$
|
|
41063
|
+
className: css$7.vmPopup,
|
|
40663
41064
|
"data-position": model.devtools.position,
|
|
40664
41065
|
payload: {
|
|
40665
41066
|
devtools: model.devtools,
|
|
@@ -40668,7 +41069,7 @@ const VmDevtoolsPopup = withViewModel(VmDevtoolsPopupVM, ({ model }) => {
|
|
|
40668
41069
|
headerContent: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
40669
41070
|
"button",
|
|
40670
41071
|
{
|
|
40671
|
-
className: css$
|
|
41072
|
+
className: css$7.closePopupButton,
|
|
40672
41073
|
onClick: model.devtools.hidePopup,
|
|
40673
41074
|
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Xmark, {}, void 0, false, {
|
|
40674
41075
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",
|
|
@@ -41633,6 +42034,8 @@ class ViewModelDevtools {
|
|
|
41633
42034
|
projectVmStore: observable.ref,
|
|
41634
42035
|
presentationMode: observable.ref,
|
|
41635
42036
|
sortPropertiesBy: observable.ref,
|
|
42037
|
+
theme: computed,
|
|
42038
|
+
hideViewModelBaseMembers: computed,
|
|
41636
42039
|
extras: observable.ref,
|
|
41637
42040
|
setStore: action.bound,
|
|
41638
42041
|
setExtras: action.bound,
|
|
@@ -41640,10 +42043,13 @@ class ViewModelDevtools {
|
|
|
41640
42043
|
hidePopup: action.bound,
|
|
41641
42044
|
handleChangePresentationMode: action.bound,
|
|
41642
42045
|
handleSortPropertiesChange: action.bound,
|
|
42046
|
+
handleThemeChange: action.bound,
|
|
42047
|
+
handleHideViewModelBaseMembersChange: action.bound,
|
|
41643
42048
|
handleExpandVmPropertyClick: action.bound,
|
|
41644
42049
|
expandAllVMs: action.bound,
|
|
41645
42050
|
collapseAllVms: action.bound,
|
|
41646
42051
|
isActive: computed,
|
|
42052
|
+
resolvedTheme: computed,
|
|
41647
42053
|
listItems: computed.struct,
|
|
41648
42054
|
rootVmListItems: computed.struct,
|
|
41649
42055
|
extraListItems: computed.struct
|
|
@@ -41746,6 +42152,34 @@ class ViewModelDevtools {
|
|
|
41746
42152
|
handleSortPropertiesChange = (sortBy) => {
|
|
41747
42153
|
this.sortPropertiesBy = sortBy;
|
|
41748
42154
|
};
|
|
42155
|
+
get theme() {
|
|
42156
|
+
return devtoolsThemeKey.value;
|
|
42157
|
+
}
|
|
42158
|
+
get hideViewModelBaseMembers() {
|
|
42159
|
+
return devtoolsHideViewModelBaseKey.value;
|
|
42160
|
+
}
|
|
42161
|
+
handleThemeChange = (theme) => {
|
|
42162
|
+
devtoolsThemeKey.value = theme === "light" || theme === "dark" ? theme : "auto";
|
|
42163
|
+
this.applyThemeToContainer();
|
|
42164
|
+
};
|
|
42165
|
+
handleHideViewModelBaseMembersChange = (hide) => {
|
|
42166
|
+
devtoolsHideViewModelBaseKey.value = hide;
|
|
42167
|
+
};
|
|
42168
|
+
get resolvedTheme() {
|
|
42169
|
+
if (this.theme === "light") {
|
|
42170
|
+
return "light";
|
|
42171
|
+
}
|
|
42172
|
+
if (this.theme === "dark") {
|
|
42173
|
+
return "dark";
|
|
42174
|
+
}
|
|
42175
|
+
return colorScheme.isLight ? "light" : "dark";
|
|
42176
|
+
}
|
|
42177
|
+
applyThemeToContainer() {
|
|
42178
|
+
const container = document.getElementById(this.containerId);
|
|
42179
|
+
if (container) {
|
|
42180
|
+
container.dataset.vmdTheme = this.resolvedTheme;
|
|
42181
|
+
}
|
|
42182
|
+
}
|
|
41749
42183
|
expandAllVMs() {
|
|
41750
42184
|
}
|
|
41751
42185
|
collapseAllVms() {
|
|
@@ -41768,6 +42202,16 @@ class ViewModelDevtools {
|
|
|
41768
42202
|
this.storage.syncProperty(this, "sortPropertiesBy");
|
|
41769
42203
|
this.storage.syncProperty(this, "presentationMode");
|
|
41770
42204
|
this.storage.syncProperty(this, "position");
|
|
42205
|
+
this.applyThemeToContainer();
|
|
42206
|
+
reaction(() => devtoolsThemeKey.value, () => this.applyThemeToContainer());
|
|
42207
|
+
reaction(
|
|
42208
|
+
() => colorScheme.scheme,
|
|
42209
|
+
() => {
|
|
42210
|
+
if (this.theme === "auto") {
|
|
42211
|
+
this.applyThemeToContainer();
|
|
42212
|
+
}
|
|
42213
|
+
}
|
|
42214
|
+
);
|
|
41771
42215
|
}
|
|
41772
42216
|
isInitialized = false;
|
|
41773
42217
|
render() {
|
|
@@ -41776,8 +42220,9 @@ class ViewModelDevtools {
|
|
|
41776
42220
|
);
|
|
41777
42221
|
if (!container) {
|
|
41778
42222
|
container = document.createElement("div");
|
|
41779
|
-
container.className = css$
|
|
42223
|
+
container.className = css$4.root;
|
|
41780
42224
|
container.id = this.containerId;
|
|
42225
|
+
container.dataset.vmdTheme = this.resolvedTheme;
|
|
41781
42226
|
if (document.body) {
|
|
41782
42227
|
document.body.appendChild(container);
|
|
41783
42228
|
const root2 = clientExports.createRoot(container);
|