"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("zustand");exports.createViewStore=function(n){return e.createStore()((function(e){var d,i,l,t;return{isFilterExpanded:null===(d=n.isFilterExpanded)||void 0===d||d,isMapHidden:null!==(i=n.isMapHidden)&&void 0!==i&&i,isWellNameExpand:null!==(l=n.isWellNameExpand)&&void 0!==l&&l,isHScrollMoved:!1,isVScrollMoved:!1,isAdvancedSearchHidden:!1,mapStyle:null!==(t=n.mapStyle)&&void 0!==t?t:"dark",toggleFilterExpanded:function(){e((function(e){return{isFilterExpanded:!e.isFilterExpanded}}))},toggleMapHidden:function(){e((function(e){return{isMapHidden:!e.isMapHidden}}))},toggleWellNameExpand:function(){e((function(e){return{isWellNameExpand:!e.isWellNameExpand}}))},setIsHScrollMoved:function(n){e({isHScrollMoved:n})},setIsVScrollMoved:function(n){e({isVScrollMoved:n})},setIsAdvancedSearchHidden:function(n){e({isAdvancedSearchHidden:n})},setMapStyle:function(n){e({mapStyle:n})}}}))};
//# sourceMappingURL=createViewStore.js.map
