"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("zustand"),t={phase:"idle"},a={phase:"idle"};exports.createSelectionToolStore=function(){return e.createStore()((function(e,s){return{mode:"none",radiusState:t,lassoState:a,setMode:function(o){s().mode!==o&&e({mode:o,radiusState:"radius"===o?{phase:"placing-center"}:t,lassoState:"lasso"===o?{phase:"drawing",pointCount:0}:a})},setRadiusState:function(t){e({radiusState:t})},setLassoState:function(t){e({lassoState:t})},reset:function(){e({mode:"none",radiusState:t,lassoState:a})}}}))};
//# sourceMappingURL=createSelectionToolStore.js.map
