"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("lodash");require("zustand"),require("../stores/picker-props-store/PickerPropsStoreContext.js"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/objectWithoutProperties"),require("react/jsx-runtime"),require("../viewport/ViewportProvider.js"),require("../viewport/ViewportContext.js");var t=require("../stores/picker-props-store/usePickerPropsStore.js"),i=require("../utils/doesWellPassFilters.js");exports.useFilteredWells=function(s,o,u){var n=t.usePickerPropsStore((function(e){return e.segment}));return e.useMemo((function(){return s&&o?r.uniqBy(s.filter((function(e){return i.doesWellPassVisibilityAndFilters(e,o,u,{segment:n})})),"id"):null}),[s,o,u,n])};
//# sourceMappingURL=useFilteredWells.js.map
