"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("lodash/isEqual");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(e),n=r(t);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}exports.createSelectionActions=function(e){var t=e.get,r=e.setWithMutation;return{setSelectionMode:function(e){var o=t().filters;o.selectionMode!==e&&r({filters:i(i({},o),{},{selectionMode:e})},"system")},setPolygonCoords:function(e){var o=t().filters;n.default(o.polygonCoords,e)||r({filters:i(i({},o),{},{polygonCoords:e})},"system")},setRadius:function(e){var o=t().filters;o.radius!==e&&r({filters:i(i({},o),{},{radius:e})},"system")}}};
//# sourceMappingURL=createSelectionActions.js.map
